Simple Question (Direct)
Simple Question
Q210803
P937
Q56061
USER
Which administrative territory is the work location of Oluf Steen Julius Berner ?
(Q210803,P937,c(Q56061))
action filter_type
action find
entity Q210803
relation P937
type Q56061
['Q210803', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q210803 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Oluf Steen Julius Berner
action filter_type
action find
entity Oluf Steen Julius Berner
relation work location
type administrative territorial entity
['Oluf Steen Julius Berner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Oluf_Steen_Julius_Berner property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q210803,P937,c(Q56061))
action filter_type
action find
entity Q210803
relation P937
type Q56061
[ANSWER] is the work location of Oluf Steen Julius Berner
['Q210803', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q210803 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Oslo
Oslo is the work location of Oluf Steen Julius Berner
Oslo
action filter_type
action find
entity Oluf Steen Julius Berner
relation work location
type administrative territorial entity
['Oluf Steen Julius Berner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Oluf_Steen_Julius_Berner property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q210803
P39
Q12737077
USER
Which occupation was a position held by Oluf Steen Julius Berner ?
(Q210803,P39,c(Q12737077))
action filter_type
action find
entity Q210803
relation P39
type Q12737077
['Q210803', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q210803 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Oluf Steen Julius Berner
action filter_type
action find
entity Oluf Steen Julius Berner
relation position held
type occupation
['Oluf Steen Julius Berner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Oluf_Steen_Julius_Berner property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q9045502
SYSTEM
member of the Parliament of Norway
Q9045502
(Q210803,P39,c(Q12737077))
action filter_type
action find
entity Q210803
relation P39
type Q12737077
The [ANSWER] was a position held by Oluf Steen Julius Berner
['Q210803', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q210803 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of the Parliament of Norway
The member of the Parliament of Norway was a position held by Oluf Steen Julius Berner
member of the Parliament of Norway
action filter_type
action find
entity Oluf Steen Julius Berner
relation position held
type occupation
['Oluf Steen Julius Berner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Oluf_Steen_Julius_Berner property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5983016
Q12737077
USER
And what about Luis Carlos Avellaneda?
(Q5983016,P39,c(Q12737077))
action filter_type
action find
entity Q5983016
relation P39
type Q12737077
['Q5983016', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5983016 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Luis Carlos Avellaneda
action filter_type
action find
entity Luis Carlos Avellaneda
relation position held
type occupation
['Luis Carlos Avellaneda', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Luis_Carlos_Avellaneda property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q19254253
SYSTEM
member of the Senate of Colombia
Q19254253
(Q5983016,P39,c(Q12737077))
action filter_type
action find
entity Q5983016
relation P39
type Q12737077
[ANSWER]
['Q5983016', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5983016 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
member of the Senate of Colombia
member of the Senate of Colombia
action filter_type
action find
entity Luis Carlos Avellaneda
relation position held
type occupation
['Luis Carlos Avellaneda', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Luis_Carlos_Avellaneda property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19254253
P1001
Q15617994
USER
Which administrative territory is linked to that occupation ?
(Q19254253,P1001,c(Q15617994))
action filter_type
action find
entity Q19254253
relation P1001
type Q15617994
['Q19254253', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q19254253 property:P1001 ?g . ?g rdf:type ontology:Q15617994 }
member of the Senate of Colombia
action filter_type
action find
entity member of the Senate of Colombia
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of Colombia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:member_of_the_Senate_of_Colombia property:applies_to_jurisdiction ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739
SYSTEM
Colombia
Q739
(Q19254253,P1001,c(Q15617994))
action filter_type
action find
entity Q19254253
relation P1001
type Q15617994
[ANSWER] is linked to that occupation
['Q19254253', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q19254253 property:P1001 ?g . ?g rdf:type ontology:Q15617994 }
Colombia
Colombia is linked to that occupation
Colombia
action filter_type
action find
entity member of the Senate of Colombia
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of Colombia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:member_of_the_Senate_of_Colombia property:applies_to_jurisdiction ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1033
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with approximately the same number of administrative territories as Nigeria ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1033
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q1033 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?l ) WHERE { ?s property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } }
Nigeria
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Nigeria property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?l ) WHERE { ?s property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1033
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with approximately the same number of administrative territories as Nigeria
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q1033 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?l ) WHERE { ?s property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have ambassadorial relations with approximately the same number of administrative territories as Nigeria
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Nigeria property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?l ) WHERE { ?s property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2843330 Q36
P530 P27
Q1048835
USER
Which political territories have a diplomatic relationship with Poland or are the countries of citizenship of Lauritz Holm-Nielsen ?
OR((Q36,P530,c(Q1048835)), (Q2843330,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q2843330
relation P27
type Q1048835
{'OR': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q2843330', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . { { resource:Q36 property:P530 ?n } UNION { resource:Q2843330 property:P27 ?n } } }
Lauritz Holm-Nielsen Poland
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity Lauritz Holm-Nielsen
relation country of citizenship
type political territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Lauritz Holm-Nielsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . { { resource:Poland property:diplomatic_relation ?n } UNION { resource:Lauritz_Holm-Nielsen property:country_of_citizenship ?n } } }
[]
political territorial entity
Q408 Q16 Q183 Q35
SYSTEM
Australia, Canada, Germany, Denmark
Q408 Q16 Q183 Q35
OR((Q36,P530,c(Q1048835)), (Q2843330,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q2843330
relation P27
type Q1048835
[ANSWERS] have a diplomatic relationship with Poland or are the countries of citizenship of Lauritz Holm-Nielsen
{'OR': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q2843330', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . { { resource:Q36 property:P530 ?n } UNION { resource:Q2843330 property:P27 ?n } } }
Australia Canada Germany Denmark
Australia, Canada, Germany and Denmark have a diplomatic relationship with Poland or are the countries of citizenship of Lauritz Holm-Nielsen
Australia Canada Germany Denmark
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity Lauritz Holm-Nielsen
relation country of citizenship
type political territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Lauritz Holm-Nielsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . { { resource:Poland property:diplomatic_relation ?n } UNION { resource:Lauritz_Holm-Nielsen property:country_of_citizenship ?n } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q16 Q183 Q35
P1376
Q56061
USER
Which administrative territories are center of administration for those political territories ?
(c(Q56061),P1376,Q408) (c(Q56061),P1376,Q16) (c(Q56061),P1376,Q183) (c(Q56061),P1376,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q408'] [{'concept': 'Q56061'}, 'P1376', 'Q16'] [{'concept': 'Q56061'}, 'P1376', 'Q183'] [{'concept': 'Q56061'}, 'P1376', 'Q35']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . ?e property:P1376 ?d . VALUES ( ?d ) { ( resource:Q408 ) ( resource:Q16 ) ( resource:Q183 ) } }
Australia Canada Germany Denmark
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Australia'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Canada'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Germany'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Denmark']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . ?e property:capital_of ?d . VALUES ( ?d ) { ( resource:Australia ) ( resource:Canada ) ( resource:Germany ) } }
[]
administrative territorial entity
Q64 Q586 Q1930
SYSTEM
Berlin, Bonn, Ottawa
Q3114 Q1930 Q586 Q64 Q1748
(c(Q56061),P1376,Q408) (c(Q56061),P1376,Q16) (c(Q56061),P1376,Q183) (c(Q56061),P1376,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[ANSWERS] are center of administration for those political territories
[{'concept': 'Q56061'}, 'P1376', 'Q408'] [{'concept': 'Q56061'}, 'P1376', 'Q16'] [{'concept': 'Q56061'}, 'P1376', 'Q183'] [{'concept': 'Q56061'}, 'P1376', 'Q35']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . ?e property:P1376 ?d . VALUES ( ?d ) { ( resource:Q408 ) ( resource:Q16 ) ( resource:Q183 ) } }
Canberra Ottawa Bonn Berlin Copenhagen
Berlin, Bonn and Ottawa are center of administration for those political territories
Berlin Bonn Ottawa
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Australia'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Canada'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Germany'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Denmark']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . ?e property:capital_of ?d . VALUES ( ?d ) { ( resource:Australia ) ( resource:Canada ) ( resource:Germany ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q64 Q586 Q1930
P159
Q43229
USER
Which organizations have headquarters located at Berlin, Bonn and Ottawa ?
(c(Q43229),P159,Q64) (c(Q43229),P159,Q586) (c(Q43229),P159,Q1930)
action union
action filter_type
action find_reverse
entity Q64
relation P159
type Q43229
action filter_type
action find_reverse
entity Q586
relation P159
type Q43229
action filter_type
action find_reverse
entity Q1930
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q64'] [{'concept': 'Q43229'}, 'P159', 'Q586'] [{'concept': 'Q43229'}, 'P159', 'Q1930']
SELECT DISTINCT ?z WHERE { { ?z property:P159 resource:Q64 . ?z rdf:type ontology:Q43229 } UNION { ?z property:P159 resource:Q586 . ?z rdf:type ontology:Q43229 } }
Berlin Bonn Ottawa
action union
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type organization
action filter_type
action find_reverse
entity Bonn
relation headquarters location
type organization
action filter_type
action find_reverse
entity Ottawa
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Berlin'] [{'concept': 'organization'}, 'headquarters location', 'Bonn'] [{'concept': 'organization'}, 'headquarters location', 'Ottawa']
SELECT DISTINCT ?z WHERE { { ?z property:headquarters_location resource:Berlin . ?z rdf:type ontology:organization } UNION { ?z property:headquarters_location resource:Bonn . ?z rdf:type ontology:organization } }
[]
organization
Q81230 Q586581 Q338433
SYSTEM
Siemens, Confederation of German Trade Unions, Friedrich Naumann Foundation
Q19963849 Q473334 Q320038 Q22344435 Q7512866 Q23725828 Q697933 Q6711376 Q3816053 Q1376877 Q318732 Q19842298 Q7071646 Q266566 Q23014836 Q652491 Q314880 Q3005576 Q16839994 Q697199 Q23042747 Q797086 Q7784435 Q17012361 Q16851459 Q1419530 Q18636317 Q19697831 Q2117619 Q1496677 Q879469 Q641314 Q118686 Q529531 Q446499 Q315774 Q1024525 Q14930424 Q315859 Q21995443 Q1487131 Q652569 Q697519 Q2449758 Q1884751 Q300164 Q316922 Q1662680 Q18018525 Q14601951 Q1595419 Q2383864 Q759253 Q314788 Q546769 Q38791 Q2054208 Q466871 Q13715273 Q14601985 Q81230 Q320662 Q2575704 Q442850 Q806654 Q3180259 Q695251 Q897024 Q2348891 Q8023546 Q1389575 Q5469939 Q612459 Q19862330 Q873059 Q19901948 Q5476817 Q4892402 Q1881223 Q7581830 Q1977495 Q823171 Q23384493 Q15836823 Q1205728 Q264351 Q5385625 Q18286370 Q882160 Q473704 Q6823303 Q1940842 Q4035509 Q15840850 Q136570 Q911958 Q873794 Q2353933 Q513830 Q16827098 Q18019941 Q457297 Q3269655 Q852099 Q1328997 Q544408 Q2248698 Q474400 Q1326651 Q1559154 Q256290 Q1746179 Q302924 Q1718989 Q454793 Q196993 Q241331 Q27660240 Q2539154 Q586581 Q174240 Q17042753 Q316782 Q1380879 Q5193701 Q699439 Q439859 Q1541978 Q316015 Q882798 Q24068412 Q265330 Q322379 Q22081486 Q1351741 Q20054452 Q17086932 Q469143 Q82229 Q2238716 Q629536 Q1775008 Q516134 Q1435106 Q459819 Q22671586 Q317601 Q378767 Q1371060 Q21984033 Q795372 Q1684019 Q700563 Q325635 Q896587 Q315451 Q319924 Q650626 Q18562040 Q1649778 Q1653101 Q413958 Q278961 Q17404367 Q164228 Q646402 Q1710262 Q19903840 Q5205908 Q1092984 Q18620795 Q317215 Q1202325 Q571943 Q5326911 Q1347002 Q13824461 Q544229 Q795947 Q821856 Q1484308 Q2401300 Q17087080 Q1514244 Q2308459 Q16974189 Q190654 Q3935683 Q660381 Q5984988 Q545590 Q658270 Q6947556 Q1531730 Q563556 Q315369 Q338433 Q278496 Q5266289 Q2088529 Q2043781 Q708835 Q474230 Q152186 Q21995447 Q489815 Q506252 Q935929 Q442345 Q514108 Q317269 Q327634 Q2401704 Q1325684 Q163307 Q880962 Q570372 Q555122 Q317106 Q5205027 Q1008826 Q986530 Q1427264 Q5426562 Q325096 Q795364 Q883529 Q1617690 Q323329 Q658270 Q3406150 Q5251204 Q17055960 Q2401935 Q17069178 Q4966509 Q6805403 Q15109932 Q7077707 Q4883081 Q6802355 Q6421108 Q155465 Q1670373 Q7200190 Q7819151 Q16967032 Q7339875 Q7246011 Q3394051 Q16960669 Q4966862 Q18538349 Q17009836 Q8564301 Q4918685 Q19879626 Q23894289 Q8058772 Q4698482 Q4053546 Q7679612 Q6060765 Q17152532 Q7537210 Q3575601 Q15995519 Q5029868 Q178959 Q5435469 Q1107048 Q1032416 Q835702 Q15629474 Q19572438 Q3045938 Q21097901 Q17042519 Q7249929 Q2993677 Q3154068 Q6418832 Q5508747 Q23979553 Q6944765 Q8026631 Q7852904 Q5019808 Q7699154 Q17070381 Q2869363 Q7144956 Q6895732 Q5507127 Q7053842 Q7204598 Q5030527 Q461761 Q6869661 Q19903580 Q17050668 Q4038152 Q18636293 Q5558429 Q17108325 Q4736322 Q7189934 Q7080056 Q6716414 Q5119569 Q60162 Q3064555 Q5529025 Q1032001
(c(Q43229),P159,Q64) (c(Q43229),P159,Q586) (c(Q43229),P159,Q1930)
action union
action filter_type
action find_reverse
entity Q64
relation P159
type Q43229
action filter_type
action find_reverse
entity Q586
relation P159
type Q43229
action filter_type
action find_reverse
entity Q1930
relation P159
type Q43229
[ANSWERS] have headquarters located at Berlin, Bonn and Ottawa
[{'concept': 'Q43229'}, 'P159', 'Q64'] [{'concept': 'Q43229'}, 'P159', 'Q586'] [{'concept': 'Q43229'}, 'P159', 'Q1930']
SELECT DISTINCT ?z WHERE { { ?z property:P159 resource:Q64 . ?z rdf:type ontology:Q43229 } UNION { ?z property:P159 resource:Q586 . ?z rdf:type ontology:Q43229 } }
Studentendorf Schlachtensee eG Reichs-Rundfunk-Gesellschaft Deutsche Ausrüstungswerke Deutschland Lebensversicherungs-Gesellschaft Signavio  RhodeCode GmbH Mittelwerk Löwe Automobil Swabr Kurt Becker KG Berthold Type Foundry Spotcap O&O Software Artnet HelloFresh Orenstein & Koppel Directmedia Publishing Crumpler GetYourGuide RapidEye EliteSingles BUNDjugend Think-cell Mediapeers Johnny Judge Gallery KPMG Deutschland John Thompson Productions Magix Software GmbH Puhl & Wagner Gazprom Germania Luna Park Deutsche Werke Goerz Berliner Maschinenbau eDarling Graetz AG CT Arzneimittel Auctionata Herlitz Bundesverband Deutscher Ziegenzüchter GSW Immobilien Native Instruments C. Bechstein Pianofortefabrik Transradio Mahala Problem Cigarettes AVM GmbH Aufbau-Verlag Infratest dimap Auticon Geschichte der Kunstschmiede Berlin Heilmann & Littmann TD Trump Deutschland Auergesellschaft Staatsbank Borsig (Company) Hitler Youth Part-Time Scientists Siemens-Schuckert Atotech Fittkau Metallbau und Kunstschmiede Siemens Neue Automobil Gesellschaft Woellmer Type Foundry Alkett Bank of German Labor, Inc. Snom VARTA Transdev GmbH Berlin Palace–Humboldtforum Foundation Wimdu FontShop International Formac Elektronik GmbH Francotyp Postalia ESNA European Higher Education News IAV Blacklane Fox Mobile Entertainment Berlin Business Location Center MBB SE Späth nursery Neofonie GameDuell Delivery Hero Nieto sobejano arquitectos Deutsches Institut für Internationale Pädagogische Forschung Babbel Erento Berlinheart Schmidt Spiele Cazzo Film Metaversum GmbH Mix & Genest Burmester Audiosysteme GmbH Posteo Zalando SE C. Lorenz AG MetaDesign Strato AG N.V. Nuon Energy Berlin promotion agency elumeo SE Ambi Budd Hill & Knowlton Bewag Kühlstein Argus Motoren Scholz & Friends LVG EAW Primacom Knorr-Bremse Kleihues + Kleihues Magix Rheinmetall Automotive Wertheim Zeuke 50Hertz Transmission GmbH Beckers Group Waggon Union Confederation of German Trade Unions Transparency International Plinga Greenwheels J. F. Schwarzlose Söhne Cultuzz Rollei Heel Institute for European Politics Insel Verlag FontShop Foodora DAPD News Agency Ableton Bundesverband Druck und Medien Teufel Rudolph Lepke’s Kunst-Auctions-Haus Veganz German New Guinea Company Rocket Internet SE Schleicher Electronic Rohrbach Metall-Flugzeugbau Virtual Global University Royal Porcelain Factory Txtr Dehomag F. Wöhlert’sche Maschinenbau-Anstalt und Eisengiesserei Bundesstiftung zur Aufarbeitung der SED-Diktatur Adtranz Eternit AG Berlin-Charlottenburger Straßenbahn BAE Batterien TELES Deutsche Reichsbahn (GDR) Telefunken Disconto-Gesellschaft Verkehrsverbund Berlin-Brandenburg Jerini EBoy Georg Neumann Vattenfall IBM Deutschland Customer Support Services Akademie Verlag A. Molling & Comp. Lendico GEMA Israel's Department Store Media Consulta Zencap Dox Box Circus Renz Emil Berliner Studios Bundesdruckerei DEGES Ford Germany Earlybird Venture Capital Epigenomics AG NOXXON Pharma Solon SE BHW Berliner Wasserbetriebe G. Schaub Apparatebau Tele Columbus CloudControl GTAI Speedminton GmbH AccessHolding Zentralkonsum Bayer HealthCare Pharmaceuticals Fuck for Forest Ic! berlin Bayer Schering Pharma KfW Mykita Hengeler Mueller Schering AG Versatel Friedrich Naumann Foundation A.W. Andernach Deutsche Post Phoenix Reisen factoring Deutsche Postbank DHL Supply Chain Stadtwerke Bonn Working Group of German breeders DHL Express Vapiano SE Rhein-Sieg-Eisenbahn Simon-Kucher & Partners DHL Global Forwarding Institute for the Study of Labor T-Mobile International Telekom Deutschland SUPRENUM Center of Advanced European Studies and Research Verpoorten SolarWorld Klais Orgelbau IVG Immobilien DHL Freight Bundesverband Deutscher Liebhaberorchester FLO-Cert OroVerde – Die Tropenwaldstiftung FLO International World Wind Energy Association BAD Gesundheitsvorsorge und Sicherheitstechnik Deutsche Stiftung Denkmalschutz High-Tech Gründerfonds DHL Aviation KfW ProSlide Technology Defence Intelligence The SecDev Group Telesat Liquid Computing Bridgehead Coffee MediaMiser WiLAN Odessa Filmworks Bell-Northern Research McMillan Klipfolio Dashboard Neptec Design Group Lockheed Martin Canada PlaSmart Tommy & Lefebvre Canadian Pharmacists Association Roaring Penguin Software Privacy Analytics Polaris Institute Optelian Bridgewater Systems Consortia Advancing Standards in Research Administration Information Level Platforms Food Processing HR Council BitHeads Kongsberg Gallium Ltd. Canadian Society of Hospital Pharmacists Your Credit Union Aircel Comics Zarlink TalkSwitch Investment Canada Walker's Auctions SkyWave Mobile Communications Zip.ca Tablo Canadian Co-operative Association CANARIE Farm Boy Cognos Canadiana.org Corel Signority Kettleman's Bagel Co. EKOS Research Associates Doyle Salewski Inc Magmic Pronexus Canadian Council on Africa Iogen Corporation Kivuto Solutions Inc Funbag Animation Studios General Dynamics Mission Systems - Canada Mxi Technologies Wintranslation Tundra Semiconductor Calian Ten Broadcasting MyFax Atkinson Film-Arts PatientWay Mold Busters Fuel Industries North American Plant Protection Organization Pleora Canadian Resident Matching Service CBC Television Minto Group Pythian Group Lee Valley Tools Epiphan Systems Eurocom Corporation Giant Tiger Kichesippi Beer Co. Alterna Savings PiP Animation Services Ogilvy's MKC Networks Ciel Satellite Group Canadian Bank Note Company Fairtrade Canada Gazaro Canada Post
Siemens, Confederation of German Trade Unions and Friedrich Naumann Foundation have headquarters located at Berlin, Bonn and Ottawa
Siemens Confederation of German Trade Unions Friedrich Naumann Foundation
action union
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type organization
action filter_type
action find_reverse
entity Bonn
relation headquarters location
type organization
action filter_type
action find_reverse
entity Ottawa
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Berlin'] [{'concept': 'organization'}, 'headquarters location', 'Bonn'] [{'concept': 'organization'}, 'headquarters location', 'Ottawa']
SELECT DISTINCT ?z WHERE { { ?z property:headquarters_location resource:Berlin . ?z rdf:type ontology:organization } UNION { ?z property:headquarters_location resource:Bonn . ?z rdf:type ontology:organization } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q586581
P108
Q502895
USER
Which person works for that organization ?
(c(Q502895),P108,Q586581)
action filter_type
action find_reverse
entity Q586581
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q586581']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P108 resource:Q586581 }
Confederation of German Trade Unions
action filter_type
action find_reverse
entity Confederation of German Trade Unions
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Confederation of German Trade Unions']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:employer resource:Confederation_of_German_Trade_Unions }
[]
common name
Clarification for simple ques.
Q81230
SYSTEM
Did you mean Siemens ?
Q81230 Q586581 Q338433
(c(Q502895),P108,Q81230) (c(Q502895),P108,Q586581) (c(Q502895),P108,Q338433)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q81230'] [{'concept': 'Q502895'}, 'P108', 'Q586581'] [{'concept': 'Q502895'}, 'P108', 'Q338433']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P108 resource:Q586581 }
Siemens Confederation of German Trade Unions Friedrich Naumann Foundation
Did you mean Siemens ?
Siemens
[{'concept': 'common name'}, 'employer', 'Siemens'] [{'concept': 'common name'}, 'employer', 'Confederation of German Trade Unions'] [{'concept': 'common name'}, 'employer', 'Friedrich Naumann Foundation']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:employer resource:Confederation_of_German_Trade_Unions }
[]
Simple Question (Coreferenced)
USER
No, I meant Confederation of German Trade Unions. Could you tell me the answer for that?
(c(Q502895),P108,Q586581)
Q586581
[{'concept': 'Q502895'}, 'P108', 'Q586581']
[{'concept': 'common name'}, 'employer', 'Confederation of German Trade Unions']
[]
Q1604208
SYSTEM
Helmut Simson
Q1604208
(c(Q502895),P108,Q586581)
action filter_type
action find_reverse
entity Q586581
relation P108
type Q502895
[ANSWER] works for that organization
[{'concept': 'Q502895'}, 'P108', 'Q586581']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P108 resource:Q586581 }
Helmut Simson
Helmut Simson works for that organization
Helmut Simson
action filter_type
action find_reverse
entity Confederation of German Trade Unions
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Confederation of German Trade Unions']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:employer resource:Confederation_of_German_Trade_Unions }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
How many television programs had around 6 people as the dubbing artist ?
(c(Q15416),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 6
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?f ) WHERE { ?e property:P725 ?o . ?e rdf:type ontology:Q15416 . ?o rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?f = 6 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 6
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?f ) WHERE { ?e property:voice_actor ?o . ?e rdf:type ontology:television_program . ?o rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?f = 6 ) }
[]
common name television program
SYSTEM
25
Q689114 Q467722 Q2042834 Q15863567 Q951078 Q3596105 Q757148 Q543203 Q2275664 Q962132 Q18579178 Q20669175 Q1050091 Q18577675 Q1002254 Q550555 Q20899576 Q18558839 Q428130 Q18559016 Q18575654 Q3492143 Q1143800 Q15863577 Q331031
(c(Q15416),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 6
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?f ) WHERE { ?e property:P725 ?o . ?e rdf:type ontology:Q15416 . ?o rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?f = 6 ) }
Digimon Adventure The Puppy's Further Adventures The Proud Family Movie K-On! Hellsing Popeye the Sailor Rocko's Modern Life Chip 'n Dale Rescue Rangers Kim Possible: A Sitch in Time Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Dastardly and Muttley in Their Flying Machines Darker than Black Wacky Races Gravity Falls Shimmer and Shine Soul Eater Not! Sonic X Berserk Trigun Puss in Boots: The Three Diablos Postman Pat K-On!! Dora the Explorer
25
action count
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 6
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?f ) WHERE { ?e property:voice_actor ?o . ?e rdf:type ontology:television_program . ?o rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?f = 6 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81230
P137
Q728937
USER
Which railroad line can be described as service operator of Siemens ?
(c(Q728937),P137,Q81230)
action filter_type
action find_reverse
entity Q81230
relation P137
type Q728937
[{'concept': 'Q728937'}, 'P137', 'Q81230']
SELECT DISTINCT ?b WHERE { ?b property:P137 resource:Q81230 . ?b rdf:type ontology:Q728937 }
Siemens
action filter_type
action find_reverse
entity Siemens
relation operator
type railroad line
[{'concept': 'railroad line'}, 'operator', 'Siemens']
SELECT DISTINCT ?b WHERE { ?b property:operator resource:Siemens . ?b rdf:type ontology:railroad_line }
[]
railroad line
Q1023114
SYSTEM
CDGVAL
Q1023114
(c(Q728937),P137,Q81230)
action filter_type
action find_reverse
entity Q81230
relation P137
type Q728937
[ANSWER] can be described as service operator of Siemens
[{'concept': 'Q728937'}, 'P137', 'Q81230']
SELECT DISTINCT ?b WHERE { ?b property:P137 resource:Q81230 . ?b rdf:type ontology:Q728937 }
CDGVAL
CDGVAL can be described as service operator of Siemens
CDGVAL
action filter_type
action find_reverse
entity Siemens
relation operator
type railroad line
[{'concept': 'railroad line'}, 'operator', 'Siemens']
SELECT DISTINCT ?b WHERE { ?b property:operator resource:Siemens . ?b rdf:type ontology:railroad_line }
[]