Simple Question (Direct)
Simple Question
Q6538104
P734
Q82799
USER
Who has the surname Leyna Weber ?
(Q6538104,P734,c(Q82799))
action filter_type
action find
entity Q6538104
relation P734
type Q82799
['Q6538104', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q6538104 property:P734 ?p }
Leyna Weber
action filter_type
action find
entity Leyna Weber
relation family name
type name
['Leyna Weber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Leyna_Weber property:family_name ?p }
[]
name
Q1409226
SYSTEM
Weber
Q1409226
(Q6538104,P734,c(Q82799))
action filter_type
action find
entity Q6538104
relation P734
type Q82799
[ANSWER] has the surname Leyna [ANSWER]
['Q6538104', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q6538104 property:P734 ?p }
Weber
Weber has the surname Leyna Weber
Weber
action filter_type
action find
entity Leyna Weber
relation family name
type name
['Leyna Weber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Leyna_Weber property:family_name ?p }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6135695 Q6538104
P19 P937
Q56061
USER
Which administrative territories are the birthplace of Leyna Weber or are the locations where James Haslam worked ?
OR((Q6538104,P19,c(Q56061)), (Q6135695,P937,c(Q56061)))
action filter_type
action union
action find
entity Q6538104
relation P19
action find
entity Q6135695
relation P937
type Q56061
{'OR': [['Q6538104', 'P19', {'concept': 'Q56061'}], ['Q6135695', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q6538104 property:P19 ?k } UNION { resource:Q6135695 property:P937 ?k } } . ?k rdf:type ontology:Q56061 }
James Haslam Leyna Weber
action filter_type
action union
action find
entity Leyna Weber
relation place of birth
action find
entity James Haslam
relation work location
type administrative territorial entity
{'OR': [['Leyna Weber', 'place of birth', {'concept': 'administrative territorial entity'}], ['James Haslam', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Leyna_Weber property:place_of_birth ?k } UNION { resource:James_Haslam property:work_location ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18419 Q84
SYSTEM
Brooklyn, London
Q18419 Q84
OR((Q6538104,P19,c(Q56061)), (Q6135695,P937,c(Q56061)))
action filter_type
action union
action find
entity Q6538104
relation P19
action find
entity Q6135695
relation P937
type Q56061
[ANSWERS] are the birthplace of Leyna Weber or are the locations where James Haslam worked
{'OR': [['Q6538104', 'P19', {'concept': 'Q56061'}], ['Q6135695', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q6538104 property:P19 ?k } UNION { resource:Q6135695 property:P937 ?k } } . ?k rdf:type ontology:Q56061 }
Brooklyn London
Brooklyn and London are the birthplace of Leyna Weber or are the locations where James Haslam worked
Brooklyn London
action filter_type
action union
action find
entity Leyna Weber
relation place of birth
action find
entity James Haslam
relation work location
type administrative territorial entity
{'OR': [['Leyna Weber', 'place of birth', {'concept': 'administrative territorial entity'}], ['James Haslam', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Leyna_Weber property:place_of_birth ?k } UNION { resource:James_Haslam property:work_location ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q955640
P291
Q56061 Q11032 Q732577
USER
How many administrative territories are the locations of publication of less number of newspapers and publications than Glasgow ?
(c(Q11032)|c(Q732577),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q955640
relation P291
type Q11032
type Q732577
[[{'concept': 'Q11032'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?p WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q11032 ) ( ontology:Q732577 ) } } GROUP BY ?p } . FILTER ( ?m < ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P291 resource:Q955640 . { VALUES ( ?i ) { ( ontology:Q11032 ) ( ontology:Q732577 ) } . ?o rdf:type ?i } } } }
Glasgow
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action count
action filter_multi_types
action find_reverse
entity Glasgow
relation place of publication
type newspaper
type publication
[[{'concept': 'newspaper'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?p WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:newspaper ) ( ontology:publication ) } } GROUP BY ?p } . FILTER ( ?m < ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:place_of_publication resource:Glasgow . { VALUES ( ?i ) { ( ontology:newspaper ) ( ontology:publication ) } . ?o rdf:type ?i } } } }
[]
administrative territorial entity newspaper publication
SYSTEM
272
Q807 Q909146 Q2536016 Q2512312 Q27918 Q736775 Q2035368 Q38511 Q3711 Q130191 Q203619 Q393 Q25286 Q1544563 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q323801 Q170497 Q41876 Q749 Q99151 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q132572 Q12411 Q1718 Q43631 Q11125 Q15283655 Q4713350 Q428829 Q1895 Q1155 Q3400328 Q14323 Q14325 Q484799 Q576110 Q5083 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q490 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q2814 Q15093 Q2280 Q162279 Q671288 Q17151 Q1490 Q1191195 Q102217 Q334 Q239 Q16559 Q16554 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q2103 Q1741 Q178093 Q191133 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14314 Q5092 Q15090 Q956 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q23154 Q220 Q340 Q342 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q569661 Q2634 Q3584 Q49179 Q11967 Q1729 Q3519 Q65 Q159232 Q2028 Q62 Q3395358 Q18125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q1352 Q771986 Q49229 Q79990 Q8385 Q493794 Q6537 Q2391194 Q72259 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q985271 Q28848 Q128306 Q3366952 Q997170 Q203263 Q580 Q213898 Q585 Q34370 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q156990 Q3834 Q81137 Q40840 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q11032)|c(Q732577),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q955640
relation P291
type Q11032
type Q732577
[ANSWER]
[[{'concept': 'Q11032'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?p WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q11032 ) ( ontology:Q732577 ) } } GROUP BY ?p } . FILTER ( ?m < ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P291 resource:Q955640 . { VALUES ( ?i ) { ( ontology:Q11032 ) ( ontology:Q732577 ) } . ?o rdf:type ?i } } } }
Lausanne Godalming Crickhowell Eppegem Bad Rappenau Toronto Tremadog Turku Belgrade Norwich Kemi Szczecin Uppsala Hellerup Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Nampula Gloucester Reims Groningen Ourense Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Tiraspol Pontevedra Düsseldorf Leiden Lugo Elverum Alcones Caernarfon Petrozavodsk Busto Arsizio St Athan Mérida Logroño Marbella Nauvoo Seattle Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Milan Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Halle (Saale) Ciudad Real Minsk Kuopio Bend Thessaloniki Tokyo Mold Vitebsk Singapore Brussels Austin Denver Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Bochum Vienna Poughkeepsie Fátima Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Santiago de Compostela Baltimore Lleida Beijing Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Bristol Rome Montreal Quimper Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Königstein im Taunus Naples Nový Jičín Worcester Huesca Erfurt Bari Los Angeles Santa Cruz Verona San Francisco Kidwelly Manchester Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Chennai Chepstow Durham Christchurch Ostrava Dubuque Vicenza Saint-Idesbald Portsmouth Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León The Dalles Saint Paul Denton Alta Waterville Athens Łódź Preveza Oslo Rotterdam Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Monmouth Konstanz Olomouc Tampere Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
272
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action count
action filter_multi_types
action find_reverse
entity Glasgow
relation place of publication
type newspaper
type publication
[[{'concept': 'newspaper'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?p WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:newspaper ) ( ontology:publication ) } } GROUP BY ?p } . FILTER ( ?m < ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:place_of_publication resource:Glasgow . { VALUES ( ?i ) { ( ontology:newspaper ) ( ontology:publication ) } . ?o rdf:type ?i } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q33405
P291
Q56061 Q11032 Q732577
USER
And how about Little Rock?
(c(Q11032)|c(Q732577),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q33405
relation P291
type Q11032
type Q732577
[[{'concept': 'Q11032'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { VALUES ( ?o ) { ( ontology:Q11032 ) ( ontology:Q732577 ) } . ?y rdf:type ?o } . ?y property:P291 resource:Q33405 } } . FILTER ( ?k < ?v ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?k ) WHERE { { ?w rdf:type ontology:Q11032 . ?d rdf:type ontology:Q56061 . ?w property:P291 ?d } UNION { ?w property:P291 ?d . ?w rdf:type ontology:Q732577 . ?d rdf:type ontology:Q56061 } } GROUP BY ?d } }
Little Rock
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action count
action filter_multi_types
action find_reverse
entity Little Rock
relation place of publication
type newspaper
type publication
[[{'concept': 'newspaper'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { VALUES ( ?o ) { ( ontology:newspaper ) ( ontology:publication ) } . ?y rdf:type ?o } . ?y property:place_of_publication resource:Little_Rock } } . FILTER ( ?k < ?v ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?k ) WHERE { { ?w rdf:type ontology:newspaper . ?d rdf:type ontology:administrative_territorial_entity . ?w property:place_of_publication ?d } UNION { ?w property:place_of_publication ?d . ?w rdf:type ontology:publication . ?d rdf:type ontology:administrative_territorial_entity } } GROUP BY ?d } }
[]
administrative territorial entity newspaper publication
SYSTEM
272
Q807 Q909146 Q2536016 Q2512312 Q27918 Q736775 Q2035368 Q38511 Q3711 Q130191 Q203619 Q393 Q25286 Q1544563 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q323801 Q170497 Q41876 Q749 Q99151 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q132572 Q12411 Q1718 Q43631 Q11125 Q15283655 Q4713350 Q428829 Q1895 Q1155 Q3400328 Q14323 Q14325 Q484799 Q576110 Q5083 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q490 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q2814 Q15093 Q2280 Q162279 Q671288 Q17151 Q1490 Q1191195 Q102217 Q334 Q239 Q16559 Q16554 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q2103 Q1741 Q178093 Q191133 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14314 Q5092 Q15090 Q956 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q23154 Q220 Q340 Q342 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q569661 Q2634 Q3584 Q49179 Q11967 Q1729 Q3519 Q65 Q159232 Q2028 Q62 Q3395358 Q18125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q1352 Q771986 Q49229 Q79990 Q8385 Q493794 Q6537 Q2391194 Q72259 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q985271 Q28848 Q128306 Q3366952 Q997170 Q203263 Q580 Q213898 Q585 Q34370 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q156990 Q3834 Q81137 Q40840 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q11032)|c(Q732577),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q33405
relation P291
type Q11032
type Q732577
[ANSWER]
[[{'concept': 'Q11032'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { VALUES ( ?o ) { ( ontology:Q11032 ) ( ontology:Q732577 ) } . ?y rdf:type ?o } . ?y property:P291 resource:Q33405 } } . FILTER ( ?k < ?v ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?k ) WHERE { { ?w rdf:type ontology:Q11032 . ?d rdf:type ontology:Q56061 . ?w property:P291 ?d } UNION { ?w property:P291 ?d . ?w rdf:type ontology:Q732577 . ?d rdf:type ontology:Q56061 } } GROUP BY ?d } }
Lausanne Godalming Crickhowell Eppegem Bad Rappenau Toronto Tremadog Turku Belgrade Norwich Kemi Szczecin Uppsala Hellerup Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Nampula Gloucester Reims Groningen Ourense Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Tiraspol Pontevedra Düsseldorf Leiden Lugo Elverum Alcones Caernarfon Petrozavodsk Busto Arsizio St Athan Mérida Logroño Marbella Nauvoo Seattle Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Milan Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Halle (Saale) Ciudad Real Minsk Kuopio Bend Thessaloniki Tokyo Mold Vitebsk Singapore Brussels Austin Denver Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Bochum Vienna Poughkeepsie Fátima Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Santiago de Compostela Baltimore Lleida Beijing Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Bristol Rome Montreal Quimper Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Königstein im Taunus Naples Nový Jičín Worcester Huesca Erfurt Bari Los Angeles Santa Cruz Verona San Francisco Kidwelly Manchester Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Chennai Chepstow Durham Christchurch Ostrava Dubuque Vicenza Saint-Idesbald Portsmouth Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León The Dalles Saint Paul Denton Alta Waterville Athens Łódź Preveza Oslo Rotterdam Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Monmouth Konstanz Olomouc Tampere Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
272
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action count
action filter_multi_types
action find_reverse
entity Little Rock
relation place of publication
type newspaper
type publication
[[{'concept': 'newspaper'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { VALUES ( ?o ) { ( ontology:newspaper ) ( ontology:publication ) } . ?y rdf:type ?o } . ?y property:place_of_publication resource:Little_Rock } } . FILTER ( ?k < ?v ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?k ) WHERE { { ?w rdf:type ontology:newspaper . ?d rdf:type ontology:administrative_territorial_entity . ?w property:place_of_publication ?d } UNION { ?w property:place_of_publication ?d . ?w rdf:type ontology:publication . ?d rdf:type ontology:administrative_territorial_entity } } GROUP BY ?d } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33405
P20
Q502895
USER
Which people have that administrative territory as place of death ?
action filter_type
action find_reverse
entity Q33405
relation P20
type Q502895
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q33405 . ?u rdf:type ontology:Q502895 }
Little Rock
action filter_type
action find_reverse
entity Little Rock
relation place of death
type common name
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Little_Rock . ?u rdf:type ontology:common_name }
[]
common name
Q497827 Q881361 Q888421
SYSTEM
Sam Walton, Dale Bumpers, Sid McMath
Q6521757 Q8019054 Q6251651 Q216569 Q18631146 Q365646 Q365863 Q6708897 Q2133994 Q15998872 Q881267 Q712035 Q788199 Q138376 Q1063648 Q1867942 Q664816 Q365347 Q2536717 Q2466305 Q6766302 Q16013594 Q1680390 Q2645353 Q16268148 Q4280514 Q6281736 Q880580 Q2641352 Q16024992 Q992633 Q16011158 Q883159 Q365339 Q18351473 Q263663 Q881361 Q117687 Q2579823 Q1560606 Q822712 Q21151293 Q18223637 Q4757453 Q4755708 Q7344791 Q4942298 Q1322292 Q6697571 Q880633 Q15429727 Q5498932 Q2159151 Q6251957 Q888421 Q1372619 Q8026578 Q4913250 Q888980 Q885104 Q2578733 Q364798 Q862172 Q774113 Q3444832 Q442138 Q13560679 Q3018570 Q6238937 Q1063881 Q364720 Q365037 Q35851 Q2013359 Q7791733 Q648563 Q16008805 Q327041 Q1027673 Q862064 Q5535934 Q373923 Q497827 Q593592 Q903331 Q1604966 Q3531317 Q11440 Q364964 Q1700330 Q365653 Q3101535 Q7297430 Q7238751 Q365015 Q1174229 Q365010
action filter_type
action find_reverse
entity Q33405
relation P20
type Q502895
[ANSWERS] have that administrative territory as place of death
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q33405 . ?u rdf:type ontology:Q502895 }
Len E. Blaylock William T. Dillard John P. McCown Roy Scheider Agripino Cawich Junius Marion Futrell George Washington Donaghey Lynn A. Davis Ray Thornton Larry Quigley Harvey Parnell Frank D. White William L. Terry John Ellis Martineau Charles B. Mitchel Logan H. Roots Dale Alford George Washington Hays W. Jasper Blackburn Frank Glasgow Tinker Marjorie Lawrence Osro Cobb James Fleming Fagan Alfred Kähler Pietro Bandini George R. Mann Joseph Brooks James Paul Clarke Alex Hill Anita Blackmon James B. Reed Drew Bowers William S. Fulton Tom Jefferson Terral Alvin Bell Lisa Blount Dale Bumpers Oren Harris William Marmaduke Kavanaugh William Lee Cazort Bernard Smith William A. Culpepper Dick Hogan Andrew Jackson Bettwy Andree Layton Roaf Robert Ginnaven Bonnie Brown Anne Pressly Lucius M. Walker John Sebastian Little Ben M. Bogard Frederick W. Allsopp Robert Ward Johnson John Parks Almand Sid McMath John Little McClellan Winthrop Paul Rockefeller Billy Robinson Xenophon Overton Pindall George Izard William F. Kirby Elias Nelson Conway Bill Gwatney Angelo Mercurio John Gould Fletcher Thaddeus H. Caraway Jenny Eakin Delony David Owen Dodd John Henry Rogers Charles C. Reid Henry Massey Rector Daniel Webster Jones Bill Hicks Daisy Bates Thomas Lavy Dale Hawkins Wallace Townsend Thomas James Churchill John Netherland Heiskell Bill Dickey George A. Burton Claiborne Fox Jackson Sam Walton James Philip Eagle Dee Brown Henderson M. Jacoway Tommy Freeman Danielle Bunten Berry William Read Miller John H. Rogers Carl Edward Bailey George Dueward Foss Ray E. Porter Pratt C. Remmel Jeff Davis David D. Terry Simon Pollard Hughes
Sam Walton, Dale Bumpers and Sid McMath have that administrative territory as place of death
Sam Walton Dale Bumpers Sid McMath
action filter_type
action find_reverse
entity Little Rock
relation place of death
type common name
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Little_Rock . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q497827 Q881361 Q888421
P607
Q198
USER
Which battles did those people take part in ?
(Q497827,P607,c(Q198)) (Q881361,P607,c(Q198)) (Q888421,P607,c(Q198))
action filter_type
action find
entity prev_answer
relation P607
type Q198
['Q497827', 'P607', {'concept': 'Q198'}] ['Q881361', 'P607', {'concept': 'Q198'}] ['Q888421', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { ?n property:P607 ?d . ?d rdf:type ontology:Q198 . VALUES ( ?n ) { ( resource:Q6521757 ) ( resource:Q8019054 ) ( resource:Q6251651 ) } }
Sam Walton Dale Bumpers Sid McMath
action filter_type
action find
entity prev_answer
relation conflict
type war
['Sam Walton', 'conflict', {'concept': 'war'}] ['Dale Bumpers', 'conflict', {'concept': 'war'}] ['Sid McMath', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { ?n property:conflict ?d . ?d rdf:type ontology:war . VALUES ( ?n ) { ( resource:Len_E._Blaylock ) ( resource:William_T._Dillard ) ( resource:John_P._McCown ) } }
[]
war
Q362 Q362 Q362
SYSTEM
World War II
Q362 Q362 Q362
(Q497827,P607,c(Q198)) (Q881361,P607,c(Q198)) (Q888421,P607,c(Q198))
action filter_type
action find
entity prev_answer
relation P607
type Q198
Those people took part in [ANSWER], [ANSWER] and [ANSWER]
['Q497827', 'P607', {'concept': 'Q198'}] ['Q881361', 'P607', {'concept': 'Q198'}] ['Q888421', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { ?n property:P607 ?d . ?d rdf:type ontology:Q198 . VALUES ( ?n ) { ( resource:Q6521757 ) ( resource:Q8019054 ) ( resource:Q6251651 ) } }
World War II World War II World War II
Those people took part in World War II, World War II and World War II
World War II World War II World War II
action filter_type
action find
entity prev_answer
relation conflict
type war
['Sam Walton', 'conflict', {'concept': 'war'}] ['Dale Bumpers', 'conflict', {'concept': 'war'}] ['Sid McMath', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { ?n property:conflict ?d . ?d rdf:type ontology:war . VALUES ( ?n ) { ( resource:Len_E._Blaylock ) ( resource:William_T._Dillard ) ( resource:John_P._McCown ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q497827
P26
Q502895
USER
Which person is the life partner of Sam Walton ?
(Q497827,P26,c(Q502895))
action filter_type
action find
entity Q497827
relation P26
type Q502895
['Q497827', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q497827 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Sam Walton
action filter_type
action find
entity Sam Walton
relation spouse
type common name
['Sam Walton', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Sam_Walton property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q256075
SYSTEM
Helen Walton
Q256075
(Q497827,P26,c(Q502895))
action filter_type
action find
entity Q497827
relation P26
type Q502895
[ANSWER] is the life partner of Sam Walton
['Q497827', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q497827 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Helen Walton
Helen Walton is the life partner of Sam Walton
Helen Walton
action filter_type
action find
entity Sam Walton
relation spouse
type common name
['Sam Walton', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Sam_Walton property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q355304 Q56061
USER
How many administrative territories are situated close to atleast 1 waterways and watercourses ?
(c(Q56061),P206,c(Q1267889)|c(Q355304))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q355304
value 1
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?j ) WHERE { { ?b rdf:type ontology:Q56061 . ?e rdf:type ontology:Q355304 . ?b property:P206 ?e } UNION { ?b property:P206 ?e . ?b rdf:type ontology:Q56061 . ?e rdf:type ontology:Q1267889 } } GROUP BY ?b } }
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
value 1
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?j ) WHERE { { ?b rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:watercourse . ?b property:located_next_to_body_of_water ?e } UNION { ?b property:located_next_to_body_of_water ?e . ?b rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:waterway } } GROUP BY ?b } }
[]
waterway watercourse administrative territorial entity
SYSTEM
567
Q165736 Q991950 Q1721578 Q84 Q2003600 Q157478 Q1718 Q2752171 Q539767 Q305067 Q3876 Q990253 Q898 Q1586529 Q3246724 Q3711 Q23311 Q3238 Q3143983 Q41057 Q16650704 Q2207185 Q2222516 Q3844 Q1395576 Q18682692 Q2047623 Q10014 Q643835 Q515728 Q321197 Q7054 Q2335714 Q2454052 Q11882295 Q1715 Q1520342 Q3150 Q18682889 Q16168559 Q10084 Q895123 Q846242 Q1083051 Q18808 Q253741 Q985642 Q369911 Q1309 Q991532 Q934511 Q4093 Q955992 Q144773 Q3659 Q1780116 Q1667345 Q2415951 Q987 Q2451654 Q6672525 Q11874170 Q577891 Q13648690 Q175258 Q209176 Q1754096 Q746096 Q2135238 Q653025 Q387502 Q2284683 Q162857 Q1521199 Q1757 Q1025910 Q4201085 Q1022 Q769631 Q15377069 Q251091 Q571970 Q2987335 Q1685683 Q15241516 Q257034 Q2500974 Q1252635 Q9365 Q9361 Q47048 Q90 Q1519942 Q985587 Q3563897 Q986645 Q2441552 Q588293 Q486792 Q1610396 Q371532 Q3397397 Q956954 Q34820 Q9375247 Q1930 Q786111 Q2007261 Q1033978 Q2539726 Q2305394 Q20205325 Q17332337 Q597 Q73462 Q3183256 Q2287228 Q3036324 Q20714928 Q185404 Q93347 Q3748 Q11901685 Q365 Q5836 Q1020231 Q641390 Q1845104 Q572034 Q26362 Q624065 Q11866294 Q2465220 Q617407 Q3323 Q103255 Q2060859 Q8546656 Q16015040 Q3026650 Q478036 Q18923859 Q9270 Q2886833 Q2599767 Q635806 Q1779522 Q2916660 Q968631 Q379531 Q24861 Q1526933 Q793407 Q1009524 Q7018666 Q427708 Q160642 Q14935628 Q903595 Q163091 Q2078223 Q185582 Q73221 Q9326 Q156717 Q573599 Q1520 Q1646181 Q925506 Q9911 Q1776515 Q554655 Q1709 Q28218 Q4527424 Q2861 Q793 Q621483 Q13403152 Q6477002 Q18682920 Q1614071 Q43070 Q932008 Q3703 Q2059003 Q1963 Q37133 Q2069566 Q314367 Q1842 Q2525207 Q740066 Q2598092 Q997775 Q550373 Q2174345 Q2627252 Q504544 Q3630 Q200783 Q988658 Q18682241 Q4070552 Q16636995 Q1165854 Q5474003 Q755657 Q3832 Q334 Q239 Q4083 Q995806 Q1094123 Q733368 Q15377091 Q995159 Q508998 Q2300996 Q3037 Q2379952 Q3033 Q1004822 Q238803 Q932955 Q1908062 Q542647 Q948468 Q145638 Q894535 Q1563 Q523651 Q1741 Q987797 Q987790 Q2543792 Q18682719 Q2335535 Q2391779 Q85 Q15241507 Q533456 Q9536 Q10707890 Q2090 Q2255057 Q2933890 Q1487909 Q629786 Q2229853 Q737877 Q2103 Q2918470 Q73031 Q2543086 Q1735 Q1143278 Q984973 Q3398922 Q773280 Q2950738 Q2924158 Q19297212 Q3856 Q1785679 Q36281 Q7481520 Q70 Q425780 Q3743068 Q1648515 Q1585348 Q1390387 Q2321706 Q12191 Q3674 Q5912898 Q992474 Q270 Q60 Q1957 Q109535 Q2336499 Q23564 Q1519434 Q690 Q1906235 Q3828 Q285323 Q961068 Q537214 Q18681966 Q109386 Q2729544 Q2160909 Q3051477 Q192098 Q15241652 Q26296883 Q18663090 Q5189288 Q649738 Q715 Q567332 Q4374268 Q3001 Q21197 Q10717 Q1129607 Q1018225 Q180333 Q543904 Q592123 Q990651 Q2578642 Q252466 Q7107283 Q2842582 Q437 Q390588 Q3551 Q1265670 Q384 Q858775 Q865808 Q18419 Q2329846 Q1780 Q1781 Q658902 Q2659563 Q1003576 Q2529554 Q2682753 Q1025014 Q11897598 Q4067724 Q914755 Q227064 Q1850 Q1070428 Q477232 Q244327 Q1314479 Q1490863 Q285778 Q2807 Q4357920 Q35381 Q259617 Q3407596 Q4405293 Q959517 Q5638429 Q4207520 Q183104 Q17315652 Q2225806 Q1025055 Q2424732 Q2538313 Q208143 Q806414 Q593141 Q1785595 Q165486 Q3739 Q25230 Q2637838 Q16015068 Q2787064 Q1823092 Q617 Q952497 Q181359 Q1243780 Q19613854 Q1012411 Q15241991 Q19906849 Q2574529 Q155955 Q34713 Q5068781 Q1737 Q1545679 Q10690 Q915 Q1200892 Q161912 Q3028239 Q1997485 Q11889617 Q2007254 Q14945 Q2911365 Q1538830 Q12047 Q2267399 Q671557 Q4454 Q1800099 Q9974 Q989288 Q987243 Q614706 Q2927534 Q276274 Q1726 Q503640 Q1792879 Q2511670 Q569804 Q1423660 Q345389 Q1729 Q1721184 Q3909 Q2931074 Q7056872 Q755389 Q64 Q1011866 Q61 Q736131 Q41572 Q306440 Q1567437 Q3766 Q9125 Q1861 Q15552182 Q1870405 Q868647 Q2194010 Q12439 Q83065 Q269 Q1794939 Q2392235 Q661700 Q1947 Q2674551 Q1981987 Q162065 Q1160017 Q1591499 Q50960 Q2751941 Q676689 Q2498737 Q939609 Q1533868 Q795623 Q840681 Q2077402 Q2784834 Q2351343 Q985659 Q971550 Q13400194 Q2868 Q1886770 Q3640 Q1394778 Q5132825 Q2682566 Q647 Q40747 Q2087380 Q820949 Q727 Q649 Q3012 Q894955 Q2579332 Q504678 Q990527 Q2014445 Q2948574 Q140147 Q990130 Q427044 Q28848 Q3112541 Q598948 Q79848 Q806799 Q910997 Q766896 Q2830827 Q586 Q585 Q34370 Q954764 Q1734018 Q1669399 Q16531502 Q630478 Q9279 Q820024 Q220 Q2704 Q1040 Q986675 Q1713141 Q579556 Q11900887 Q464955 Q508056 Q100 Q506700 Q6899495 Q11873187 Q963894 Q2281721 Q2319224 Q204234 Q787279 Q750760 Q19613699 Q988100 Q1006998 Q353307 Q2235 Q1025353 Q2432955 Q55630 Q7618827 Q4100 Q216 Q4914513 Q16016733 Q878809 Q4998230 Q19612988 Q3726 Q57006 Q1742334 Q5674391 Q615732 Q36168 Q956125 Q630334 Q2051589 Q1553283 Q2409481 Q1341 Q578026 Q1964137 Q503763 Q2355915 Q2303243 Q1531454 Q1017 Q4190 Q18399563 Q15241523 Q1850580 Q2585002 Q1522881 Q5646331 Q179385 Q1248930 Q1728043 Q1743660 Q1085
(c(Q56061),P206,c(Q1267889)|c(Q355304))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q355304
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?j ) WHERE { { ?b rdf:type ontology:Q56061 . ?e rdf:type ontology:Q355304 . ?b property:P206 ?e } UNION { ?b property:P206 ?e . ?b rdf:type ontology:Q56061 . ?e rdf:type ontology:Q1267889 } } GROUP BY ?b } }
Doesburg Karczew Tagazar London Walton-on-Thames Lesozavodsk Düsseldorf Ardnacrusha Ivalo Gniew Lilongwe Henley-on-Thames Omsk Rothneusiedl Bisham Belgrade City of London Tegucigalpa Lekkerkerk Topeka Innokent'evka Terneuzen Sansané Haoussa Brazzaville Nussdorf Kirkonkylä Strzyżów Kampen Arfurt Harburg-Wilhelmsburg Cieszyn Dalnegorsk Steeden Olney Metsäkylä Hanover Turvey Jena Väli-Olhava Novozhatkovo Vlissingen Boumba Nieuw-Lekkerland Swanscombe Pyongyang Grinzing Góra Kalwaria Athlone Maastricht Grays Papendrecht Glasgow Kobryn Zakroczym N'Djamena Cold Brayfield Marienwerder Whitchurch-on-Thames New Delhi Trentemoult Long Ditton Kätkäsuvanto East St. Louis Taradei Novosil Ely Weybridge North Shields East Tilbury Bergambacht Świecie Mobridge Kourfeye Centre Great Barford Helsinki Maïné-Soroa Innishannon Stuttgart Drohiczyn Zellerfeld Athy Torgelow East Cowes Jean Marie River Alchan Kemble Richmond Doulsou Dushanbe Bishkek Oulu Paris Bromham Lee-on-the-Solent Vyadhapura Imanan Tondikandia Sonning Aranjuez Egham Hythe Lisala Radley Kaspi Santo Domingo Winniki Ottawa Kokorou N'Gonga Canvey Island Ashton Keynes Karesuvanto Hattian Dupatta Grand Forks, Yukon Lisbon Zaltbommel Opheusden Simmering Pangbourne Port Famine Bundaberg Mostar Monrovia Virkkula Cologne Toledo Newport Pagnell Breskens Little Thetford Eggesin Lebus Molesey Jeesiö Putney Eton Belgorod Alatyr Nieuw-Beijerland Hurley Ariadnoye Lexmond Schoonhoven Busse Thimphu Basildon, Berkshire Yatakala Runkel Kolmane Brakel Corringham, Essex Heiligenstadt Albany Hacking Ayourou Whalley Newnham Murren Chamberlain Salisbury Lune River Volendam Zwiesel Kelmscott Knoxville Tiel Vientiane Khmelnytskyi Weilburg Astana Worcester Brok Den Helder New Bradwell Ronneburg Schwerin Baton Rouge Shuyskoye, Vologda Oblast Rostock Zwolle Villmar Loenen aan de Vecht Vuotso Yli-Olhava Dodewaard Donetsk Maarssen Bamako Bourne End Khartoum Mariupol Penzing Tunxdorf Luxembourg Ochten Kinderdijk Shorne Palojoensuu Godstow Rudolfsheim Katwijk aan den Rijn Ellingen Jakarta Monschau Połaniec Mankila Arkhangelovka Glazovka Dargol Köngäs Athlunkard Bangui Singapore Brussels Eschweiler Dobrzyń nad Wisłą Rhoda Island Hoofdplaat Clausthal Ciechanowiec Marlow Caversham, Berkshire Kathmandu Moulsford Göttingen Bumba, Democratic Republic of the Congo Maidenhead Scharsterbrug Matankari Méhana Carabane Kashira Bosso Havana St Mary Hoo Vienna Leixlip Inagh Youri Tepasto Deest Tamou Cairo Arkhipovka Cricklade Bad Doberan Olhava Nuremberg Iffley Stoneleigh Sinder Wraysbury Velsen-Noord Termunten Bochum Rossum, Gelderland Kessel Blanchland Innsbruck Twickenham Laleham Y Felinheli Aumenau Waarde Bray Neuses Nicosia Sambéra Roseau Wolvercote Bern 's-Gravendeel Muonio Tounouga Harikanassou Fabidji Kingston upon Thames Nantes Niamey Houghton, Cambridgeshire Taplow Warsaw New York City Vologda Zutphen Higham, Kent Podgorica Carlton Delft Łomianki Dessau-Roßlau Staines-upon-Thames Chétimari Prenzlau Kaukonen Nampho Rotterdam Centrum Rodaun Ellewoutsdijk Oymyakon Busse Deventer Ylikiiminki Crowmarsh Gifford Alto Douro Heilbronn Annopol Mapledurham Paramaribo Chișinău Georgetown Cookham St Neots Foča Bagdad, Tamaulipas Medmenham Kozienice Purley on Thames Treuchtlingen Osney Ameide Ljubljana Metković Rabat Dungass Skopje Dartford Birni N'Gaouré Brooklyn Sandford-on-Thames Bratislava Budapest Otley Little Wittenham Say Old Windsor Werkendam Inari Tikkaperä Anuchino Dogo Zoutelande Phnom Penh Chertsey Aktobe Gorinchem Sorbon Haoussa Gaden bei Pförring Datchet Madrid Kuttura Colombo Wasserburg am Inn Kennington, Oxfordshire Fobbing Koygolo Hafslundsøy Kazakevichevo Feldkirch Siikajoenkylä Sassoumbroum Kruiningen Zuilichem Wacha Wigan Bandé Philip Kourteye Kempston Bissau Guernsey Vlissingen-Oost Venyukovo Long Wittenham Liboré Padua Letterkenny Talavera de la Reina Dorchester on Thames Bogoslovka Culham Nizhnie Luzhki Novorossiyka Stanford-le-Hope Kuybyshev Salzburg Chalk, Kent Bregenz Shepperton Cardiff Perm Dessa Solec Kujawski Greenhithe Littleport Raattama N'Dounga Merseburg Borssele Gothèye Mügeln Krimpen aan de Lek Brackley Khabarovsk Wytham Weesp Yankton Kollo Anzourou Allhallows Wolverton Munich Gunzenhausen Canning Town Tima Wyszogród Hütteldorf Łochów Erfurt Kahlenbergerdorf Maseru Termunterzijl North Stoke, Oxfordshire Athenry Berlin Tillabéri Washington, D.C. Alblasserdam Mykolaiv Abbeyfeale Hadersdorf-Weidlingau Damascus Winterthur Bangkok Tikhmenevo Lorrha Southport Sunbury-on-Thames Detroit Leicester Tashkent Kwaya Tanda Sankt Andreasberg Juba West Tilbury Neuwaldegg Dishoek Perim Havelse Demmin South Stoke, Oxfordshire Gravesend Dorney Lechlade Godmanchester Oud-Beijerland Kinsale Aldeburgh Dreumel Benson, Oxfordshire Ciechocinek West Thurrock Dornbach Lima Malawa Ankara Falmey Cliffe, Kent Clifton Hampden Rennes Pierre Northfleet Gougane Barra Amsterdam Moscow Ulm Boubon Appleford-on-Thames Berwick-upon-Tweed Diffa Bath, Netherlands Champ d'Asile Brest Hook of Holland Guilladjé Saint Paul Vuren Wargrave Southampton Bankilaré Wyszków Gaya Remenham Bonn Oslo Rotterdam Thames Ditton Karma Killorglin Baryshevo Rixensart Bandar Seri Begawan Kupiškis Rome Pescara Karlsruhe Gorouol Juliusplate Labasa Venetpalo Windsor Filingué Boston Ueckermünde Mongewell Kuivaniemi Kilrush Teddington Goring-on-Thames Milton Keynes Stony Stratford Sliedrecht Beloyarovo Wallingford Sutton Courtenay Addlestone Veliky Novgorod Cadzand-Bad Isleworth Novi Sad Stone, Kent Baden-Baden Vilnius Binsey, Oxfordshire Orlinoye Bitinkodji Burcot, Oxfordshire Abaykan Banjul Emmerich am Rhein Kiota Hartford, Cambridgeshire Breukelen Bridgetown Kouré Bad Berka Streatley, Berkshire Gueskérou Little Thurrock Tolyatti Kleszczele Namaro Pappenheim Czyżew Shiplake Glin Aachen Passau Argunskoye Abramovka Hambleden Brockham Killaloe, County Clare Hampton Wick Greenwich Bishop's Waltham Sheremetyevo Kirtachi Prague
567
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
value 1
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?j ) WHERE { { ?b rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:watercourse . ?b property:located_next_to_body_of_water ?e } UNION { ?b property:located_next_to_body_of_water ?e . ?b rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:waterway } } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q256075
P106
Q12737077
USER
What does Helen Walton do for a living ?
(Q256075,P106,c(Q12737077))
action filter_type
action find
entity Q256075
relation P106
type Q12737077
['Q256075', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q256075 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Helen Walton
action filter_type
action find
entity Helen Walton
relation occupation
type occupation
['Helen Walton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Helen_Walton property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q43845
SYSTEM
businessperson
Q43845
(Q256075,P106,c(Q12737077))
action filter_type
action find
entity Q256075
relation P106
type Q12737077
Helen Walton does for a living as [ANSWER]
['Q256075', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q256075 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
businessperson
Helen Walton does for a living as businessperson
businessperson
action filter_type
action find
entity Helen Walton
relation occupation
type occupation
['Helen Walton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Helen_Walton property:occupation ?j . ?j rdf:type ontology:occupation }
[]