Simple Question (Direct)
Simple Question
Q450589
P21
Q290
USER
What is the sex of Oscar Lanford ?
(Q450589,P21,c(Q290))
action filter_type
action find
entity Q450589
relation P21
type Q290
['Q450589', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q450589 property:P21 ?q . ?q rdf:type ontology:Q290 }
Oscar Lanford
action filter_type
action find
entity Oscar Lanford
relation gender
type sex
['Oscar Lanford', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Oscar_Lanford property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q450589,P21,c(Q290))
action filter_type
action find
entity Q450589
relation P21
type Q290
The sex of Oscar Lanford is the [ANSWER]
['Q450589', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q450589 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Oscar Lanford is the male
male
action filter_type
action find
entity Oscar Lanford
relation gender
type sex
['Oscar Lanford', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Oscar_Lanford property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q450589
P27
Q15617994
USER
Which administrative territory is the native country of Oscar Lanford ?
(Q450589,P27,c(Q15617994))
action filter_type
action find
entity Q450589
relation P27
type Q15617994
['Q450589', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q450589 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Oscar Lanford
action filter_type
action find
entity Oscar Lanford
relation country of citizenship
type designation for an administrative territorial entity
['Oscar Lanford', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Oscar_Lanford property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q450589,P27,c(Q15617994))
action filter_type
action find
entity Q450589
relation P27
type Q15617994
The [ANSWER] is the native country of Oscar Lanford
['Q450589', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q450589 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Oscar Lanford
United States of America
action filter_type
action find
entity Oscar Lanford
relation country of citizenship
type designation for an administrative territorial entity
['Oscar Lanford', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Oscar_Lanford property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P30
Q2221906
USER
Which geographic locations are that administrative territory located in ?
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
That administrative territory are located in [ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
North America Oceania
That administrative territory are located in North America and Oceania
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5168846
P840
Q15416
USER
Do Coppers have their narrative set in those geographic locations ?
(Q5168846,P840,Q49) (Q5168846,P840,Q538)
action is_in
entity prev_answer
action find
entity Q5168846
relation P840
['Q5168846', 'P840', 'Q49'] ['Q5168846', 'P840', 'Q538']
ASK WHERE { VALUES ( ?j ) { ( resource:Q49 ) ( resource:Q538 ) } . resource:Q5168846 property:P840 ?j }
Coppers
action is_in
entity prev_answer
action find
entity Coppers
relation narrative location
['Coppers', 'narrative location', 'North America'] ['Coppers', 'narrative location', 'Oceania']
ASK WHERE { VALUES ( ?j ) { ( resource:North_America ) ( resource:Oceania ) } . resource:Coppers property:narrative_location ?j }
[]
television program
SYSTEM
NO
(Q5168846,P840,Q49) (Q5168846,P840,Q538)
action is_in
entity prev_answer
action find
entity Q5168846
relation P840
[ANSWER]
['Q5168846', 'P840', 'Q49'] ['Q5168846', 'P840', 'Q538']
ASK WHERE { VALUES ( ?j ) { ( resource:Q49 ) ( resource:Q538 ) } . resource:Q5168846 property:P840 ?j }
No
action is_in
entity prev_answer
action find
entity Coppers
relation narrative location
['Coppers', 'narrative location', 'North America'] ['Coppers', 'narrative location', 'Oceania']
ASK WHERE { VALUES ( ?j ) { ( resource:North_America ) ( resource:Oceania ) } . resource:Coppers property:narrative_location ?j }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q2221906 Q1048835
USER
Which political territories have their location as max number of geographic locations ?
(c(Q1048835),P706,c(Q2221906))
action argmax
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
[{'concept': 'Q1048835'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?y ) { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?m ) WHERE { ?v property:P706 ?s . ?v rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q2221906 } GROUP BY ?v } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?e ) WHERE { ?k property:P706 ?a . ?k rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q2221906 } GROUP BY ?k } . FILTER ( ?e = ?y ) }
action argmax
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
[{'concept': 'political territorial entity'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?y ) { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?m ) WHERE { ?v property:located_on_terrain_feature ?s . ?v rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:geographic_location } GROUP BY ?v } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?e ) WHERE { ?k property:located_on_terrain_feature ?a . ?k rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:geographic_location } GROUP BY ?k } . FILTER ( ?e = ?y ) }
[]
geographic location political territorial entity
Q766 Q778 Q5785
SYSTEM
Jamaica, The Bahamas, Cayman Islands
Q13353 Q6139 Q168856 Q5785 Q25228 Q170213 Q766 Q18221 Q778 Q5700 Q25305
(c(Q1048835),P706,c(Q2221906))
action argmax
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
[ANSWERS] have their location as max number of geographic locations
[{'concept': 'Q1048835'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?y ) { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?m ) WHERE { ?v property:P706 ?s . ?v rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q2221906 } GROUP BY ?v } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?e ) WHERE { ?k property:P706 ?a . ?k rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q2221906 } GROUP BY ?k } . FILTER ( ?e = ?y ) }
Montserrat Havelland Chernivtsi Oblast Cayman Islands Anguilla Zakarpattia Oblast Jamaica Turks and Caicos Islands The Bahamas Lapland British Virgin Islands
Jamaica, The Bahamas and Cayman Islands have their location as max number of geographic locations
Jamaica The Bahamas Cayman Islands
action argmax
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
[{'concept': 'political territorial entity'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?y ) { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?m ) WHERE { ?v property:located_on_terrain_feature ?s . ?v rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:geographic_location } GROUP BY ?v } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?e ) WHERE { ?k property:located_on_terrain_feature ?a . ?k rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:geographic_location } GROUP BY ?k } . FILTER ( ?e = ?y ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q778
P551
Q502895
USER
Which person dwells at that political territory ?
(c(Q502895),P551,Q778)
action filter_type
action find_reverse
entity Q778
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q778']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q778 . ?n rdf:type ontology:Q502895 }
The Bahamas
action filter_type
action find_reverse
entity The Bahamas
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'The Bahamas']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:The_Bahamas . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q766
SYSTEM
Did you mean Jamaica ?
Q766 Q778 Q5785
(c(Q502895),P551,Q766) (c(Q502895),P551,Q778) (c(Q502895),P551,Q5785)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q766'] [{'concept': 'Q502895'}, 'P551', 'Q778'] [{'concept': 'Q502895'}, 'P551', 'Q5785']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q778 . ?n rdf:type ontology:Q502895 }
Jamaica The Bahamas Cayman Islands
Did you mean Jamaica ?
Jamaica
[{'concept': 'common name'}, 'residence', 'Jamaica'] [{'concept': 'common name'}, 'residence', 'The Bahamas'] [{'concept': 'common name'}, 'residence', 'Cayman Islands']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:The_Bahamas . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Bahamas. Could you tell me the answer for that?
(c(Q502895),P551,Q778)
Q778
[{'concept': 'Q502895'}, 'P551', 'Q778']
[{'concept': 'common name'}, 'residence', 'The Bahamas']
[]
Q298542
SYSTEM
Daniel Nestor
Q298542
(c(Q502895),P551,Q778)
action filter_type
action find_reverse
entity Q778
relation P551
type Q502895
[ANSWER] dwells at that political territory
[{'concept': 'Q502895'}, 'P551', 'Q778']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q778 . ?n rdf:type ontology:Q502895 }
Daniel Nestor
Daniel Nestor dwells at that political territory
Daniel Nestor
action filter_type
action find_reverse
entity The Bahamas
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'The Bahamas']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:The_Bahamas . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q49
P361
Q2221906
USER
How many geographic locations are North America a component of ?
(Q49,P361,c(Q2221906))
action count
action filter_type
action find
entity Q49
relation P361
type Q2221906
['Q49', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q49 property:P361 ?s . ?s rdf:type ontology:Q2221906 }
North America
action count
action filter_type
action find
entity North America
relation part of
type geographic location
['North America', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:North_America property:part_of ?s . ?s rdf:type ontology:geographic_location }
[]
geographic location
SYSTEM
1
Q828
(Q49,P361,c(Q2221906))
action count
action filter_type
action find
entity Q49
relation P361
type Q2221906
[ANSWER]
['Q49', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q49 property:P361 ?s . ?s rdf:type ontology:Q2221906 }
Americas
1
action count
action filter_type
action find
entity North America
relation part of
type geographic location
['North America', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:North_America property:part_of ?s . ?s rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1801470
Q2221906
USER
And what about Mittelsberg?
(Q1801470,P361,c(Q2221906))
action count
action filter_type
action find
entity Q1801470
relation P361
type Q2221906
['Q1801470', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q1801470 property:P361 ?k . ?k rdf:type ontology:Q2221906 }
Mittelsberg
action count
action filter_type
action find
entity Mittelsberg
relation part of
type geographic location
['Mittelsberg', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Mittelsberg property:part_of ?k . ?k rdf:type ontology:geographic_location }
[]
geographic location
SYSTEM
1
(Q1801470,P361,c(Q2221906))
action count
action filter_type
action find
entity Q1801470
relation P361
type Q2221906
[ANSWER]
['Q1801470', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q1801470 property:P361 ?k . ?k rdf:type ontology:Q2221906 }
1
action count
action filter_type
action find
entity Mittelsberg
relation part of
type geographic location
['Mittelsberg', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Mittelsberg property:part_of ?k . ?k rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q2221906 Q15617994 Q271669
USER
How many geographic locations are around 1 administrative territories and landforms a component of ?
(c(Q15617994)|c(Q271669),P361,c(Q2221906))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q15617994
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q271669
value 1
[[{'concept': 'Q15617994'}, {'concept': 'Q271669'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?l WHERE { { ?h property:P361 ?l . ?l rdf:type ontology:Q2221906 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P361 ?l . ?h rdf:type ontology:Q271669 . ?l rdf:type ontology:Q2221906 } } GROUP BY ?l } . FILTER ( ?x = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation part of
type geographic location
type landform
value 1
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'landform'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?l WHERE { { ?h property:part_of ?l . ?l rdf:type ontology:geographic_location . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:part_of ?l . ?h rdf:type ontology:landform . ?l rdf:type ontology:geographic_location } } GROUP BY ?l } . FILTER ( ?x = 1 ) }
[]
geographic location designation for an administrative territorial entity landform
SYSTEM
175
Q333934 Q6003861 Q15262083 Q431907 Q14705286 Q5928845 Q2907148 Q27468 Q866405 Q596660 Q6800778 Q27509 Q7655810 Q5167046 Q2915499 Q14685019 Q5263636 Q6794458 Q7204 Q1998580 Q7856755 Q632014 Q6403747 Q4921533 Q636672 Q121359 Q179842 Q1349167 Q184430 Q1551170 Q5328630 Q5127364 Q21195 Q621805 Q5031650 Q46 Q4345530 Q3960 Q7678507 Q3427382 Q6721952 Q27381 Q896446 Q48 Q10334749 Q148571 Q4878060 Q4920954 Q272921 Q294440 Q7968217 Q5063897 Q828 Q7619592 Q1555938 Q1471568 Q7081788 Q5884642 Q7332669 Q49 Q4272468 Q538 Q2035462 Q5598693 Q186545 Q12511 Q7699521 Q664609 Q165269 Q7811491 Q5347682 Q7995202 Q1997843 Q24460 Q148124 Q7793408 Q2915691 Q44497 Q29223 Q4754085 Q999039 Q14204659 Q236118 Q153809 Q5146969 Q181386 Q5929184 Q6462724 Q2380693 Q7907867 Q422941 Q401815 Q1998497 Q4996620 Q7015155 Q7971575 Q667529 Q483242 Q46519 Q37654 Q2721679 Q1635387 Q27275 Q326359 Q7101759 Q7884747 Q2680496 Q604496 Q18869 Q15 Q475403 Q495241 Q811979 Q4996619 Q6729888 Q15266363 Q7427749 Q12060726 Q76034 Q1084560 Q4194 Q7974815 Q5596417 Q6391312 Q7107526 Q850245 Q6858288 Q8072 Q883889 Q623465 Q142965 Q1134547 Q5160326 Q771405 Q45256 Q14324291 Q7699945 Q262269 Q2841975 Q4147903 Q6405955 Q4930723 Q5089568 Q27449 Q875134 Q805727 Q3623001 Q1437459 Q5173256 Q2354215 Q6537223 Q7600178 Q7191545 Q5346101 Q257376 Q897168 Q27561 Q5139816 Q166620 Q7493250 Q7205132 Q2565366 Q205895 Q14706057 Q914711 Q6875911 Q5317255 Q6649061 Q753162 Q5002820 Q26824 Q194188 Q5401 Q6935461 Q719456
(c(Q15617994)|c(Q271669),P361,c(Q2221906))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q15617994
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q271669
value 1
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q271669'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?l WHERE { { ?h property:P361 ?l . ?l rdf:type ontology:Q2221906 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P361 ?l . ?h rdf:type ontology:Q271669 . ?l rdf:type ontology:Q2221906 } } GROUP BY ?l } . FILTER ( ?x = 1 ) }
Swiss Plateau Imeon Range New Museums Site Sierra de la Culata Toquima Range Hudson River Historic District Raritan Bay Eastern Europe East Antarctica New Territories McCullough Range Central Europe Sweetwater Mountains Cookes Range Upper Galilee Never Summer Mountains Desatoya Mountains Mawson Escarpment Middle East Northern Black Forest Tushar Mountains Mid-Atlantic States Kiamichi Mountains Black Range Sierra Nevada de Mérida infrastructure Tibetan Plateau ground station Zeelandic Flanders Palmer Land East Humboldt Range Clark Range Scandinavia Pisidia Candelaria Hills Europe Northern Italy Australia Takshanuk Mountains Kirwan Escarpment MacIntyre Mountains North Africa Upland Asia Memphite necropolis fence Beaver Dam Mountains Black Hills Badlands public space Wapack Range Cerbat Mountains Americas Stony Point Battlefield Antarctic Old Babylonian Empire Okanagan Highland Holtedahl Peaks Ridge-and-Valley Appalachians North America Lyab-i Hauz Oceania Ostfeste Great Balsam Mountains Midwestern United States stairs Tenaya Canyon Caribbean East Frisia Tobacco Root Mountains Egan Range White Pine Range North Eifel Northeastern United States Sorica Thomas Range Lower Galilee mining Theban Necropolis Anderson Heights Bay of Sevastopol Badlands and Black Hills Southern Cone Tyrol Collegiate Peaks Eastern Ukraine Hueco Mountains La Garita Mountains South Eifel Vaca Mountains Central Highlands of Sri Lanka Columbia Plateau North Eastern Europe Bull Run Mountains New York–New Jersey Highlands Washington's Crossing Blue Mountains laboratory Southern Germany market Warner Mountains Southern Black Forest Central Asia Palatinate Organ Mountains Unicoi Mountains Pasteur Peninsula Fennoscandia Caucasus Africa Bernese Oberland Gyeongju Historic Areas architectural structure Bull Run Mountains Magdalena Mountains Pilot Range (New Hampshire) Savage Mountain Indian River Lagoon Canadian Shield Northwest Highlands Sauerland Watson Escarpment Grant Range Kenosha Mountains Ossipee Mountains Fouta Djallon Mill Creek Mountain volcano Calenberg Land Wasatch Front Portuguese Timor Ellsworth Land Confusion Range South Asia Australasia South European Russia Tenmile Range Farther Pomerania Franklin Mountains Borders of the Roman Empire Kigluaik Mountains Blum Creek Chehalem Mountains Southern Europe European Russia Baltics Yukon Plateau mountain range Cortez Mountains Central London Lewis and Clark Range Stansbury Mountains Piedmont region of Virginia Edwards Gymnasium/Pfieffer Natatorium Bavarian Alpine Foreland High Eifel Caribbean Netherlands Coconino Plateau drainage basin Shekerley Mountains Plott Balsams West Hesse Depression landmass Manzano Mountains transmission tower Misquah Hills Dutch Caribbean Little Belt Mountains Sacri Monti of Piedmont and Lombardy Butte des Morts Alentejo spaceport Eurasia Mummy Range station
175
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation part of
type geographic location
type landform
value 1
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'landform'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?l WHERE { { ?h property:part_of ?l . ?l rdf:type ontology:geographic_location . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:part_of ?l . ?h rdf:type ontology:landform . ?l rdf:type ontology:geographic_location } } GROUP BY ?l } . FILTER ( ?x = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q713298
P1303
Q34379 Q502895
USER
Which musical instruments can around the same number of people perform with as geomungo ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q713298
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 . ?o property:P1303 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ontology:Q34379 . resource:Q713298 property:P1303 ?l } } . FILTER ( ?g = ?t ) }
geomungo
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name . ?o property:instrument ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ontology:musical_instrument . resource:geomungo property:instrument ?l } } . FILTER ( ?g = ?t ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q713298
relation P1303
type Q34379
[ANSWERS] can around the same number of people perform with as geomungo
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 . ?o property:P1303 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ontology:Q34379 . resource:Q713298 property:P1303 ?l } } . FILTER ( ?g = ?t ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can around the same number of people perform with as geomungo
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name . ?o property:instrument ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ontology:musical_instrument . resource:geomungo property:instrument ?l } } . FILTER ( ?g = ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q178933
P1303
Q34379 Q502895
USER
And what about Hardanger fiddle?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q178933
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:P1303 ?r . ?k rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q178933 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?u = ?q ) }
Hardanger fiddle
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Hardanger fiddle
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:instrument ?r . ?k rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Hardanger_fiddle property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?u = ?q ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q178933
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:P1303 ?r . ?k rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q178933 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?u = ?q ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Hardanger fiddle
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:instrument ?r . ?k rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Hardanger_fiddle property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?u = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q14714809
P706
Q2221906 Q14524493 Q2221906
USER
How many geographic locations are located in approximately the same number of geographic locations or terrains as Muddy Mountain ?
(c(Q2221906),P706,c(Q2221906)|c(Q14524493))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
action find_tuple_counts
relation P706
type Q2221906
type Q14524493
action count
action filter_multi_types
action find
entity Q14714809
relation P706
type Q2221906
type Q14524493
[{'concept': 'Q2221906'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?q ) { ( ontology:Q2221906 ) ( ontology:Q14524493 ) } . ?h rdf:type ?q } GROUP BY ?n } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q14714809 property:P706 ?f . { { ?f rdf:type ontology:Q2221906 } UNION { ?f rdf:type ontology:Q14524493 } } } } }
Muddy Mountain
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
action find_tuple_counts
relation located on terrain feature
type geographic location
type terrain
action count
action filter_multi_types
action find
entity Muddy Mountain
relation located on terrain feature
type geographic location
type terrain
[{'concept': 'geographic location'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?q ) { ( ontology:geographic_location ) ( ontology:terrain ) } . ?h rdf:type ?q } GROUP BY ?n } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Muddy_Mountain property:located_on_terrain_feature ?f . { { ?f rdf:type ontology:geographic_location } UNION { ?f rdf:type ontology:terrain } } } } }
[]
geographic location terrain geographic location
SYSTEM
79
Q5415940 Q4878573 Q1948178 Q14714846 Q315496 Q16671723 Q51 Q23385389 Q1998580 Q228608 Q3468036 Q14714685 Q151356 Q1551170 Q46 Q14711841 Q81483 Q15211098 Q14713610 Q32530 Q14713596 Q5088912 Q14705355 Q4672454 Q16827917 Q5184293 Q22673001 Q15651275 Q19838231 Q261407 Q16892114 Q4777 Q5169452 Q15202826 Q5051042 Q6922487 Q21491032 Q22704024 Q21007124 Q18356771 Q5559107 Q14713790 Q929147 Q2333134 Q326359 Q5597624 Q16845327 Q14714809 Q14709821 Q2092983 Q5933320 Q14714818 Q11961757 Q7886194 Q5474347 Q2387700 Q14713936 Q16899205 Q4876461 Q14874585 Q6649684 Q14713886 Q16893544 Q14711877 Q4985824 Q2266713 Q16892238 Q21838035 Q14704530 Q14714702 Q1134643 Q5564047 Q14951375 Q3846790 Q17208861 Q15238659 Q15213747 Q702543 Q1725885
(c(Q2221906),P706,c(Q2221906)|c(Q14524493))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
action find_tuple_counts
relation P706
type Q2221906
type Q14524493
action count
action filter_multi_types
action find
entity Q14714809
relation P706
type Q2221906
type Q14524493
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?q ) { ( ontology:Q2221906 ) ( ontology:Q14524493 ) } . ?h rdf:type ?q } GROUP BY ?n } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q14714809 property:P706 ?f . { { ?f rdf:type ontology:Q2221906 } UNION { ?f rdf:type ontology:Q14524493 } } } } }
Evans Névé Bechs Mølle Central Limburg Sunbeam Peak Upper Harz southern pole of inaccessibility Antarctica northern pole of inaccessibility Northern Black Forest South Limburg Pogromni Volcano Clayton Mountain Fernsehturm Berlin Palmer Land Europe Mount Powell (Utah) The Levant Cockedhat Mountain Clark Mountain (Washington) Lusatia Big Lava Bed Cheat Mountain Mount Avalon Access Slope American Legion Peak Creque Marine Railway Fonte River Dam Stuhlinger Ice Piedmont Nurn South Baden Harrower Peak Mount Roraima Coral Coast Bold Peak Cat Island Mount Oglethorpe Lower Harz Great Cross of Hendaye Cerro Negro Selenean summit Gibney Beach Lemei Rock Río de Oro Kukenán-tepui Palatinate Grassy Ridge Bow Mountain Muddy Mountain Bote Mountain Southern Bukovina Hughes Basin Pinnacle Ridge Bogen oceanic pole of inaccessibility Foundation Ice Stream Northern Bukovina West Crater Red Crane, Portland Bear Island Custer Ridge Little Creek Peak Sawtooth Mountain Knife Point Mountain South Kings Peak Buffalo Ridge Fiordland Henderson Peak Rheasilvia central peak Ch-paa-qn Peak Downs Mountain Southern England Giovinco Ice Piedmont Torrey Peak, Wyoming Maremma Grossetana Shiretoko Klondike Peak Desolation Peak (Wyoming) Franconian Switzerland Naheland
79
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
action find_tuple_counts
relation located on terrain feature
type geographic location
type terrain
action count
action filter_multi_types
action find
entity Muddy Mountain
relation located on terrain feature
type geographic location
type terrain
[{'concept': 'geographic location'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?q ) { ( ontology:geographic_location ) ( ontology:terrain ) } . ?h rdf:type ?q } GROUP BY ?n } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Muddy_Mountain property:located_on_terrain_feature ?f . { { ?f rdf:type ontology:geographic_location } UNION { ?f rdf:type ontology:terrain } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81982
P425
Q12737077
USER
What has harpsichord as thier associated field of occupation ?
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q81982 property:P425 ?o . ?o rdf:type ontology:Q12737077 }
harpsichord
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:harpsichord property:field_of_this_occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q5371902
SYSTEM
harpsichordist
Q5371902
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
T [ANSWER] has harpsichord as thier associated field of occupation
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q81982 property:P425 ?o . ?o rdf:type ontology:Q12737077 }
harpsichordist
T harpsichordist has harpsichord as thier associated field of occupation
harpsichordist
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:harpsichord property:field_of_this_occupation ?o . ?o rdf:type ontology:occupation }
[]