Simple Question (Direct)
Simple Question
Q7831219
P21
Q290
USER
What is the sex of Tracey Eide ?
(Q7831219,P21,c(Q290))
action filter_type
action find
entity Q7831219
relation P21
type Q290
['Q7831219', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q7831219 property:P21 ?k . ?k rdf:type ontology:Q290 }
Tracey Eide
action filter_type
action find
entity Tracey Eide
relation gender
type sex
['Tracey Eide', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Tracey_Eide property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7831219,P21,c(Q290))
action filter_type
action find
entity Q7831219
relation P21
type Q290
The sex of Tracey Eide is the [ANSWER]
['Q7831219', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q7831219 property:P21 ?k . ?k rdf:type ontology:Q290 }
female
The sex of Tracey Eide is the female
female
action filter_type
action find
entity Tracey Eide
relation gender
type sex
['Tracey Eide', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Tracey_Eide property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7831219
P19
Q56061
USER
Where was Tracey Eide born ?
(Q7831219,P19,c(Q56061))
action filter_type
action find
entity Q7831219
relation P19
type Q56061
['Q7831219', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7831219 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Tracey Eide
action filter_type
action find
entity Tracey Eide
relation place of birth
type administrative territorial entity
['Tracey Eide', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Tracey_Eide property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5083
SYSTEM
Seattle
Q5083
(Q7831219,P19,c(Q56061))
action filter_type
action find
entity Q7831219
relation P19
type Q56061
Tracey Eide was born in [ANSWER]
['Q7831219', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7831219 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Seattle
Tracey Eide was born in Seattle
Seattle
action filter_type
action find
entity Tracey Eide
relation place of birth
type administrative territorial entity
['Tracey Eide', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Tracey_Eide property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7831219
P69
Q3914
USER
Where was that person educated ?
(Q5083,P69,c(Q3914))
action filter_type
action find
entity Q7831219
relation P69
type Q3914
['Q5083', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?p WHERE { resource:Q7831219 property:P69 ?p . ?p rdf:type ontology:Q3914 }
Tracey Eide
action filter_type
action find
entity Tracey Eide
relation educated at
type school
['Seattle', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?p WHERE { resource:Tracey_Eide property:educated_at ?p . ?p rdf:type ontology:school }
[]
school
Q49127
SYSTEM
Harvard Kennedy School
Q49127
(Q5083,P69,c(Q3914))
action filter_type
action find
entity Q7831219
relation P69
type Q3914
That person was educated at [ANSWER]
['Q5083', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?p WHERE { resource:Q7831219 property:P69 ?p . ?p rdf:type ontology:Q3914 }
Harvard Kennedy School
That person was educated at Harvard Kennedy School
Harvard Kennedy School
action filter_type
action find
entity Tracey Eide
relation educated at
type school
['Seattle', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?p WHERE { resource:Tracey_Eide property:educated_at ?p . ?p rdf:type ontology:school }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q34647
P291
Q56061 Q1002697 Q2342494
USER
How many administrative territories are the locations of publication of around the same number of periodical literatures and collectables as Johannesburg ?
(c(Q1002697)|c(Q2342494),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q34647
relation P291
type Q1002697
type Q2342494
[[{'concept': 'Q1002697'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?p WHERE { VALUES ( ?h ) { ( ontology:Q1002697 ) ( ontology:Q2342494 ) } . ?v rdf:type ?h } GROUP BY ?p } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P291 resource:Q34647 . { VALUES ( ?f ) { ( ontology:Q1002697 ) ( ontology:Q2342494 ) } . ?j rdf:type ?f } } } }
Johannesburg
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Johannesburg
relation place of publication
type periodical literature
type collectable
[[{'concept': 'periodical literature'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?p WHERE { VALUES ( ?h ) { ( ontology:periodical_literature ) ( ontology:collectable ) } . ?v rdf:type ?h } GROUP BY ?p } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:place_of_publication resource:Johannesburg . { VALUES ( ?f ) { ( ontology:periodical_literature ) ( ontology:collectable ) } . ?j rdf:type ?f } } } }
[]
administrative territorial entity periodical literature collectable
SYSTEM
345
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 Q1022 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 Q490 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 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 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 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 Q1085
(c(Q1002697)|c(Q2342494),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q34647
relation P291
type Q1002697
type Q2342494
[ANSWER]
[[{'concept': 'Q1002697'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?p WHERE { VALUES ( ?h ) { ( ontology:Q1002697 ) ( ontology:Q2342494 ) } . ?v rdf:type ?h } GROUP BY ?p } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P291 resource:Q34647 . { VALUES ( ?f ) { ( ontology:Q1002697 ) ( ontology:Q2342494 ) } . ?j rdf:type ?f } } } }
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 Stuttgart 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 Milan 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 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 Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit 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 Moscow 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 Prague
345
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Johannesburg
relation place of publication
type periodical literature
type collectable
[[{'concept': 'periodical literature'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?p WHERE { VALUES ( ?h ) { ( ontology:periodical_literature ) ( ontology:collectable ) } . ?v rdf:type ?h } GROUP BY ?p } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:place_of_publication resource:Johannesburg . { VALUES ( ?f ) { ( ontology:periodical_literature ) ( ontology:collectable ) } . ?j rdf:type ?f } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q672545
P291
Q56061 Q1002697 Q2342494
USER
And what about Barmouth?
(c(Q1002697)|c(Q2342494),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q672545
relation P291
type Q1002697
type Q2342494
[[{'concept': 'Q1002697'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:P291 ?w . ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P291 ?w . ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q1002697 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { { ?v rdf:type ontology:Q1002697 } UNION { ?v rdf:type ontology:Q2342494 } } . ?v property:P291 resource:Q672545 } } . FILTER ( ?o = ?z ) }
Barmouth
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Barmouth
relation place of publication
type periodical literature
type collectable
[[{'concept': 'periodical literature'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:place_of_publication ?w . ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:collectable } UNION { ?a property:place_of_publication ?w . ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:periodical_literature } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { { ?v rdf:type ontology:periodical_literature } UNION { ?v rdf:type ontology:collectable } } . ?v property:place_of_publication resource:Barmouth } } . FILTER ( ?o = ?z ) }
[]
administrative territorial entity periodical literature collectable
SYSTEM
345
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 Q1022 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 Q490 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 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 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 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 Q1085
(c(Q1002697)|c(Q2342494),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q672545
relation P291
type Q1002697
type Q2342494
[ANSWER]
[[{'concept': 'Q1002697'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:P291 ?w . ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P291 ?w . ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q1002697 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { { ?v rdf:type ontology:Q1002697 } UNION { ?v rdf:type ontology:Q2342494 } } . ?v property:P291 resource:Q672545 } } . FILTER ( ?o = ?z ) }
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 Stuttgart 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 Milan 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 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 Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit 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 Moscow 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 Prague
345
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Barmouth
relation place of publication
type periodical literature
type collectable
[[{'concept': 'periodical literature'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:place_of_publication ?w . ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:collectable } UNION { ?a property:place_of_publication ?w . ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:periodical_literature } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { { ?v rdf:type ontology:periodical_literature } UNION { ?v rdf:type ontology:collectable } } . ?v property:place_of_publication resource:Barmouth } } . FILTER ( ?o = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5083
P6
Q502895
USER
Which person does Seattle serve as the head of government for ?
(Q5083,P6,c(Q502895))
action filter_type
action find
entity Q5083
relation P6
type Q502895
['Q5083', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q5083 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Seattle
action filter_type
action find
entity Seattle
relation head of government
type common name
['Seattle', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Seattle property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
common name
Q5335212
SYSTEM
Ed Murray
Q5335212
(Q5083,P6,c(Q502895))
action filter_type
action find
entity Q5083
relation P6
type Q502895
Seattle serves by [ANSWER] as the head of government
['Q5083', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q5083 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Ed Murray
Seattle serves by Ed Murray as the head of government
Ed Murray
action filter_type
action find
entity Seattle
relation head of government
type common name
['Seattle', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Seattle property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5335212
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q5335212,P27,c(Q15617994))
action filter_type
action find
entity Q5335212
relation P27
type Q15617994
['Q5335212', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q5335212 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Ed Murray
action filter_type
action find
entity Ed Murray
relation country of citizenship
type designation for an administrative territorial entity
['Ed Murray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Ed_Murray property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5335212,P27,c(Q15617994))
action filter_type
action find
entity Q5335212
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q5335212', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q5335212 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity Ed Murray
relation country of citizenship
type designation for an administrative territorial entity
['Ed Murray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Ed_Murray property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q6500322
P27
Q502895
USER
Is Lauren O'Connell a native of that administrative territory ?
(Q6500322,P27,Q30)
action is_in
entity Q30
action find
entity Q6500322
relation P27
['Q6500322', 'P27', 'Q30']
ASK WHERE { resource:Q6500322 property:P27 resource:Q30 }
United States of America Lauren O'Connell
action is_in
entity United States of America
action find
entity Lauren O'Connell
relation country of citizenship
["Lauren O'Connell", 'country of citizenship', 'United States of America']
ASK WHERE { resource:Lauren_O'Connell property:country_of_citizenship resource:United_States_of_America }
[]
common name
SYSTEM
YES
(Q6500322,P27,Q30)
action is_in
entity Q30
action find
entity Q6500322
relation P27
[ANSWER]
['Q6500322', 'P27', 'Q30']
ASK WHERE { resource:Q6500322 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Lauren O'Connell
relation country of citizenship
["Lauren O'Connell", 'country of citizenship', 'United States of America']
ASK WHERE { resource:Lauren_O'Connell property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1346
Q15061650
USER
Which golf tournaments were won by United States of America ?
(c(Q15061650),P1346,Q30)
action filter_type
action find_reverse
entity Q30
relation P1346
type Q15061650
[{'concept': 'Q15061650'}, 'P1346', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P1346 resource:Q30 . ?j rdf:type ontology:Q15061650 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation winner
type golf tournament
[{'concept': 'golf tournament'}, 'winner', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:winner resource:United_States_of_America . ?j rdf:type ontology:golf_tournament }
[]
golf tournament
Q4570452 Q3453897 Q600731
SYSTEM
1961 Ryder Cup, 1973 Ryder Cup, 1977 Ryder Cup
Q3453913 Q4571206 Q4570452 Q3453909 Q3453908 Q3453897 Q3943130 Q600731 Q3453900 Q3453902 Q14710308 Q4568450 Q4572000 Q3943117 Q919786 Q4569702 Q3943124 Q3453893 Q3943120 Q3943123 Q3943125 Q3453896 Q3943127 Q3943126 Q3453899 Q3453898
(c(Q15061650),P1346,Q30)
action filter_type
action find_reverse
entity Q30
relation P1346
type Q15061650
[ANSWERS] were won by United States of America
[{'concept': 'Q15061650'}, 'P1346', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P1346 resource:Q30 . ?j rdf:type ontology:Q15061650 }
1999 Ryder Cup 1963 Ryder Cup 1961 Ryder Cup 1993 Ryder Cup 1991 Ryder Cup 1973 Ryder Cup 1953 Ryder Cup 1977 Ryder Cup 1981 Ryder Cup 1983 Ryder Cup 1967 Ryder Cup 1955 Ryder Cup 1965 Ryder Cup 1927 Ryder Cup 2008 Ryder Cup 1959 Ryder Cup 1937 Ryder Cup 1969 Ryder Cup 1931 Ryder Cup 1935 Ryder Cup 1947 Ryder Cup 1971 Ryder Cup 1951 Ryder Cup 1949 Ryder Cup 1979 Ryder Cup 1975 Ryder Cup
1961 Ryder Cup, 1973 Ryder Cup and 1977 Ryder Cup were won by United States of America
1961 Ryder Cup 1973 Ryder Cup 1977 Ryder Cup
action filter_type
action find_reverse
entity United States of America
relation winner
type golf tournament
[{'concept': 'golf tournament'}, 'winner', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:winner resource:United_States_of_America . ?j rdf:type ontology:golf_tournament }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4570452 Q3453897 Q600731
P17
Q15617994
USER
Which administrative territories are those golf tournaments located in ?
(Q4570452,P17,c(Q15617994)) (Q3453897,P17,c(Q15617994)) (Q600731,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q4570452', 'P17', {'concept': 'Q15617994'}] ['Q3453897', 'P17', {'concept': 'Q15617994'}] ['Q600731', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . VALUES ( ?b ) { ( resource:Q3453913 ) ( resource:Q4571206 ) ( resource:Q4570452 ) } . ?b property:P17 ?h }
1961 Ryder Cup 1973 Ryder Cup 1977 Ryder Cup
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['1961 Ryder Cup', 'country', {'concept': 'designation for an administrative territorial entity'}] ['1973 Ryder Cup', 'country', {'concept': 'designation for an administrative territorial entity'}] ['1977 Ryder Cup', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?b ) { ( resource:1999_Ryder_Cup ) ( resource:1963_Ryder_Cup ) ( resource:1961_Ryder_Cup ) } . ?b property:country ?h }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q4570452,P17,c(Q15617994)) (Q3453897,P17,c(Q15617994)) (Q600731,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those golf tournaments are located in [ANSWER], [ANSWER] and [ANSWER]
['Q4570452', 'P17', {'concept': 'Q15617994'}] ['Q3453897', 'P17', {'concept': 'Q15617994'}] ['Q600731', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . VALUES ( ?b ) { ( resource:Q3453913 ) ( resource:Q4571206 ) ( resource:Q4570452 ) } . ?b property:P17 ?h }
United Kingdom United Kingdom United Kingdom
Those golf tournaments are located in United Kingdom, United Kingdom and United Kingdom
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['1961 Ryder Cup', 'country', {'concept': 'designation for an administrative territorial entity'}] ['1973 Ryder Cup', 'country', {'concept': 'designation for an administrative territorial entity'}] ['1977 Ryder Cup', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?b ) { ( resource:1999_Ryder_Cup ) ( resource:1963_Ryder_Cup ) ( resource:1961_Ryder_Cup ) } . ?b property:country ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4570452
P276
Q1076486
USER
Which sports venue is the location of 1961 Ryder Cup ?
(Q145,P276,c(Q1076486)) (Q145,P276,c(Q1076486)) (Q145,P276,c(Q1076486))
action filter_type
action find
entity Q4570452
relation P276
type Q1076486
['Q145', 'P276', {'concept': 'Q1076486'}] ['Q145', 'P276', {'concept': 'Q1076486'}] ['Q145', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1076486 . resource:Q4570452 property:P276 ?k }
1961 Ryder Cup
action filter_type
action find
entity 1961 Ryder Cup
relation location
type sports venue
['United Kingdom', 'location', {'concept': 'sports venue'}] ['United Kingdom', 'location', {'concept': 'sports venue'}] ['United Kingdom', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sports_venue . resource:1961_Ryder_Cup property:location ?k }
[]
sports venue
Q1636565
SYSTEM
Royal Lytham & St Annes Golf Club
Q1636565
(Q145,P276,c(Q1076486)) (Q145,P276,c(Q1076486)) (Q145,P276,c(Q1076486))
action filter_type
action find
entity Q4570452
relation P276
type Q1076486
[ANSWER] is the location of 1961 Ryder Cup
['Q145', 'P276', {'concept': 'Q1076486'}] ['Q145', 'P276', {'concept': 'Q1076486'}] ['Q145', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1076486 . resource:Q4570452 property:P276 ?k }
Royal Lytham & St Annes Golf Club
Royal Lytham & St Annes Golf Club is the location of 1961 Ryder Cup
Royal Lytham & St Annes Golf Club
action filter_type
action find
entity 1961 Ryder Cup
relation location
type sports venue
['United Kingdom', 'location', {'concept': 'sports venue'}] ['United Kingdom', 'location', {'concept': 'sports venue'}] ['United Kingdom', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sports_venue . resource:1961_Ryder_Cup property:location ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P921
Q191067 Q2342494
USER
How many articles or collectables are United Kingdom a main subject of ?
(c(Q191067),P921,Q145) (c(Q2342494),P921,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P921
type Q191067
action filter_type
action find_reverse
entity Q145
relation P921
type Q2342494
[{'concept': 'Q191067'}, 'P921', 'Q145'] [{'concept': 'Q2342494'}, 'P921', 'Q145']
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { ?g property:P921 resource:Q145 . ?g rdf:type ontology:Q191067 } UNION { ?g property:P921 resource:Q145 . ?g rdf:type ontology:Q2342494 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type article
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type collectable
[{'concept': 'article'}, 'main subject', 'United Kingdom'] [{'concept': 'collectable'}, 'main subject', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { ?g property:main_subject resource:United_Kingdom . ?g rdf:type ontology:article } UNION { ?g property:main_subject resource:United_Kingdom . ?g rdf:type ontology:collectable } }
[]
article collectable
SYSTEM
2
Q21725524 Q27063814
(c(Q191067),P921,Q145) (c(Q2342494),P921,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P921
type Q191067
action filter_type
action find_reverse
entity Q145
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q145'] [{'concept': 'Q2342494'}, 'P921', 'Q145']
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { ?g property:P921 resource:Q145 . ?g rdf:type ontology:Q191067 } UNION { ?g property:P921 resource:Q145 . ?g rdf:type ontology:Q2342494 } }
EB-11 / United Kingdom of Great Britain and Ireland Introduction to Administrative Law
2
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type article
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type collectable
[{'concept': 'article'}, 'main subject', 'United Kingdom'] [{'concept': 'collectable'}, 'main subject', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { ?g property:main_subject resource:United_Kingdom . ?g rdf:type ontology:article } UNION { ?g property:main_subject resource:United_Kingdom . ?g rdf:type ontology:collectable } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q7743 Q811979
USER
Which administrative territories are around 3072 homes and architectural structures located in ?
(c(Q7743)|c(Q811979),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7743
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q811979
value 3072
[[{'concept': 'Q7743'}, {'concept': 'Q811979'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?d WHERE { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:Q811979 ) ( ontology:Q7743 ) } } GROUP BY ?d } . FILTER ( ?l = 3072 ) }
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type home
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type architectural structure
value 3072
[[{'concept': 'home'}, {'concept': 'architectural structure'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?d WHERE { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:architectural_structure ) ( ontology:home ) } } GROUP BY ?d } . FILTER ( ?l = 3072 ) }
[]
designation for an administrative territorial entity home architectural structure
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q7743)|c(Q811979),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7743
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q811979
value 3072
[ANSWERS] are around 3072 homes and architectural structures located in
[[{'concept': 'Q7743'}, {'concept': 'Q811979'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?d WHERE { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:Q811979 ) ( ontology:Q7743 ) } } GROUP BY ?d } . FILTER ( ?l = 3072 ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
Italy, Brazil and Georgia are around 3072 homes and architectural structures located in
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type home
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type architectural structure
value 3072
[[{'concept': 'home'}, {'concept': 'architectural structure'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?d WHERE { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:architectural_structure ) ( ontology:home ) } } GROUP BY ?d } . FILTER ( ?l = 3072 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P530
Q56061 Q1048835
USER
How many administrative territories and political territories have diplomatic relationships with Brazil ?
(Q155,P530,c(Q56061)) (Q155,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q155
relation P530
type Q56061
action filter_type
action find
entity Q155
relation P530
type Q1048835
['Q155', 'P530', {'concept': 'Q56061'}] ['Q155', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?x rdf:type ?q }
Brazil
action count
action union
action filter_type
action find
entity Brazil
relation diplomatic relation
type administrative territorial entity
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?q }
[]
administrative territorial entity political territorial entity
SYSTEM
2 administrative territories and 5 political territories
Q766 Q183 Q408 Q16 Q35 Q7159 Q458
(Q155,P530,c(Q56061)) (Q155,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q155
relation P530
type Q56061
action filter_type
action find
entity Q155
relation P530
type Q1048835
[ANSWER]
['Q155', 'P530', {'concept': 'Q56061'}] ['Q155', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?x rdf:type ?q }
Jamaica Germany Australia Canada Denmark African Union European Union
2 administrative territories and 5 political territories
action count
action union
action filter_type
action find
entity Brazil
relation diplomatic relation
type administrative territorial entity
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?q }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with around 11 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?c = 11 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?c ) WHERE { ?y property:P530 ?m . ?y rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?y } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?c = 11 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?c ) WHERE { ?y property:diplomatic_relation ?m . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[ANSWERS] have tactful political relations with around 11 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?c = 11 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?c ) WHERE { ?y property:P530 ?m . ?y rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?y } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
United States of America, Russia and Netherlands have tactful political relations with around 11 administrative territories
United States of America Russia Netherlands
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?c = 11 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?c ) WHERE { ?y property:diplomatic_relation ?m . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q31629 Q1076486
USER
How many sports venues mainly plays the role of a around 2 sports or types of sport ?
(c(Q1076486),P366,c(Q349)|c(Q31629))
action count
action approx
action union
action find_tuple_counts
relation P366
type Q1076486
type Q349
action find_tuple_counts
relation P366
type Q1076486
type Q31629
value 2
[{'concept': 'Q1076486'}, 'P366', [{'concept': 'Q349'}, {'concept': 'Q31629'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?r WHERE { { ?r property:P366 ?e . ?r rdf:type ontology:Q1076486 . ?e rdf:type ontology:Q349 } UNION { ?r property:P366 ?e . ?r rdf:type ontology:Q1076486 . ?e rdf:type ontology:Q31629 } } GROUP BY ?r } }
action count
action approx
action union
action find_tuple_counts
relation use
type sports venue
type sport
action find_tuple_counts
relation use
type sports venue
type type of sport
value 2
[{'concept': 'sports venue'}, 'use', [{'concept': 'sport'}, {'concept': 'type of sport'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?r WHERE { { ?r property:use ?e . ?r rdf:type ontology:sports_venue . ?e rdf:type ontology:sport } UNION { ?r property:use ?e . ?r rdf:type ontology:sports_venue . ?e rdf:type ontology:type_of_sport } } GROUP BY ?r } }
[]
sport type of sport sports venue
SYSTEM
8
Q501184 Q1453337 Q2093297 Q824352 Q10540509 Q175960 Q1776735 Q4444527
(c(Q1076486),P366,c(Q349)|c(Q31629))
action count
action approx
action union
action find_tuple_counts
relation P366
type Q1076486
type Q349
action find_tuple_counts
relation P366
type Q1076486
type Q31629
value 2
[ANSWER]
[{'concept': 'Q1076486'}, 'P366', [{'concept': 'Q349'}, {'concept': 'Q31629'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?r WHERE { { ?r property:P366 ?e . ?r rdf:type ontology:Q1076486 . ?e rdf:type ontology:Q349 } UNION { ?r property:P366 ?e . ?r rdf:type ontology:Q1076486 . ?e rdf:type ontology:Q31629 } } GROUP BY ?r } }
Stadsparksvallen Fredriksskans Ryavallen Ullevi Johanneshovs IP Malmö stadion Söderstadion Studenternas IP
8
action count
action approx
action union
action find_tuple_counts
relation use
type sports venue
type sport
action find_tuple_counts
relation use
type sports venue
type type of sport
value 2
[{'concept': 'sports venue'}, 'use', [{'concept': 'sport'}, {'concept': 'type of sport'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?r WHERE { { ?r property:use ?e . ?r rdf:type ontology:sports_venue . ?e rdf:type ontology:sport } UNION { ?r property:use ?e . ?r rdf:type ontology:sports_venue . ?e rdf:type ontology:type_of_sport } } GROUP BY ?r } }
[]