Simple Question (Direct)
Simple Question
Q10430472
P19
Q56061
USER
Which administrative territory is the birthplace of Ted Thorpe ?
(Q10430472,P19,c(Q56061))
action filter_type
action find
entity Q10430472
relation P19
type Q56061
['Q10430472', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q10430472 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Ted Thorpe
action filter_type
action find
entity Ted Thorpe
relation place of birth
type administrative territorial entity
['Ted Thorpe', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ted_Thorpe property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1424518
SYSTEM
Kiveton Park
Q1424518
(Q10430472,P19,c(Q56061))
action filter_type
action find
entity Q10430472
relation P19
type Q56061
Park [ANSWER] is the birthplace of Ted Thorpe
['Q10430472', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q10430472 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Kiveton Park
Park Kiveton Park is the birthplace of Ted Thorpe
Kiveton Park
action filter_type
action find
entity Ted Thorpe
relation place of birth
type administrative territorial entity
['Ted Thorpe', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ted_Thorpe property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10430472
P106
Q12737077
USER
Which occupation is the profession of Ted Thorpe ?
(Q10430472,P106,c(Q12737077))
action filter_type
action find
entity Q10430472
relation P106
type Q12737077
['Q10430472', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q10430472 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Ted Thorpe
action filter_type
action find
entity Ted Thorpe
relation occupation
type occupation
['Ted Thorpe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ted_Thorpe property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q10430472,P106,c(Q12737077))
action filter_type
action find
entity Q10430472
relation P106
type Q12737077
Player [ANSWER] is the profession of Ted Thorpe
['Q10430472', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q10430472 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Ted Thorpe
association football player
action filter_type
action find
entity Ted Thorpe
relation occupation
type occupation
['Ted Thorpe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ted_Thorpe property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10430472
P21
Q290
USER
Which sex does Ted Thorpe have ?
(Q10430472,P21,c(Q290))
action filter_type
action find
entity Q10430472
relation P21
type Q290
['Q10430472', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q10430472 property:P21 ?i }
Ted Thorpe
action filter_type
action find
entity Ted Thorpe
relation gender
type sex
['Ted Thorpe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Ted_Thorpe property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10430472,P21,c(Q290))
action filter_type
action find
entity Q10430472
relation P21
type Q290
Ted Thorpe has a [ANSWER]
['Q10430472', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q10430472 property:P21 ?i }
male
Ted Thorpe has a male
male
action filter_type
action find
entity Ted Thorpe
relation gender
type sex
['Ted Thorpe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Ted_Thorpe property:gender ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17181087
Q290
USER
And also tell me about Rodney Aquino?
(Q17181087,P21,c(Q290))
action filter_type
action find
entity Q17181087
relation P21
type Q290
['Q17181087', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q17181087 property:P21 ?a }
Rodney Aquino
action filter_type
action find
entity Rodney Aquino
relation gender
type sex
['Rodney Aquino', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Rodney_Aquino property:gender ?a }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17181087,P21,c(Q290))
action filter_type
action find
entity Q17181087
relation P21
type Q290
[ANSWER]
['Q17181087', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q17181087 property:P21 ?a }
male
male
action filter_type
action find
entity Rodney Aquino
relation gender
type sex
['Rodney Aquino', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Rodney_Aquino property:gender ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q361
P710
Q15617994
USER
Who were the participants of World War I ?
(Q361,P710,c(Q15617994))
action filter_type
action find
entity Q361
relation P710
type Q15617994
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q361 property:P710 ?y . ?y rdf:type ontology:Q15617994 }
World War I
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:World_War_I property:participant ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
(Q361,P710,c(Q15617994))
action filter_type
action find
entity Q361
relation P710
type Q15617994
The participants of World War I were in [ANSWERS]
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q361 property:P710 ?y . ?y rdf:type ontology:Q15617994 }
France Italy
The participants of World War I were in France and Italy
France Italy
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:World_War_I property:participant ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P127
Q3947
USER
Which houses are under posessision of Italy ?
(c(Q3947),P127,Q38)
action filter_type
action find_reverse
entity Q38
relation P127
type Q3947
[{'concept': 'Q3947'}, 'P127', 'Q38']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q38 . ?b rdf:type ontology:Q3947 }
Italy
action filter_type
action find_reverse
entity Italy
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Italy']
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:Italy . ?b rdf:type ontology:house }
[]
house
Q774654 Q6567344 Q4012532
SYSTEM
Villa Doria Pamphili, Rolandstraße 43, Villa Schifanoia
Q774654 Q4012532 Q1952743 Q6567344
(c(Q3947),P127,Q38)
action filter_type
action find_reverse
entity Q38
relation P127
type Q3947
[ANSWERS] are under posessision of Italy
[{'concept': 'Q3947'}, 'P127', 'Q38']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q38 . ?b rdf:type ontology:Q3947 }
Villa Doria Pamphili Villa Schifanoia Hôtel de Galliffet Rolandstraße 43
Villa Doria Pamphili, Rolandstraße 43 and Villa Schifanoia are under posessision of Italy
Villa Doria Pamphili Rolandstraße 43 Villa Schifanoia
action filter_type
action find_reverse
entity Italy
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Italy']
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:Italy . ?b rdf:type ontology:house }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q774654 Q6567344 Q4012532
P127
Q15617994
USER
Which administrative territories owned those houses ?
(Q774654,P127,c(Q15617994)) (Q6567344,P127,c(Q15617994)) (Q4012532,P127,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P127
type Q15617994
['Q774654', 'P127', {'concept': 'Q15617994'}] ['Q6567344', 'P127', {'concept': 'Q15617994'}] ['Q4012532', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?n property:P127 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?n ) { ( resource:Q774654 ) ( resource:Q4012532 ) ( resource:Q1952743 ) } }
Villa Doria Pamphili Rolandstraße 43 Villa Schifanoia
action filter_type
action find
entity prev_answer
relation owned by
type designation for an administrative territorial entity
['Villa Doria Pamphili', 'owned by', {'concept': 'designation for an administrative territorial entity'}] ['Rolandstraße 43', 'owned by', {'concept': 'designation for an administrative territorial entity'}] ['Villa Schifanoia', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?n property:owned_by ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?n ) { ( resource:Villa_Doria_Pamphili ) ( resource:Villa_Schifanoia ) ( resource:Hôtel_de_Galliffet ) } }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q38 Q38 Q38
(Q774654,P127,c(Q15617994)) (Q6567344,P127,c(Q15617994)) (Q4012532,P127,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P127
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] owned those houses
['Q774654', 'P127', {'concept': 'Q15617994'}] ['Q6567344', 'P127', {'concept': 'Q15617994'}] ['Q4012532', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?n property:P127 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?n ) { ( resource:Q774654 ) ( resource:Q4012532 ) ( resource:Q1952743 ) } }
Italy Italy Italy
Italy, Italy and Italy owned those houses
Italy Italy Italy
action filter_type
action find
entity prev_answer
relation owned by
type designation for an administrative territorial entity
['Villa Doria Pamphili', 'owned by', {'concept': 'designation for an administrative territorial entity'}] ['Rolandstraße 43', 'owned by', {'concept': 'designation for an administrative territorial entity'}] ['Villa Schifanoia', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?n property:owned_by ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?n ) { ( resource:Villa_Doria_Pamphili ) ( resource:Villa_Schifanoia ) ( resource:Hôtel_de_Galliffet ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P361
Q2221906
USER
What is Italy a portion of ?
(Q38,P361,c(Q2221906))
action filter_type
action find
entity Q38
relation P361
type Q2221906
['Q38', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q38 property:P361 ?o . ?o rdf:type ontology:Q2221906 }
Italy
action filter_type
action find
entity Italy
relation part of
type geographic location
['Italy', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Italy property:part_of ?o . ?o rdf:type ontology:geographic_location }
[]
geographic location
Q27449
SYSTEM
Southern Europe
Q27449
(Q38,P361,c(Q2221906))
action filter_type
action find
entity Q38
relation P361
type Q2221906
Italy is a portion of [ANSWER]
['Q38', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q38 property:P361 ?o . ?o rdf:type ontology:Q2221906 }
Southern Europe
Italy is a portion of Southern Europe
Southern Europe
action filter_type
action find
entity Italy
relation part of
type geographic location
['Italy', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Italy property:part_of ?o . ?o rdf:type ontology:geographic_location }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P706
Q82794 Q2221906
USER
How many geographic locations are located in approximately the same number of geographic regions as that geographic location ?
(c(Q2221906),P706,c(Q82794))
action count
action approx
action find_tuple_counts
relation P706
type Q2221906
type Q82794
action count
action filter_type
action find
entity Q27449
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?r ) WHERE { ?u property:P706 ?m . ?u rdf:type ontology:Q2221906 . ?m rdf:type ontology:Q82794 } GROUP BY ?u } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ontology:Q2221906 . resource:Q27449 property:P706 ?a } } }
action count
action approx
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic region
action count
action filter_type
action find
entity Southern Europe
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?r ) WHERE { ?u property:located_on_terrain_feature ?m . ?u rdf:type ontology:geographic_location . ?m rdf:type ontology:geographic_region } GROUP BY ?u } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ontology:geographic_location . resource:Southern_Europe property:located_on_terrain_feature ?a } } }
[]
geographic region geographic location
SYSTEM
106
Q5415940 Q7191008 Q4878573 Q1948178 Q27468 Q14714846 Q315496 Q16671723 Q51 Q23385389 Q27394 Q1998580 Q228608 Q3468036 Q14714685 Q151356 Q1551170 Q12603 Q14711841 Q27381 Q4848366 Q1188034 Q15211098 Q14713610 Q32530 Q14713596 Q5088912 Q14705355 Q4672454 Q27561 Q16827917 Q5184293 Q22673001 Q15651275 Q19838231 Q261407 Q4412295 Q16892114 Q263686 Q4777 Q5169452 Q15202826 Q5051042 Q1411784 Q6922487 Q21491032 Q22704024 Q21007124 Q18356771 Q5559107 Q14713790 Q929147 Q2333134 Q326359 Q27353 Q5597624 Q5338781 Q3047192 Q16845327 Q14714809 Q745767 Q495241 Q14709821 Q1555247 Q6488761 Q2092983 Q5933320 Q14714818 Q3646551 Q14705259 Q11961757 Q7886194 Q5474347 Q1134547 Q5428 Q2387700 Q14713936 Q16899205 Q4876461 Q14874585 Q27449 Q6649684 Q213704 Q14713886 Q22602 Q16893544 Q14711877 Q4985824 Q2266713 Q16892238 Q21838035 Q14704530 Q7191014 Q7191015 Q7191011 Q14714702 Q1134643 Q5317255 Q5564047 Q14951375 Q3846790 Q17208861 Q15238659 Q15213747 Q702543 Q1725885
(c(Q2221906),P706,c(Q82794))
action count
action approx
action find_tuple_counts
relation P706
type Q2221906
type Q82794
action count
action filter_type
action find
entity Q27449
relation P706
type Q2221906
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?r ) WHERE { ?u property:P706 ?m . ?u rdf:type ontology:Q2221906 . ?m rdf:type ontology:Q82794 } GROUP BY ?u } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ontology:Q2221906 . resource:Q27449 property:P706 ?a } } }
Evans Névé Pico El León Bechs Mølle Central Limburg Eastern Europe Sunbeam Peak Upper Harz southern pole of inaccessibility Antarctica northern pole of inaccessibility Southern Africa Northern Black Forest South Limburg Pogromni Volcano Clayton Mountain Fernsehturm Berlin Palmer Land Pacific Northwest Mount Powell (Utah) North Africa Bailey Ice Stream Pico Humboldt Cockedhat Mountain Clark Mountain (Washington) Lusatia Big Lava Bed Cheat Mountain Mount Avalon Access Slope Caribbean Netherlands American Legion Peak Creque Marine Railway Fonte River Dam Stuhlinger Ice Piedmont Nurn South Baden Northern Maramuresh Harrower Peak Southeast Europe Mount Roraima Coral Coast Bold Peak Cat Island Western Palatinate Mount Oglethorpe Lower Harz Great Cross of Hendaye Cerro Negro Selenean summit Gibney Beach Lemei Rock Río de Oro Kukenán-tepui Palatinate Anglo-America Grassy Ridge Edlin Névé Pico Piedras Blancas Bow Mountain Muddy Mountain Marie Byrd Land Gyeongju Historic Areas Bote Mountain North Palatinate Larch Mountain Southern Bukovina Hughes Basin Pinnacle Ridge Pico Bonpland Porter Peak Bogen oceanic pole of inaccessibility Foundation Ice Stream Ellsworth Land Siberia Northern Bukovina West Crater Red Crane, Portland Bear Island Custer Ridge Southern Europe Little Creek Peak Pico Bolívar Sawtooth Mountain Vorderpfalz Knife Point Mountain South Kings Peak Buffalo Ridge Fiordland Henderson Peak Rheasilvia central peak Ch-paa-qn Peak Pico La Concha Pico Pan de Azúcar Pico El Toro Downs Mountain Southern England Dutch Caribbean Giovinco Ice Piedmont Torrey Peak, Wyoming Maremma Grossetana Shiretoko Klondike Peak Desolation Peak (Wyoming) Franconian Switzerland Naheland
106
action count
action approx
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic region
action count
action filter_type
action find
entity Southern Europe
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?r ) WHERE { ?u property:located_on_terrain_feature ?m . ?u rdf:type ontology:geographic_location . ?m rdf:type ontology:geographic_region } GROUP BY ?u } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ontology:geographic_location . resource:Southern_Europe property:located_on_terrain_feature ?a } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q2221906 Q14524493 Q151885
USER
Which geographic locations are min number of terrains or concepts located on ?
(c(Q14524493)|c(Q151885),P706,c(Q2221906))
action argmin
action union
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q14524493
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
[[{'concept': 'Q14524493'}, {'concept': 'Q151885'}], 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:Q14524493 ) ( ontology:Q151885 ) } . ?l rdf:type ?x } GROUP BY ?w } } . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P706 ?q . ?q rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q14524493 } UNION { ?o property:P706 ?q . ?q rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q151885 } } GROUP BY ?q } . FILTER ( ?r = ?b ) }
action argmin
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type terrain
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
[[{'concept': 'terrain'}, {'concept': 'concept'}], 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:terrain ) ( ontology:concept ) } . ?l rdf:type ?x } GROUP BY ?w } } . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:located_on_terrain_feature ?q . ?q rdf:type ontology:geographic_location . ?o rdf:type ontology:terrain } UNION { ?o property:located_on_terrain_feature ?q . ?q rdf:type ontology:geographic_location . ?o rdf:type ontology:concept } } GROUP BY ?q } . FILTER ( ?r = ?b ) }
[]
geographic location terrain concept
Q51 Q701658 Q27561
SYSTEM
Antarctica, Mecklenburg Lake District, Caribbean Netherlands
Q1558873 Q431907 Q9456 Q62132 Q220032 Q728390 Q51 Q2680453 Q636672 Q5318567 Q179842 Q184430 Q1551170 Q83241 Q3960 Q3427382 Q11708 Q48 Q1322976 Q10975458 Q690971 Q897270 Q217265 Q15221173 Q828 Q11812551 Q27231 Q677337 Q828909 Q186545 Q7699521 Q19838231 Q664609 Q261407 Q165269 Q4412295 Q27329 Q2740712 Q153809 Q575289 Q4868203 Q1745690 Q8614 Q1464033 Q4996620 Q81720 Q2556836 Q104028 Q2381124 Q326359 Q530917 Q370398 Q27293 Q604496 Q745767 Q17252 Q5359969 Q261949 Q330001 Q754365 Q7943 Q2646914 Q27433 Q1639559 Q27561 Q701658 Q1134547 Q18 Q1189073 Q109057 Q169276 Q771405 Q228608 Q2387700 Q15196140 Q2092983 Q148689 Q605714 Q4828398 Q6794458 Q1507 Q204593 Q445609 Q257376 Q23792 Q5317255 Q702543 Q2879440 Q5290696
(c(Q14524493)|c(Q151885),P706,c(Q2221906))
action argmin
action union
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q14524493
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
Located [ANSWERS]
[[{'concept': 'Q14524493'}, {'concept': 'Q151885'}], 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:Q14524493 ) ( ontology:Q151885 ) } . ?l rdf:type ?x } GROUP BY ?w } } . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P706 ?q . ?q rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q14524493 } UNION { ?o property:P706 ?q . ?q rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q151885 } } GROUP BY ?q } . FILTER ( ?r = ?b ) }
Gäuboden Sierra de la Culata Achterhook Lapland Golden Gate Coats Land Antarctica Brown Peninsula Sierra Nevada de Mérida Dyer Plateau Tibetan Plateau Zeelandic Flanders Palmer Land Galilee Australia Kirwan Escarpment Southeast Asia Asia Ural Maramureș Breisgau Havelland Cappadocia Mule Peninsula Americas Swabia East Asia Ravensberg Basin wharf Midwestern United States Tenaya Canyon Nurn Caribbean South Baden East Frisia Northern Maramuresh North Asia Ovče Pole Tyrol Mühlviertel Basswood Island Ostbayern Westphalia West Friesland Bull Run Mountains Silesia Trialeti Judea South Lower Saxony Palatinate West Antarctica Allan Hills Western Asia Fennoscandia Marie Byrd Land Tibet Elgar Uplands Mostviertel Oldenburg Land Penobscot Bay Upper Lusatia Alfatar Peninsula Central Africa West Mecklenburg Caribbean Netherlands Mecklenburg Lake District Ellsworth Land South America Eastern California Mecklenburg Allgäu South Asia South Limburg Northern Bukovina Bailey Peninsula (Antarctica) Southern Bukovina Lower Lusatia Donbass Avery Plateau Mawson Escarpment Patagonia Heinzenberg Lower Rhine region Bavarian Alpine Foreland Palestine Dutch Caribbean Franconian Switzerland Chequamegon Bay Dominica Passage
Located Antarctica, Mecklenburg Lake District and Caribbean Netherlands
Antarctica Mecklenburg Lake District Caribbean Netherlands
action argmin
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type terrain
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
[[{'concept': 'terrain'}, {'concept': 'concept'}], 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:terrain ) ( ontology:concept ) } . ?l rdf:type ?x } GROUP BY ?w } } . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:located_on_terrain_feature ?q . ?q rdf:type ontology:geographic_location . ?o rdf:type ontology:terrain } UNION { ?o property:located_on_terrain_feature ?q . ?q rdf:type ontology:geographic_location . ?o rdf:type ontology:concept } } GROUP BY ?q } . FILTER ( ?r = ?b ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q701658
P47
Q82794
USER
Which geographic region shares border with that geographic location ?
(c(Q82794),P47,Q701658)
action filter_type
action find
entity Q701658
relation P47
type Q82794
[{'concept': 'Q82794'}, 'P47', 'Q701658']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q82794 . resource:Q701658 property:P47 ?x }
Mecklenburg Lake District
action filter_type
action find
entity Mecklenburg Lake District
relation shares border with
type geographic region
[{'concept': 'geographic region'}, 'shares border with', 'Mecklenburg Lake District']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:geographic_region . resource:Mecklenburg_Lake_District property:shares_border_with ?x }
[]
geographic region
Clarification for simple ques.
Q27561
SYSTEM
Did you mean Caribbean Netherlands ?
Q51 Q701658 Q27561
(c(Q82794),P47,Q51) (c(Q82794),P47,Q701658) (c(Q82794),P47,Q27561)
[ANSWER]
[{'concept': 'Q82794'}, 'P47', 'Q51'] [{'concept': 'Q82794'}, 'P47', 'Q701658'] [{'concept': 'Q82794'}, 'P47', 'Q27561']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q82794 . resource:Q701658 property:P47 ?x }
Antarctica Mecklenburg Lake District Caribbean Netherlands
Did you mean Caribbean Netherlands ?
Caribbean Netherlands
[{'concept': 'geographic region'}, 'shares border with', 'Antarctica'] [{'concept': 'geographic region'}, 'shares border with', 'Mecklenburg Lake District'] [{'concept': 'geographic region'}, 'shares border with', 'Caribbean Netherlands']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:geographic_region . resource:Mecklenburg_Lake_District property:shares_border_with ?x }
[]
Simple Question (Coreferenced)
USER
No, I meant Mecklenburg Lake District. Could you tell me the answer for that?
(c(Q82794),P47,Q701658)
Q701658
[{'concept': 'Q82794'}, 'P47', 'Q701658']
[{'concept': 'geographic region'}, 'shares border with', 'Mecklenburg Lake District']
[]
Q1741416
SYSTEM
Schleswig-Holstein Uplands
Q1741416
(c(Q82794),P47,Q701658)
action filter_type
action find
entity Q701658
relation P47
type Q82794
[ANSWER] shares border with that geographic location
[{'concept': 'Q82794'}, 'P47', 'Q701658']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q82794 . resource:Q701658 property:P47 ?x }
Schleswig-Holstein Uplands
Schleswig-Holstein Uplands shares border with that geographic location
Schleswig-Holstein Uplands
action filter_type
action find
entity Mecklenburg Lake District
relation shares border with
type geographic region
[{'concept': 'geographic region'}, 'shares border with', 'Mecklenburg Lake District']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:geographic_region . resource:Mecklenburg_Lake_District property:shares_border_with ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q891095
P84
Q4830453 Q502895 Q3947
USER
How many houses have their designs created by greater number of business enterprises or people than Villa Erba ?
(c(Q3947),P84,c(Q4830453)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P84
type Q3947
type Q4830453
action find_tuple_counts
relation P84
type Q3947
type Q502895
action count
action filter_multi_types
action find
entity Q891095
relation P84
type Q4830453
type Q502895
[{'concept': 'Q3947'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { FILTER ( ?e > ?v ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q891095 property:P84 ?s . { VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q4830453 ) } . ?s rdf:type ?p } } } . { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { { ?n property:P84 ?u . ?n rdf:type ontology:Q3947 . ?u rdf:type ontology:Q4830453 } UNION { ?n property:P84 ?u . ?n rdf:type ontology:Q3947 . ?u rdf:type ontology:Q502895 } } GROUP BY ?n } }
Villa Erba
action count
action greater
action union
action find_tuple_counts
relation architect
type house
type business enterprise
action find_tuple_counts
relation architect
type house
type common name
action count
action filter_multi_types
action find
entity Villa Erba
relation architect
type business enterprise
type common name
[{'concept': 'house'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { FILTER ( ?e > ?v ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Villa_Erba property:architect ?s . { VALUES ( ?p ) { ( ontology:common_name ) ( ontology:business_enterprise ) } . ?s rdf:type ?p } } } . { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { { ?n property:architect ?u . ?n rdf:type ontology:house . ?u rdf:type ontology:business_enterprise } UNION { ?n property:architect ?u . ?n rdf:type ontology:house . ?u rdf:type ontology:common_name } } GROUP BY ?n } }
[]
business enterprise common name house
SYSTEM
27
Q315089 Q15111710 Q15118457 Q656054 Q3145721 Q4657615 Q19832938 Q314898 Q1468582 Q15120353 Q912192 Q15112209 Q774654 Q2352431 Q3558751 Q3146296 Q3278824 Q15838847 Q7930335 Q3145756 Q622206 Q13400493 Q10433161 Q2044998 Q4997155 Q1068289 Q3558774
(c(Q3947),P84,c(Q4830453)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P84
type Q3947
type Q4830453
action find_tuple_counts
relation P84
type Q3947
type Q502895
action count
action filter_multi_types
action find
entity Q891095
relation P84
type Q4830453
type Q502895
[ANSWER]
[{'concept': 'Q3947'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { FILTER ( ?e > ?v ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q891095 property:P84 ?s . { VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q4830453 ) } . ?s rdf:type ?p } } } . { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { { ?n property:P84 ?u . ?n rdf:type ontology:Q3947 . ?u rdf:type ontology:Q4830453 } UNION { ?n property:P84 ?u . ?n rdf:type ontology:Q3947 . ?u rdf:type ontology:Q502895 } } GROUP BY ?n } }
Schloss Drachenburg Goethestraße 66 Lindenallee 51 Hôtel Ritz Paris Hôtel d'Ecquevilly A La Ronde hôtel Dodun Roman Baths Villa Müller Villa Looyen Hôtel Matignon Haus Birkhof Villa Doria Pamphili Stowe House Haras de la Huderie Hôtel du Palais Villa La Roche Tempelstrasse 10 Villa Giovannelli Colonna Hôtel de Boisgelin Apsley House hôtel Desmarets Burghers widowhouse Het Slaakhuis Bulstrode Park Chatsworth House Villa Torre Clementina
27
action count
action greater
action union
action find_tuple_counts
relation architect
type house
type business enterprise
action find_tuple_counts
relation architect
type house
type common name
action count
action filter_multi_types
action find
entity Villa Erba
relation architect
type business enterprise
type common name
[{'concept': 'house'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { FILTER ( ?e > ?v ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Villa_Erba property:architect ?s . { VALUES ( ?p ) { ( ontology:common_name ) ( ontology:business_enterprise ) } . ?s rdf:type ?p } } } . { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { { ?n property:architect ?u . ?n rdf:type ontology:house . ?u rdf:type ontology:business_enterprise } UNION { ?n property:architect ?u . ?n rdf:type ontology:house . ?u rdf:type ontology:common_name } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q15124420
P84
Q4830453 Q502895 Q3947
USER
And how about Parkstraße 5?
(c(Q3947),P84,c(Q4830453)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P84
type Q3947
type Q4830453
action find_tuple_counts
relation P84
type Q3947
type Q502895
action count
action filter_multi_types
action find
entity Q15124420
relation P84
type Q4830453
type Q502895
[{'concept': 'Q3947'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?h ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q4830453 ) ( ontology:Q502895 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q15124420 property:P84 ?j . { { ?j rdf:type ontology:Q4830453 } UNION { ?j rdf:type ontology:Q502895 } } } } . FILTER ( ?h > ?p ) }
Parkstraße 5
action count
action greater
action union
action find_tuple_counts
relation architect
type house
type business enterprise
action find_tuple_counts
relation architect
type house
type common name
action count
action filter_multi_types
action find
entity Parkstraße 5
relation architect
type business enterprise
type common name
[{'concept': 'house'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?h ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:business_enterprise ) ( ontology:common_name ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Parkstraße_5 property:architect ?j . { { ?j rdf:type ontology:business_enterprise } UNION { ?j rdf:type ontology:common_name } } } } . FILTER ( ?h > ?p ) }
[]
business enterprise common name house
SYSTEM
27
Q315089 Q15111710 Q15118457 Q656054 Q3145721 Q4657615 Q19832938 Q314898 Q1468582 Q15120353 Q912192 Q15112209 Q774654 Q2352431 Q3558751 Q3146296 Q3278824 Q15838847 Q7930335 Q3145756 Q622206 Q13400493 Q10433161 Q2044998 Q4997155 Q1068289 Q3558774
(c(Q3947),P84,c(Q4830453)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P84
type Q3947
type Q4830453
action find_tuple_counts
relation P84
type Q3947
type Q502895
action count
action filter_multi_types
action find
entity Q15124420
relation P84
type Q4830453
type Q502895
[ANSWER]
[{'concept': 'Q3947'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?h ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q4830453 ) ( ontology:Q502895 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q15124420 property:P84 ?j . { { ?j rdf:type ontology:Q4830453 } UNION { ?j rdf:type ontology:Q502895 } } } } . FILTER ( ?h > ?p ) }
Schloss Drachenburg Goethestraße 66 Lindenallee 51 Hôtel Ritz Paris Hôtel d'Ecquevilly A La Ronde hôtel Dodun Roman Baths Villa Müller Villa Looyen Hôtel Matignon Haus Birkhof Villa Doria Pamphili Stowe House Haras de la Huderie Hôtel du Palais Villa La Roche Tempelstrasse 10 Villa Giovannelli Colonna Hôtel de Boisgelin Apsley House hôtel Desmarets Burghers widowhouse Het Slaakhuis Bulstrode Park Chatsworth House Villa Torre Clementina
27
action count
action greater
action union
action find_tuple_counts
relation architect
type house
type business enterprise
action find_tuple_counts
relation architect
type house
type common name
action count
action filter_multi_types
action find
entity Parkstraße 5
relation architect
type business enterprise
type common name
[{'concept': 'house'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?h ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:business_enterprise ) ( ontology:common_name ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Parkstraße_5 property:architect ?j . { { ?j rdf:type ontology:business_enterprise } UNION { ?j rdf:type ontology:common_name } } } } . FILTER ( ?h > ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q2221906 Q11060274 Q386724
USER
How many geographic locations are expressed in approximately 2 prints and works ?
(c(Q11060274)|c(Q386724),P180,c(Q2221906))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q386724
value 2
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?w ) WHERE { VALUES ( ?p ) { ( ontology:Q386724 ) ( ontology:Q11060274 ) } . ?b rdf:type ?p } GROUP BY ?n } . FILTER ( ?w = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type print
action find_reverse_tuple_counts
relation depicts
type geographic location
type work
value 2
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?w ) WHERE { VALUES ( ?p ) { ( ontology:work ) ( ontology:print ) } . ?b rdf:type ?p } GROUP BY ?n } . FILTER ( ?w = 2 ) }
[]
geographic location print work
SYSTEM
78
Q60142 Q37654 Q190928 Q102911 Q1049440 Q7673159 Q325358 Q483242 Q153809 Q264458 Q3404466 Q48 Q170552 Q10717939 Q2010516 Q220032 Q463871 Q1468519 Q51 Q1690211 Q1210950 Q18857007 Q798436 Q2915499 Q5683864 Q39816 Q828 Q1030086 Q43501 Q18691599 Q385557 Q107679 Q8072 Q203751 Q19870552 Q631305 Q2915691 Q23397 Q107425 Q132646 Q1322263 Q721931 Q6343615 Q1507 Q3853432 Q1415635 Q15 Q23792 Q1544257 Q106259 Q863454 Q1607773 Q828909 Q7248258 Q954501 Q207326 Q6554910 Q46 Q1123749 Q32047 Q948878 Q15324 Q27381 Q8614 Q4854162 Q10832530 Q148571 Q8502 Q1781097 Q188040 Q1034267 Q135028 Q215635 Q24694968 Q747957 Q23442 Q7653725 Q19866352
(c(Q11060274)|c(Q386724),P180,c(Q2221906))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q386724
value 2
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?w ) WHERE { VALUES ( ?p ) { ( ontology:Q386724 ) ( ontology:Q11060274 ) } . ?b rdf:type ?p } GROUP BY ?n } . FILTER ( ?w = 2 ) }
Podium market shipyard Holland Castle Island Table Rock, Niagara Falls railway platform laboratory Tyrol pergola Carneddau Asia balcony Västerhavet Fusa Province Golden Gate Lower Egypt Nivernais Antarctica lavoir channel location of burial Bakehouse Upper Galilee Haverstraw Bay valley Americas Roman Campagna zoo military facility slaughterhouse cliff volcano Upper Egypt Aberbechan Hall rock formation Lower Galilee lake landscape Bactria place of birth shed Kaaterskill Clove Patagonia New Jersey Meadowlands Sweatshop Africa Palestine Great Dismal Swamp polder pier shop sign wharf Profile Rock natural arch summit butte Europe Coele-Syria Illyria dovecote body of water North Africa Westphalia Bancroft Mills ironworks fence mountain The Narrows quarry Cape Ann Nubia breakwater Bute Docks stack island Swansea docks Garth
78
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type print
action find_reverse_tuple_counts
relation depicts
type geographic location
type work
value 2
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?w ) WHERE { VALUES ( ?p ) { ( ontology:work ) ( ontology:print ) } . ?b rdf:type ?p } GROUP BY ?n } . FILTER ( ?w = 2 ) }
[]