Simple Question (Direct)
Simple Question
Q2326937
P69
Q3918
USER
Where was Rickey Green educated ?
(Q2326937,P69,c(Q3918))
action filter_type
action find
entity Q2326937
relation P69
type Q3918
['Q2326937', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?l WHERE { resource:Q2326937 property:P69 ?l . ?l rdf:type ontology:Q3918 }
Rickey Green
action filter_type
action find
entity Rickey Green
relation educated at
type university
['Rickey Green', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?l WHERE { resource:Rickey_Green property:educated_at ?l . ?l rdf:type ontology:university }
[]
university
Q230492
SYSTEM
University of Michigan
Q230492
(Q2326937,P69,c(Q3918))
action filter_type
action find
entity Q2326937
relation P69
type Q3918
Rickey Green was educated in [ANSWER]
['Q2326937', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?l WHERE { resource:Q2326937 property:P69 ?l . ?l rdf:type ontology:Q3918 }
University of Michigan
Rickey Green was educated in University of Michigan
University of Michigan
action filter_type
action find
entity Rickey Green
relation educated at
type university
['Rickey Green', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?l WHERE { resource:Rickey_Green property:educated_at ?l . ?l rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2326937
P106
Q12737077
USER
What does that person do for a living ?
(Q230492,P106,c(Q12737077))
action filter_type
action find
entity Q2326937
relation P106
type Q12737077
['Q230492', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q2326937 property:P106 ?m }
Rickey Green
action filter_type
action find
entity Rickey Green
relation occupation
type occupation
['University of Michigan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Rickey_Green property:occupation ?m }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q230492,P106,c(Q12737077))
action filter_type
action find
entity Q2326937
relation P106
type Q12737077
That person does a [ANSWER] for a living
['Q230492', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q2326937 property:P106 ?m }
basketball player
That person does a basketball player for a living
basketball player
action filter_type
action find
entity Rickey Green
relation occupation
type occupation
['University of Michigan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Rickey_Green property:occupation ?m }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6550228 Q2326937
P106
Q12737077
USER
Or Linah Mohohlo?
OR((Q2326937,P106,c(Q12737077)), (Q6550228,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2326937
relation P106
action find
entity Q6550228
relation P106
type Q12737077
{'OR': [['Q2326937', 'P106', {'concept': 'Q12737077'}], ['Q6550228', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2326937 property:P106 ?x } UNION { resource:Q6550228 property:P106 ?x } } . ?x rdf:type ontology:Q12737077 }
Linah Mohohlo Rickey Green
action filter_type
action union
action find
entity Rickey Green
relation occupation
action find
entity Linah Mohohlo
relation occupation
type occupation
{'OR': [['Rickey Green', 'occupation', {'concept': 'occupation'}], ['Linah Mohohlo', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Rickey_Green property:occupation ?x } UNION { resource:Linah_Mohohlo property:occupation ?x } } . ?x rdf:type ontology:occupation }
[]
occupation
Q806798 Q3665646
SYSTEM
banker, basketball player
Q806798 Q3665646
OR((Q2326937,P106,c(Q12737077)), (Q6550228,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2326937
relation P106
action find
entity Q6550228
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q2326937', 'P106', {'concept': 'Q12737077'}], ['Q6550228', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2326937 property:P106 ?x } UNION { resource:Q6550228 property:P106 ?x } } . ?x rdf:type ontology:Q12737077 }
banker basketball player
banker basketball player
action filter_type
action union
action find
entity Rickey Green
relation occupation
action find
entity Linah Mohohlo
relation occupation
type occupation
{'OR': [['Rickey Green', 'occupation', {'concept': 'occupation'}], ['Linah Mohohlo', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Rickey_Green property:occupation ?x } UNION { resource:Linah_Mohohlo property:occupation ?x } } . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230492
P17
Q15617994
USER
Which administrative territory is University of Michigan located in ?
(Q230492,P17,c(Q15617994))
action filter_type
action find
entity Q230492
relation P17
type Q15617994
['Q230492', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q230492 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
University of Michigan
action filter_type
action find
entity University of Michigan
relation country
type designation for an administrative territorial entity
['University of Michigan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:University_of_Michigan property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q230492,P17,c(Q15617994))
action filter_type
action find
entity Q230492
relation P17
type Q15617994
University of Michigan is located in [ANSWER]
['Q230492', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q230492 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
United States of America
University of Michigan is located in United States of America
United States of America
action filter_type
action find
entity University of Michigan
relation country
type designation for an administrative territorial entity
['University of Michigan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:University_of_Michigan property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q230492
P123
Q21114848
USER
Which magazine genres were released by that university ?
(c(Q21114848),P123,Q30)
action filter_type
action find_reverse
entity Q230492
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q30']
SELECT DISTINCT ?o WHERE { ?o property:P123 resource:Q230492 . ?o rdf:type ontology:Q21114848 }
University of Michigan
action filter_type
action find_reverse
entity University of Michigan
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'United States of America']
SELECT DISTINCT ?o WHERE { ?o property:publisher resource:University_of_Michigan . ?o rdf:type ontology:magazine_genre }
[]
magazine genre
Q6837650 Q6837586
SYSTEM
Michigan Quarterly Review, Michigan Journal of Political Science
Q6837650 Q6837586
(c(Q21114848),P123,Q30)
action filter_type
action find_reverse
entity Q230492
relation P123
type Q21114848
University [ANSWERS] were released by that university
[{'concept': 'Q21114848'}, 'P123', 'Q30']
SELECT DISTINCT ?o WHERE { ?o property:P123 resource:Q230492 . ?o rdf:type ontology:Q21114848 }
Michigan Quarterly Review Michigan Journal of Political Science
University Michigan Quarterly Review and Michigan Journal of Political Science were released by that university
Michigan Quarterly Review Michigan Journal of Political Science
action filter_type
action find_reverse
entity University of Michigan
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'United States of America']
SELECT DISTINCT ?o WHERE { ?o property:publisher resource:University_of_Michigan . ?o rdf:type ontology:magazine_genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q90
P291
Q56061 Q21114848
USER
How many administrative territories were less number of magazine genres published than Paris ?
(c(Q21114848),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find_reverse
entity Q90
relation P291
type Q21114848
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:P291 ?x . ?x rdf:type ontology:Q56061 . ?p rdf:type ontology:Q21114848 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P291 resource:Q90 . ?e rdf:type ontology:Q21114848 } } . FILTER ( ?k < ?t ) }
Paris
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find_reverse
entity Paris
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:place_of_publication ?x . ?x rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:magazine_genre } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:place_of_publication resource:Paris . ?e rdf:type ontology:magazine_genre } } . FILTER ( ?k < ?t ) }
[]
administrative territorial entity magazine genre
SYSTEM
336
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 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 Q15468 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q2617448 Q37100 Q38022 Q36405 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 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 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(Q21114848),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find_reverse
entity Q90
relation P291
type Q21114848
[ANSWER]
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:P291 ?x . ?x rdf:type ontology:Q56061 . ?p rdf:type ontology:Q21114848 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P291 resource:Q90 . ?e rdf:type ontology:Q21114848 } } . FILTER ( ?k < ?t ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo 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 Badalona Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Edinburgh Auckland St. Louis Aberdeen New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester 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 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
336
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find_reverse
entity Paris
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:place_of_publication ?x . ?x rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:magazine_genre } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:place_of_publication resource:Paris . ?e rdf:type ontology:magazine_genre } } . FILTER ( ?k < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1085
P291
Q56061 Q21114848
USER
And how about Prague?
(c(Q21114848),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find_reverse
entity Q1085
relation P291
type Q21114848
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?s ) WHERE { ?t rdf:type ontology:Q56061 . ?x rdf:type ontology:Q21114848 . ?x property:P291 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:Q21114848 . ?y property:P291 resource:Q1085 } } . FILTER ( ?s < ?c ) }
Prague
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find_reverse
entity Prague
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?s ) WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:magazine_genre . ?x property:place_of_publication ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:magazine_genre . ?y property:place_of_publication resource:Prague } } . FILTER ( ?s < ?c ) }
[]
administrative territorial entity magazine genre
SYSTEM
315
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q484678 Q151920 Q13375 Q36378 Q4093 Q2560090 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 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 Q15468 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16555 Q16557 Q486306 Q621 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q2617448 Q36405 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q582121 Q16567 Q14318 Q5092 Q15090 Q134620 Q15095 Q15098 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 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 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 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q21114848),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find_reverse
entity Q1085
relation P291
type Q21114848
[ANSWER]
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?s ) WHERE { ?t rdf:type ontology:Q56061 . ?x rdf:type ontology:Q21114848 . ?x property:P291 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:Q21114848 . ?y property:P291 resource:Q1085 } } . FILTER ( ?s < ?c ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Berkeley Tiberias Pisa Fribourg Glasgow Athol 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 Reims Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo 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 Badalona Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Houston Dallas Pensacola Versailles Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria Milborne Port Welshpool Buda Adelaide Bochum Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Edinburgh Aberdeen New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Bradenton Columbus Vitoria-Gasteiz Baltimore Lleida Jyväskylä Albacete Cuenca 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 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 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 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
315
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find_reverse
entity Prague
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?s ) WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:magazine_genre . ?x property:place_of_publication ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:magazine_genre . ?y property:place_of_publication resource:Prague } } . FILTER ( ?s < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q211
P85
Q484692 Q7725634 Q15617994
USER
Which administrative territories have lesser number of hymns and literary works as their national anthem than Latvia ?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q211
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?d < ?q ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { { ?m rdf:type ontology:Q484692 } UNION { ?m rdf:type ontology:Q7725634 } } . resource:Q211 property:P85 ?m } } . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?d ) WHERE { { ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q484692 . ?h property:P85 ?b } UNION { ?h property:P85 ?b . ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?h } }
Latvia
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Latvia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?d < ?q ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { { ?m rdf:type ontology:hymn } UNION { ?m rdf:type ontology:literary_work } } . resource:Latvia property:anthem ?m } } . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?d ) WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:hymn . ?h property:anthem ?b } UNION { ?h property:anthem ?b . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:literary_work } } GROUP BY ?h } }
[]
hymn literary work designation for an administrative territorial entity
Q142 Q1093 Q773
SYSTEM
France, Limburg, Overijssel
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q211
relation P85
type Q484692
type Q7725634
[ANSWERS] have lesser number of hymns and literary works as their national anthem than Latvia
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?d < ?q ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { { ?m rdf:type ontology:Q484692 } UNION { ?m rdf:type ontology:Q7725634 } } . resource:Q211 property:P85 ?m } } . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?d ) WHERE { { ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q484692 . ?h property:P85 ?b } UNION { ?h property:P85 ?b . ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?h } }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
France, Limburg and Overijssel have lesser number of hymns and literary works as their national anthem than Latvia
France Limburg Overijssel
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Latvia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?d < ?q ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { { ?m rdf:type ontology:hymn } UNION { ?m rdf:type ontology:literary_work } } . resource:Latvia property:anthem ?m } } . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?d ) WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:hymn . ?h property:anthem ?b } UNION { ?h property:anthem ?b . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:literary_work } } GROUP BY ?h } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were approximately the same number of fictional locations inspired by as that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q142
SYSTEM
Did you mean France ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean France ?
France
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q159 Q55 Q142
SYSTEM
Russia, Netherlands, France
Q142 Q159 Q424 Q794 Q33 Q954 Q31 Q889 Q55
(c(Q3895768),P941,c(Q15617994))
[ANSWERS] were approximately the same number of fictional locations inspired by as that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
France Russia Cambodia Iran Finland Zimbabwe Belgium Afghanistan Netherlands
Russia, Netherlands and France were approximately the same number of fictional locations inspired by as that administrative territory
Russia Netherlands France
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q904269
P530
Q1048835
USER
Do Urretxu have ambassadorial relations with those administrative territories ?
(Q904269,P530,Q159) (Q904269,P530,Q55) (Q904269,P530,Q142)
action is_in
entity prev_answer
action find
entity Q904269
relation P530
['Q904269', 'P530', 'Q159'] ['Q904269', 'P530', 'Q55'] ['Q904269', 'P530', 'Q142']
ASK WHERE { VALUES ( ?x ) { ( resource:Q142 ) ( resource:Q159 ) ( resource:Q424 ) } . resource:Q904269 property:P530 ?x }
Urretxu
action is_in
entity prev_answer
action find
entity Urretxu
relation diplomatic relation
['Urretxu', 'diplomatic relation', 'Russia'] ['Urretxu', 'diplomatic relation', 'Netherlands'] ['Urretxu', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?x ) { ( resource:France ) ( resource:Russia ) ( resource:Cambodia ) } . resource:Urretxu property:diplomatic_relation ?x }
[]
political territorial entity
SYSTEM
NO
(Q904269,P530,Q159) (Q904269,P530,Q55) (Q904269,P530,Q142)
action is_in
entity prev_answer
action find
entity Q904269
relation P530
[ANSWER]
['Q904269', 'P530', 'Q159'] ['Q904269', 'P530', 'Q55'] ['Q904269', 'P530', 'Q142']
ASK WHERE { VALUES ( ?x ) { ( resource:Q142 ) ( resource:Q159 ) ( resource:Q424 ) } . resource:Q904269 property:P530 ?x }
No
action is_in
entity prev_answer
action find
entity Urretxu
relation diplomatic relation
['Urretxu', 'diplomatic relation', 'Russia'] ['Urretxu', 'diplomatic relation', 'Netherlands'] ['Urretxu', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?x ) { ( resource:France ) ( resource:Russia ) ( resource:Cambodia ) } . resource:Urretxu property:diplomatic_relation ?x }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with max number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?d ) WHERE { ?b property:P530 ?k . ?b rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?h ) { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?u ) WHERE { ?z property:P530 ?q . ?z rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?z } } }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?d ) WHERE { ?b property:diplomatic_relation ?k . ?b rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?h ) { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?u ) WHERE { ?z property:diplomatic_relation ?q . ?z rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } } }
[]
political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relations with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?d ) WHERE { ?b property:P530 ?k . ?b rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?h ) { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?u ) WHERE { ?z property:P530 ?q . ?z rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?z } } }
Germany
Germany have diplomatic relations with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?d ) WHERE { ?b property:diplomatic_relation ?k . ?b rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?h ) { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?u ) WHERE { ?z property:diplomatic_relation ?q . ?z rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relations with around the same number of political territories as New Zealand ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?p ) WHERE { ?g property:P530 ?x . ?g rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q664 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?p = ?r ) }
New Zealand
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?p ) WHERE { ?g property:diplomatic_relation ?x . ?g rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:New_Zealand property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?p = ?r ) }
[]
political territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?p ) WHERE { ?g property:P530 ?x . ?g rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q664 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?p = ?r ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?p ) WHERE { ?g property:diplomatic_relation ?x . ?g rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:New_Zealand property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?p = ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P30
Q2221906
USER
Which geographic locations are France located in ?
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q142 property:P30 ?q . ?q rdf:type ontology:Q2221906 }
France
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:France property:continent ?q . ?q rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q15 Q46
SYSTEM
Antarctica, Africa, Europe
Q46 Q15 Q538 Q828 Q51
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
France are located in [ANSWERS]
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q142 property:P30 ?q . ?q rdf:type ontology:Q2221906 }
Europe Africa Oceania Americas Antarctica
France are located in Antarctica, Africa and Europe
Antarctica Africa Europe
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:France property:continent ?q . ?q rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P463
Q484652
USER
What were France a member of ?
(Q142,P463,c(Q484652))
action filter_type
action find
entity Q142
relation P463
type Q484652
['Q142', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?b WHERE { resource:Q142 property:P463 ?b . ?b rdf:type ontology:Q484652 }
France
action filter_type
action find
entity France
relation member of
type international organization
['France', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?b WHERE { resource:France property:member_of ?b . ?b rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, G20, European Space Agency
Q81299 Q1065 Q19771 Q188822 Q37143 Q134102 Q7184 Q42262 Q1043527
(Q142,P463,c(Q484652))
action filter_type
action find
entity Q142
relation P463
type Q484652
France of the [ANSWERS]
['Q142', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?b WHERE { resource:Q142 property:P463 ?b . ?b rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations G20 Asian Development Bank G8 Organisation internationale de la Francophonie North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
France of the Organization for Security and Co-operation in Europe, G20 and European Space Agency
Organization for Security and Co-operation in Europe G20 European Space Agency
action filter_type
action find
entity France
relation member of
type international organization
['France', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?b WHERE { resource:France property:member_of ?b . ?b rdf:type ontology:international_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42262
P37
Q34770
USER
What is the official language of that international organization ?
(Q42262,P37,c(Q34770))
action filter_type
action find
entity Q42262
relation P37
type Q34770
['Q42262', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q42262 property:P37 ?o . ?o rdf:type ontology:Q34770 }
European Space Agency
action filter_type
action find
entity European Space Agency
relation official language
type language
['European Space Agency', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:European_Space_Agency property:official_language ?o . ?o rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q81299
SYSTEM
Did you mean Organization for Security and Co-operation in Europe ?
Q81299 Q19771 Q42262
(Q81299,P37,c(Q34770)) (Q19771,P37,c(Q34770)) (Q42262,P37,c(Q34770))
[ANSWER]
['Q81299', 'P37', {'concept': 'Q34770'}] ['Q19771', 'P37', {'concept': 'Q34770'}] ['Q42262', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q42262 property:P37 ?o . ?o rdf:type ontology:Q34770 }
Organization for Security and Co-operation in Europe G20 European Space Agency
Did you mean Organization for Security and Co-operation in Europe ?
Organization for Security and Co-operation in Europe
['Organization for Security and Co-operation in Europe', 'official language', {'concept': 'language'}] ['G20', 'official language', {'concept': 'language'}] ['European Space Agency', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:European_Space_Agency property:official_language ?o . ?o rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
No, I meant European Space Agency. Could you tell me the answer for that?
(Q42262,P37,c(Q34770))
Q42262
['Q42262', 'P37', {'concept': 'Q34770'}]
['European Space Agency', 'official language', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q42262,P37,c(Q34770))
action filter_type
action find
entity Q42262
relation P37
type Q34770
The official language of that international organization is [ANSWER]
['Q42262', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q42262 property:P37 ?o . ?o rdf:type ontology:Q34770 }
English
The official language of that international organization is English
English
action filter_type
action find
entity European Space Agency
relation official language
type language
['European Space Agency', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:European_Space_Agency property:official_language ?o . ?o rdf:type ontology:language }
[]