Simple Question (Direct)
Simple Question
Q4647488
P106
Q12737077
USER
Which occupation has A. A. Purcell as his/her 's career ?
(Q4647488,P106,c(Q12737077))
action filter_type
action find
entity Q4647488
relation P106
type Q12737077
['Q4647488', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4647488 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
A. A. Purcell
action filter_type
action find
entity A. A. Purcell
relation occupation
type occupation
['A. A. Purcell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:A._A._Purcell property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q4647488,P106,c(Q12737077))
action filter_type
action find
entity Q4647488
relation P106
type Q12737077
[ANSWER]
['Q4647488', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4647488 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity A. A. Purcell
relation occupation
type occupation
['A. A. Purcell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:A._A._Purcell property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4647488
P39
Q12737077
USER
What was the position held by A. A. Purcell ?
(Q4647488,P39,c(Q12737077))
action filter_type
action find
entity Q4647488
relation P39
type Q12737077
['Q4647488', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q4647488 property:P39 ?z }
A. A. Purcell
action filter_type
action find
entity A. A. Purcell
relation position held
type occupation
['A. A. Purcell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:A._A._Purcell property:position_held ?z }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q4647488,P39,c(Q12737077))
action filter_type
action find
entity Q4647488
relation P39
type Q12737077
[ANSWER]
['Q4647488', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q4647488 property:P39 ?z }
Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity A. A. Purcell
relation position held
type occupation
['A. A. Purcell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:A._A._Purcell property:position_held ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7527108
Q12737077
USER
And how about Sir Henry Brooke, 1st Baronet?
(Q7527108,P39,c(Q12737077))
action filter_type
action find
entity Q7527108
relation P39
type Q12737077
['Q7527108', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q7527108 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Sir Henry Brooke, 1st Baronet
action filter_type
action find
entity Sir Henry Brooke, 1st Baronet
relation position held
type occupation
['Sir Henry Brooke, 1st Baronet', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Sir_Henry_Brooke,_1st_Baronet property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q18018860
SYSTEM
Member of Parliament in the Parliament of England
Q18018860
(Q7527108,P39,c(Q12737077))
action filter_type
action find
entity Q7527108
relation P39
type Q12737077
[ANSWER]
['Q7527108', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q7527108 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of England
Member of Parliament in the Parliament of England
action filter_type
action find
entity Sir Henry Brooke, 1st Baronet
relation position held
type occupation
['Sir Henry Brooke, 1st Baronet', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Sir_Henry_Brooke,_1st_Baronet property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Who is associated with the field of occupation politician ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?t WHERE { resource:Q82955 property:P425 ?t . ?t rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?t WHERE { resource:politician property:field_of_this_occupation ?t . ?t rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER]
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?t WHERE { resource:Q82955 property:P425 ?t . ?t rdf:type ontology:Q3769299 }
politics
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?t WHERE { resource:politician property:field_of_this_occupation ?t . ?t rdf:type ontology:human_behaviour }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7163
P921
Q1002697
USER
Which periodical literatures have that human behaviour as their principal topic ?
(c(Q1002697),P921,Q7163)
action filter_type
action find_reverse
entity Q7163
relation P921
type Q1002697
[{'concept': 'Q1002697'}, 'P921', 'Q7163']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q7163 . ?y rdf:type ontology:Q1002697 }
politics
action filter_type
action find_reverse
entity politics
relation main subject
type periodical literature
[{'concept': 'periodical literature'}, 'main subject', 'politics']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:politics . ?y rdf:type ontology:periodical_literature }
[]
periodical literature
Q3072976 Q25795250 Q3109740
SYSTEM
First Things, Utopías, nuestra bandera, Politico
Q3109740 Q25795250 Q13054161 Q3072976
(c(Q1002697),P921,Q7163)
action filter_type
action find_reverse
entity Q7163
relation P921
type Q1002697
[ANSWERS]
[{'concept': 'Q1002697'}, 'P921', 'Q7163']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q7163 . ?y rdf:type ontology:Q1002697 }
Politico Utopías, nuestra bandera Hammer First Things
First Things Utopías, nuestra bandera Politico
action filter_type
action find_reverse
entity politics
relation main subject
type periodical literature
[{'concept': 'periodical literature'}, 'main subject', 'politics']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:politics . ?y rdf:type ontology:periodical_literature }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11967
P291
Q56061 Q1002697
USER
How many administrative territories were less number of periodical literatures issued than Huesca ?
(c(Q1002697),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_type
action find_reverse
entity Q11967
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P291 ?i . ?n rdf:type ontology:Q1002697 . ?i rdf:type ontology:Q56061 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:Q1002697 . ?c property:P291 resource:Q11967 } } . FILTER ( ?g < ?u ) }
Huesca
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_type
action find_reverse
entity Huesca
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:place_of_publication ?i . ?n rdf:type ontology:periodical_literature . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:periodical_literature . ?c property:place_of_publication resource:Huesca } } . FILTER ( ?g < ?u ) }
[]
administrative territorial entity periodical literature
SYSTEM
304
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 Q3404679 Q23337 Q33959 Q987 Q23051 Q586 Q2656 Q1289 Q4581188 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q1754 Q1022 Q749 Q39561 Q3992 Q2132 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q132572 Q6157 Q1718 Q43631 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 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 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q134620 Q956 Q15095 Q15098 Q437 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q23154 Q340 Q342 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q1729 Q3519 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q487786 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q1002697),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_type
action find_reverse
entity Q11967
relation P291
type Q1002697
[ANSWER]
[{'concept': 'Q1002697'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P291 ?i . ?n rdf:type ontology:Q1002697 . ?i rdf:type ontology:Q56061 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:Q1002697 . ?c property:P291 resource:Q11967 } } . FILTER ( ?g < ?u ) }
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 Crumlin Salt Lake City Nice New Delhi Swansea Bonn Palermo Grenoble Straume Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Reims Stockholm Stuttgart Groningen Burbank Liège Victoria Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Tiraspol Seinäjoki Düsseldorf Leiden 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 Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin 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 Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur 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 Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Jyväskylä Beijing Albacete Cuenca Ljubljana Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Bristol Montreal Quimper Dordrecht Sereď Barmouth Sunderland Padua Conwy Yangon Irkutsk Livorno Concord Messina Białystok Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Erfurt Bari Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Orihuela Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
304
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_type
action find_reverse
entity Huesca
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:place_of_publication ?i . ?n rdf:type ontology:periodical_literature . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:periodical_literature . ?c property:place_of_publication resource:Huesca } } . FILTER ( ?g < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q90
P291
Q56061 Q1002697
USER
And also tell me about Paris?
(c(Q1002697),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_type
action find_reverse
entity Q90
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P291 ?f . ?z rdf:type ontology:Q1002697 . ?f rdf:type ontology:Q56061 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:Q1002697 . ?c property:P291 resource:Q90 } } . FILTER ( ?o < ?j ) }
Paris
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_type
action find_reverse
entity Paris
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:place_of_publication ?f . ?z rdf:type ontology:periodical_literature . ?f rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:periodical_literature . ?c property:place_of_publication resource:Paris } } . FILTER ( ?o < ?j ) }
[]
administrative territorial entity periodical literature
SYSTEM
347
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 Q84 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 Q269 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),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_type
action find_reverse
entity Q90
relation P291
type Q1002697
[ANSWER]
[{'concept': 'Q1002697'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P291 ?f . ?z rdf:type ontology:Q1002697 . ?f rdf:type ontology:Q56061 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:Q1002697 . ?c property:P291 resource:Q90 } } . FILTER ( ?o < ?j ) }
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 London 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 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 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
347
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_type
action find_reverse
entity Paris
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:place_of_publication ?f . ?z rdf:type ontology:periodical_literature . ?f rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:periodical_literature . ?c property:place_of_publication resource:Paris } } . FILTER ( ?o < ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16707842
P17
Q15617994
USER
Which administrative territory is Member of Parliament in the United Kingdom a part of ?
(Q16707842,P17,c(Q15617994))
action filter_type
action find
entity Q16707842
relation P17
type Q15617994
['Q16707842', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16707842 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Member of Parliament in the United Kingdom
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type designation for an administrative territorial entity
['Member of Parliament in the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q16707842,P17,c(Q15617994))
action filter_type
action find
entity Q16707842
relation P17
type Q15617994
[ANSWER]
['Q16707842', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16707842 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type designation for an administrative territorial entity
['Member of Parliament in the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26596905
Q15617994
USER
And also tell me about The Old Dark Lantern Inn?
(Q26596905,P17,c(Q15617994))
action filter_type
action find
entity Q26596905
relation P17
type Q15617994
['Q26596905', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q26596905 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
The Old Dark Lantern Inn
action filter_type
action find
entity The Old Dark Lantern Inn
relation country
type designation for an administrative territorial entity
['The Old Dark Lantern Inn', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:The_Old_Dark_Lantern_Inn property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q26596905,P17,c(Q15617994))
action filter_type
action find
entity Q26596905
relation P17
type Q15617994
[ANSWER]
['Q26596905', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q26596905 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity The Old Dark Lantern Inn
relation country
type designation for an administrative territorial entity
['The Old Dark Lantern Inn', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:The_Old_Dark_Lantern_Inn property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories have tactful political relations with that administrative territory ?
(c(Q1048835),P530,Q145) (c(Q15617994),P530,Q145) (c(Q1048835),P530,Q145) (c(Q15617994),P530,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q15617994'}, 'P530', 'Q145'] [{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q15617994'}, 'P530', 'Q145']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?q rdf:type ?o }
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?q rdf:type ?o }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3 political territories and 11 administrative territories
Q142 Q805 Q38 Q230 Q801 Q155 Q183 Q408 Q16 Q37 Q114 Q403 Q17 Q902
(c(Q1048835),P530,Q145) (c(Q15617994),P530,Q145) (c(Q1048835),P530,Q145) (c(Q15617994),P530,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q15617994'}, 'P530', 'Q145'] [{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q15617994'}, 'P530', 'Q145']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?q rdf:type ?o }
France Yemen Italy Georgia Israel Brazil Germany Australia Canada Lithuania Kenya Serbia Japan Bangladesh
3 political territories and 11 administrative territories
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?q rdf:type ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q3313710
P706
Q271669
USER
How many landforms are United Kingdom or Austnes located on ?
(Q145,P706,c(Q271669)) (Q3313710,P706,c(Q271669))
action count
action union
action filter_type
action find
entity Q145
relation P706
type Q271669
action filter_type
action find
entity Q3313710
relation P706
type Q271669
['Q145', 'P706', {'concept': 'Q271669'}] ['Q3313710', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?e property:P706 ?z . VALUES ( ?e ) { ( resource:Q3313710 ) ( resource:Q145 ) } }
United Kingdom Austnes
action count
action union
action filter_type
action find
entity United Kingdom
relation located on terrain feature
type landform
action filter_type
action find
entity Austnes
relation located on terrain feature
type landform
['United Kingdom', 'located on terrain feature', {'concept': 'landform'}] ['Austnes', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?e property:located_on_terrain_feature ?z . VALUES ( ?e ) { ( resource:Austnes ) ( resource:United_Kingdom ) } }
[]
landform
SYSTEM
3
Q23666 Q4574269 Q22890
(Q145,P706,c(Q271669)) (Q3313710,P706,c(Q271669))
action count
action union
action filter_type
action find
entity Q145
relation P706
type Q271669
action filter_type
action find
entity Q3313710
relation P706
type Q271669
[ANSWER]
['Q145', 'P706', {'concept': 'Q271669'}] ['Q3313710', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?e property:P706 ?z . VALUES ( ?e ) { ( resource:Q3313710 ) ( resource:Q145 ) } }
Great Britain Haramsøya Ireland
3
action count
action union
action filter_type
action find
entity United Kingdom
relation located on terrain feature
type landform
action filter_type
action find
entity Austnes
relation located on terrain feature
type landform
['United Kingdom', 'located on terrain feature', {'concept': 'landform'}] ['Austnes', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?e property:located_on_terrain_feature ?z . VALUES ( ?e ) { ( resource:Austnes ) ( resource:United_Kingdom ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P750
Q166142
USER
Who do United Kingdom serve as a distributor for ?
(c(Q166142),P750,Q145)
action filter_type
action find_reverse
entity Q145
relation P750
type Q166142
[{'concept': 'Q166142'}, 'P750', 'Q145']
SELECT DISTINCT ?k WHERE { ?k property:P750 resource:Q145 . ?k rdf:type ontology:Q166142 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type application
[{'concept': 'application'}, 'distributor', 'United Kingdom']
SELECT DISTINCT ?k WHERE { ?k property:distributor resource:United_Kingdom . ?k rdf:type ontology:application }
[]
application
Q610749 Q1305295 Q1423320
SYSTEM
Mega Man 7, Pilotwings, GTR – FIA GT Racing Game
Q1423320 Q1305295 Q610749 Q3038553
(c(Q166142),P750,Q145)
action filter_type
action find_reverse
entity Q145
relation P750
type Q166142
[ANSWERS] United Kingdom serve as a distributor for
[{'concept': 'Q166142'}, 'P750', 'Q145']
SELECT DISTINCT ?k WHERE { ?k property:P750 resource:Q145 . ?k rdf:type ontology:Q166142 }
GTR – FIA GT Racing Game Pilotwings Mega Man 7 Dracula: Origin
Mega Man 7, Pilotwings and GTR – FIA GT Racing Game United Kingdom serve as a distributor for
Mega Man 7 Pilotwings GTR – FIA GT Racing Game
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type application
[{'concept': 'application'}, 'distributor', 'United Kingdom']
SELECT DISTINCT ?k WHERE { ?k property:distributor resource:United_Kingdom . ?k rdf:type ontology:application }
[]