Simple Question (Direct)
Simple Question
Q1356106
P39
Q12737077
USER
What was the position held by Erna Doris Anna Rieckmann ?
(Q1356106,P39,c(Q12737077))
action filter_type
action find
entity Q1356106
relation P39
type Q12737077
['Q1356106', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q1356106 property:P39 ?l }
Erna Doris Anna Rieckmann
action filter_type
action find
entity Erna Doris Anna Rieckmann
relation position held
type occupation
['Erna Doris Anna Rieckmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Erna_Doris_Anna_Rieckmann property:position_held ?l }
[]
occupation
Q19360355
SYSTEM
Member of the Hamburg Parliament
Q19360355
(Q1356106,P39,c(Q12737077))
action filter_type
action find
entity Q1356106
relation P39
type Q12737077
The position held by Erna Doris Anna Rieckmann was a [ANSWER]
['Q1356106', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q1356106 property:P39 ?l }
Member of the Hamburg Parliament
The position held by Erna Doris Anna Rieckmann was a Member of the Hamburg Parliament
Member of the Hamburg Parliament
action filter_type
action find
entity Erna Doris Anna Rieckmann
relation position held
type occupation
['Erna Doris Anna Rieckmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Erna_Doris_Anna_Rieckmann property:position_held ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1356106
P937
Q486972
USER
Which is the work location of Erna Doris Anna Rieckmann ?
(Q1356106,P937,c(Q486972))
action filter_type
action find
entity Q1356106
relation P937
type Q486972
['Q1356106', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q1356106 property:P937 ?q . ?q rdf:type ontology:Q486972 }
Erna Doris Anna Rieckmann
action filter_type
action find
entity Erna Doris Anna Rieckmann
relation work location
type human settlement
['Erna Doris Anna Rieckmann', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Erna_Doris_Anna_Rieckmann property:work_location ?q . ?q rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1356106,P937,c(Q486972))
action filter_type
action find
entity Q1356106
relation P937
type Q486972
[ANSWER] is the work location of Erna Doris Anna Rieckmann
['Q1356106', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q1356106 property:P937 ?q . ?q rdf:type ontology:Q486972 }
Hamburg
Hamburg is the work location of Erna Doris Anna Rieckmann
Hamburg
action filter_type
action find
entity Erna Doris Anna Rieckmann
relation work location
type human settlement
['Erna Doris Anna Rieckmann', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Erna_Doris_Anna_Rieckmann property:work_location ?q . ?q rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1055
P47
Q15617994
USER
Which administrative territories share border with that human settlement ?
(Q1055,P47,c(Q15617994))
action filter_type
action find
entity Q1055
relation P47
type Q15617994
['Q1055', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1055 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Hamburg
action filter_type
action find
entity Hamburg
relation shares border with
type designation for an administrative territorial entity
['Hamburg', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hamburg property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q508054 Q7084
SYSTEM
Neu Wulmstorf, Seevetal
Q508054 Q7084
(Q1055,P47,c(Q15617994))
action filter_type
action find
entity Q1055
relation P47
type Q15617994
[ANSWERS] share border with that human settlement
['Q1055', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1055 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Neu Wulmstorf Seevetal
Neu Wulmstorf and Seevetal share border with that human settlement
Neu Wulmstorf Seevetal
action filter_type
action find
entity Hamburg
relation shares border with
type designation for an administrative territorial entity
['Hamburg', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hamburg property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q508054 Q7084
P47
Q15617994
USER
Which administrative territories share border with Neu Wulmstorf and Seevetal ?
(Q508054,P47,c(Q15617994)) (Q7084,P47,c(Q15617994))
action union
action filter_type
action find
entity Q508054
relation P47
type Q15617994
action filter_type
action find
entity Q7084
relation P47
type Q15617994
['Q508054', 'P47', {'concept': 'Q15617994'}] ['Q7084', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q15617994 . resource:Q508054 property:P47 ?x } UNION { resource:Q7084 property:P47 ?x . ?x rdf:type ontology:Q15617994 } }
Neu Wulmstorf Seevetal
action union
action filter_type
action find
entity Neu Wulmstorf
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Seevetal
relation shares border with
type designation for an administrative territorial entity
['Neu Wulmstorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Seevetal', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Neu_Wulmstorf property:shares_border_with ?x } UNION { resource:Seevetal property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q501683 Q501683 Q504279
SYSTEM
Jork for 3rd, Rosengarten for 1st, 2nd
Q620740 Q376823 Q14892 Q504279 Q501683 Q508003 Q633102 Q83131 Q632604 Q631951 Q501683 Q640191 Q701148
(Q508054,P47,c(Q15617994)) (Q7084,P47,c(Q15617994))
action union
action filter_type
action find
entity Q508054
relation P47
type Q15617994
action filter_type
action find
entity Q7084
relation P47
type Q15617994
[ANSWERS]
['Q508054', 'P47', {'concept': 'Q15617994'}] ['Q7084', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q15617994 . resource:Q508054 property:P47 ?x } UNION { resource:Q7084 property:P47 ?x . ?x rdf:type ontology:Q15617994 } }
Appel Wenzendorf Buchholz in der Nordheide Jork Rosengarten Moisburg Marxen Rosengarten Harmstorf Bendestorf Rosengarten Brackel Stelle
Rosengarten, Rosengarten and Jork share border with Neu Wulmstorf and Seevetal
Rosengarten Rosengarten Jork
action union
action filter_type
action find
entity Neu Wulmstorf
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Seevetal
relation shares border with
type designation for an administrative territorial entity
['Neu Wulmstorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Seevetal', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Neu_Wulmstorf property:shares_border_with ?x } UNION { resource:Seevetal property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q501683
P159
Q56061
USER
Which administrative territory is the HQ of that administrative territory ?
(Q501683,P159,c(Q56061))
action filter_type
action find
entity Q501683
relation P159
type Q56061
['Q501683', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q501683 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Rosengarten
action filter_type
action find
entity Rosengarten
relation headquarters location
type administrative territorial entity
['Rosengarten', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Rosengarten property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q501683
SYSTEM
Did you mean Rosengarten ?
Q501683 Q501683 Q504279
(Q501683,P159,c(Q56061)) (Q501683,P159,c(Q56061)) (Q504279,P159,c(Q56061))
[ANSWER]
['Q501683', 'P159', {'concept': 'Q56061'}] ['Q501683', 'P159', {'concept': 'Q56061'}] ['Q504279', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q501683 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Rosengarten Rosengarten Jork
Did you mean Rosengarten ?
Rosengarten
['Rosengarten', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Rosengarten', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Jork', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Rosengarten property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q501683,P159,c(Q56061))
['Q501683', 'P159', {'concept': 'Q56061'}]
['Rosengarten', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q21074472
SYSTEM
Nenndorf
Q21074472
(Q501683,P159,c(Q56061))
action filter_type
action find
entity Q501683
relation P159
type Q56061
[ANSWER] is the HQ of that administrative territory
['Q501683', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q501683 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Nenndorf
Nenndorf is the HQ of that administrative territory
Nenndorf
action filter_type
action find
entity Rosengarten
relation headquarters location
type administrative territorial entity
['Rosengarten', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Rosengarten property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1897287 Q7084
P27 P17
Q1048835
USER
Which political territories are Seevetal situated in or do Marie Christine Giuliani belong to ?
OR((Q7084,P17,c(Q1048835)), (Q1897287,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7084
relation P17
action find
entity Q1897287
relation P27
type Q1048835
{'OR': [['Q7084', 'P17', {'concept': 'Q1048835'}], ['Q1897287', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q7084 property:P17 ?l } UNION { resource:Q1897287 property:P27 ?l } } . ?l rdf:type ontology:Q1048835 }
Marie Christine Giuliani Seevetal
action filter_type
action union
action find
entity Seevetal
relation country
action find
entity Marie Christine Giuliani
relation country of citizenship
type political territorial entity
{'OR': [['Seevetal', 'country', {'concept': 'political territorial entity'}], ['Marie Christine Giuliani', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Seevetal property:country ?l } UNION { resource:Marie_Christine_Giuliani property:country_of_citizenship ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
OR((Q7084,P17,c(Q1048835)), (Q1897287,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7084
relation P17
action find
entity Q1897287
relation P27
type Q1048835
Seevetal are situated belong to Federal [ANSWERS]
{'OR': [['Q7084', 'P17', {'concept': 'Q1048835'}], ['Q1897287', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q7084 property:P17 ?l } UNION { resource:Q1897287 property:P27 ?l } } . ?l rdf:type ontology:Q1048835 }
Germany Austria
Seevetal are situated belong to Federal Germany and Austria
Germany Austria
action filter_type
action union
action find
entity Seevetal
relation country
action find
entity Marie Christine Giuliani
relation country of citizenship
type political territorial entity
{'OR': [['Seevetal', 'country', {'concept': 'political territorial entity'}], ['Marie Christine Giuliani', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Seevetal property:country ?l } UNION { resource:Marie_Christine_Giuliani property:country_of_citizenship ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1897287
P21
Q290
USER
Which sex does that person belong to ?
(Q183,P21,c(Q290)) (Q40,P21,c(Q290))
action filter_type
action find
entity Q1897287
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}] ['Q40', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1897287 property:P21 ?x . ?x rdf:type ontology:Q290 }
Marie Christine Giuliani
action filter_type
action find
entity Marie Christine Giuliani
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}] ['Austria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Marie_Christine_Giuliani property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q183,P21,c(Q290)) (Q40,P21,c(Q290))
action filter_type
action find
entity Q1897287
relation P21
type Q290
That person belongs to [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}] ['Q40', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1897287 property:P21 ?x . ?x rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Marie Christine Giuliani
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}] ['Austria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Marie_Christine_Giuliani property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1897287
P106
Q12737077
USER
Which occupation is the profession of Marie Christine Giuliani ?
(Q1897287,P106,c(Q12737077))
action filter_type
action find
entity Q1897287
relation P106
type Q12737077
['Q1897287', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1897287 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Marie Christine Giuliani
action filter_type
action find
entity Marie Christine Giuliani
relation occupation
type occupation
['Marie Christine Giuliani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Marie_Christine_Giuliani property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q947873
SYSTEM
television presenter
Q947873
(Q1897287,P106,c(Q12737077))
action filter_type
action find
entity Q1897287
relation P106
type Q12737077
[ANSWER] is the profession of Marie Christine Giuliani
['Q1897287', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1897287 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
television presenter
Television presenter is the profession of Marie Christine Giuliani
television presenter
action filter_type
action find
entity Marie Christine Giuliani
relation occupation
type occupation
['Marie Christine Giuliani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Marie_Christine_Giuliani property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q172
P291
Q56061 Q571 Q21114848
USER
Which administrative territories are the places of publication of approximately the same number of books and magazine genres as Toronto ?
(c(Q571)|c(Q21114848),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q172
relation P291
type Q571
type Q21114848
[[{'concept': 'Q571'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ontology:Q571 . ?q rdf:type ontology:Q56061 . ?c property:P291 ?q } UNION { ?c property:P291 ?q . ?q rdf:type ontology:Q56061 . ?c rdf:type ontology:Q21114848 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:P291 resource:Q172 . { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } } } } . FILTER ( ?z = ?r ) }
Toronto
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Toronto
relation place of publication
type book
type magazine genre
[[{'concept': 'book'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ontology:book . ?q rdf:type ontology:administrative_territorial_entity . ?c property:place_of_publication ?q } UNION { ?c property:place_of_publication ?q . ?q rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:magazine_genre } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:place_of_publication resource:Toronto . { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:book ) ( ontology:magazine_genre ) } } } } . FILTER ( ?z = ?r ) }
[]
administrative territorial entity book magazine genre
Q72 Q8678 Q8686
SYSTEM
Zürich, Rio de Janeiro, Shanghai
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q1492 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1724 Q11967 Q1729 Q8717 Q3519 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q571)|c(Q21114848),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q172
relation P291
type Q571
type Q21114848
[ANSWERS] are the places of publication of approximately the same number of books and magazine genres as Toronto
[[{'concept': 'Q571'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ontology:Q571 . ?q rdf:type ontology:Q56061 . ?c property:P291 ?q } UNION { ?c property:P291 ?q . ?q rdf:type ontology:Q56061 . ?c rdf:type ontology:Q21114848 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:P291 resource:Q172 . { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } } } } . FILTER ( ?z = ?r ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Barcelona Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Saarbrücken Huesca Erfurt Seville Bari Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
Zürich, Rio de Janeiro and Shanghai are the places of publication of approximately the same number of books and magazine genres as Toronto
Zürich Rio de Janeiro Shanghai
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Toronto
relation place of publication
type book
type magazine genre
[[{'concept': 'book'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ontology:book . ?q rdf:type ontology:administrative_territorial_entity . ?c property:place_of_publication ?q } UNION { ?c property:place_of_publication ?q . ?q rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:magazine_genre } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:place_of_publication resource:Toronto . { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:book ) ( ontology:magazine_genre ) } } } } . FILTER ( ?z = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3141
P291
Q56061 Q571 Q21114848
USER
And what about Melbourne?
(c(Q571)|c(Q21114848),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q3141
relation P291
type Q571
type Q21114848
[[{'concept': 'Q571'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?o WHERE { VALUES ( ?e ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } . ?h rdf:type ?e } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P291 resource:Q3141 . { { ?z rdf:type ontology:Q571 } UNION { ?z rdf:type ontology:Q21114848 } } } } . FILTER ( ?s = ?v ) }
Melbourne
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Melbourne
relation place of publication
type book
type magazine genre
[[{'concept': 'book'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?o WHERE { VALUES ( ?e ) { ( ontology:book ) ( ontology:magazine_genre ) } . ?h rdf:type ?e } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:place_of_publication resource:Melbourne . { { ?z rdf:type ontology:book } UNION { ?z rdf:type ontology:magazine_genre } } } } . FILTER ( ?s = ?v ) }
[]
administrative territorial entity book magazine genre
Q72 Q8678 Q8686
SYSTEM
Zürich, Rio de Janeiro, Shanghai
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q1492 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q571)|c(Q21114848),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q3141
relation P291
type Q571
type Q21114848
[ANSWERS]
[[{'concept': 'Q571'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?o WHERE { VALUES ( ?e ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } . ?h rdf:type ?e } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P291 resource:Q3141 . { { ?z rdf:type ontology:Q571 } UNION { ?z rdf:type ontology:Q21114848 } } } } . FILTER ( ?s = ?v ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Barcelona Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
Zürich Rio de Janeiro Shanghai
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Melbourne
relation place of publication
type book
type magazine genre
[[{'concept': 'book'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?o WHERE { VALUES ( ?e ) { ( ontology:book ) ( ontology:magazine_genre ) } . ?h rdf:type ?e } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:place_of_publication resource:Melbourne . { { ?z rdf:type ontology:book } UNION { ?z rdf:type ontology:magazine_genre } } } } . FILTER ( ?s = ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q56061 Q83620 Q34442
USER
Which administrative territories are the terminus locations of atleast 8 thoroughfares and roads ?
(c(Q83620)|c(Q34442),P609,c(Q56061))
action atleast
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 8
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) ?p WHERE { { ?d property:P609 ?p . ?d rdf:type ontology:Q83620 . ?p rdf:type ontology:Q56061 } UNION { ?d property:P609 ?p . ?d rdf:type ontology:Q34442 . ?p rdf:type ontology:Q56061 } } GROUP BY ?p } . FILTER ( ?n >= 8 ) }
action atleast
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 8
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) ?p WHERE { { ?d property:terminus_location ?p . ?d rdf:type ontology:thoroughfare . ?p rdf:type ontology:administrative_territorial_entity } UNION { ?d property:terminus_location ?p . ?d rdf:type ontology:road . ?p rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?n >= 8 ) }
[]
administrative territorial entity thoroughfare road
Q956 Q727 Q1085
SYSTEM
Beijing, Amsterdam, Prague
Q956 Q727 Q1085
(c(Q83620)|c(Q34442),P609,c(Q56061))
action atleast
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 8
[ANSWERS] are the terminus locations of atleast 8 thoroughfares and roads
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) ?p WHERE { { ?d property:P609 ?p . ?d rdf:type ontology:Q83620 . ?p rdf:type ontology:Q56061 } UNION { ?d property:P609 ?p . ?d rdf:type ontology:Q34442 . ?p rdf:type ontology:Q56061 } } GROUP BY ?p } . FILTER ( ?n >= 8 ) }
Beijing Amsterdam Prague
Beijing, Amsterdam and Prague are the terminus locations of atleast 8 thoroughfares and roads
Beijing Amsterdam Prague
action atleast
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 8
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) ?p WHERE { { ?d property:terminus_location ?p . ?d rdf:type ontology:thoroughfare . ?p rdf:type ontology:administrative_territorial_entity } UNION { ?d property:terminus_location ?p . ?d rdf:type ontology:road . ?p rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?n >= 8 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q956 Q727 Q1085
P17
Q15617994
USER
Which administrative territories are Beijing, Amsterdam and Prague situated in ?
(Q956,P17,c(Q15617994)) (Q727,P17,c(Q15617994)) (Q1085,P17,c(Q15617994))
action union
action filter_type
action find
entity Q956
relation P17
type Q15617994
action filter_type
action find
entity Q727
relation P17
type Q15617994
action filter_type
action find
entity Q1085
relation P17
type Q15617994
['Q956', 'P17', {'concept': 'Q15617994'}] ['Q727', 'P17', {'concept': 'Q15617994'}] ['Q1085', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?e property:P17 ?n . VALUES ( ?e ) { ( resource:Q956 ) ( resource:Q727 ) } }
Beijing Amsterdam Prague
action union
action filter_type
action find
entity Beijing
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Amsterdam
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prague
relation country
type designation for an administrative territorial entity
['Beijing', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Amsterdam', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prague', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?e property:country ?n . VALUES ( ?e ) { ( resource:Beijing ) ( resource:Amsterdam ) } }
[]
designation for an administrative territorial entity
Q55 Q142 Q148
SYSTEM
Netherlands, France, People's Republic of China
Q148 Q142 Q55 Q213
(Q956,P17,c(Q15617994)) (Q727,P17,c(Q15617994)) (Q1085,P17,c(Q15617994))
action union
action filter_type
action find
entity Q956
relation P17
type Q15617994
action filter_type
action find
entity Q727
relation P17
type Q15617994
action filter_type
action find
entity Q1085
relation P17
type Q15617994
Beijing , Amsterdam and Prague are situated in [ANSWERS]
['Q956', 'P17', {'concept': 'Q15617994'}] ['Q727', 'P17', {'concept': 'Q15617994'}] ['Q1085', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?e property:P17 ?n . VALUES ( ?e ) { ( resource:Q956 ) ( resource:Q727 ) } }
People's Republic of China France Netherlands Czech Republic
Beijing , Amsterdam and Prague are situated in Netherlands, France and People's Republic of China
Netherlands France People's Republic of China
action union
action filter_type
action find
entity Beijing
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Amsterdam
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prague
relation country
type designation for an administrative territorial entity
['Beijing', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Amsterdam', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prague', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?e property:country ?n . VALUES ( ?e ) { ( resource:Beijing ) ( resource:Amsterdam ) } }
[]