Simple Question (Direct)
Simple Question
Q15076112
P27
Q15617994
USER
Which administrative territory is the native country of Mohammed Fatau ?
(Q15076112,P27,c(Q15617994))
action filter_type
action find
entity Q15076112
relation P27
type Q15617994
['Q15076112', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q15076112 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Mohammed Fatau
action filter_type
action find
entity Mohammed Fatau
relation country of citizenship
type designation for an administrative territorial entity
['Mohammed Fatau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Mohammed_Fatau property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q117
SYSTEM
Ghana
Q117
(Q15076112,P27,c(Q15617994))
action filter_type
action find
entity Q15076112
relation P27
type Q15617994
The [ANSWER] is the native country of Mohammed Fatau
['Q15076112', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q15076112 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Ghana
The Ghana is the native country of Mohammed Fatau
Ghana
action filter_type
action find
entity Mohammed Fatau
relation country of citizenship
type designation for an administrative territorial entity
['Mohammed Fatau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Mohammed_Fatau property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q117
P35
Q502895
USER
Who is the head of state of that administrative territory ?
(Q117,P35,c(Q502895))
action filter_type
action find
entity Q117
relation P35
type Q502895
['Q117', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q117 property:P35 ?o . ?o rdf:type ontology:Q502895 }
Ghana
action filter_type
action find
entity Ghana
relation head of state
type common name
['Ghana', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ghana property:head_of_state ?o . ?o rdf:type ontology:common_name }
[]
common name
Q50678
SYSTEM
John Mahama
Q50678
(Q117,P35,c(Q502895))
action filter_type
action find
entity Q117
relation P35
type Q502895
The head of state of that administrative territory is the [ANSWER]
['Q117', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q117 property:P35 ?o . ?o rdf:type ontology:Q502895 }
John Mahama
The head of state of that administrative territory is the John Mahama
John Mahama
action filter_type
action find
entity Ghana
relation head of state
type common name
['Ghana', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ghana property:head_of_state ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q117
P30
Q2221906
USER
Where is Ghana situated ?
(Q117,P30,c(Q2221906))
action filter_type
action find
entity Q117
relation P30
type Q2221906
['Q117', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q117 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
Ghana
action filter_type
action find
entity Ghana
relation continent
type geographic location
['Ghana', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:Ghana property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
geographic location
Q15
SYSTEM
Africa
Q15
(Q117,P30,c(Q2221906))
action filter_type
action find
entity Q117
relation P30
type Q2221906
Ghana is situated in [ANSWER]
['Q117', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q117 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
Africa
Ghana is situated in Africa
Africa
action filter_type
action find
entity Ghana
relation continent
type geographic location
['Ghana', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:Ghana property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21489967
Q2221906
USER
And also tell me about Olech Hills?
(Q21489967,P30,c(Q2221906))
action filter_type
action find
entity Q21489967
relation P30
type Q2221906
['Q21489967', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q21489967 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Olech Hills
action filter_type
action find
entity Olech Hills
relation continent
type geographic location
['Olech Hills', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Olech_Hills property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q21489967,P30,c(Q2221906))
action filter_type
action find
entity Q21489967
relation P30
type Q2221906
[ANSWER]
['Q21489967', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q21489967 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Olech Hills
relation continent
type geographic location
['Olech Hills', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Olech_Hills property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q51 Q141327
P30
Q15324
USER
Is Collins Bay included in that geographic location ?
(Q141327,P30,Q51)
action is_in
entity Q51
action find
entity Q141327
relation P30
['Q141327', 'P30', 'Q51']
ASK WHERE { resource:Q141327 property:P30 resource:Q51 }
Antarctica Collins Bay
action is_in
entity Antarctica
action find
entity Collins Bay
relation continent
['Collins Bay', 'continent', 'Antarctica']
ASK WHERE { resource:Collins_Bay property:continent resource:Antarctica }
[]
body of water
SYSTEM
YES
(Q141327,P30,Q51)
action is_in
entity Q51
action find
entity Q141327
relation P30
[ANSWER]
['Q141327', 'P30', 'Q51']
ASK WHERE { resource:Q141327 property:P30 resource:Q51 }
Yes
action is_in
entity Antarctica
action find
entity Collins Bay
relation continent
['Collins Bay', 'continent', 'Antarctica']
ASK WHERE { resource:Collins_Bay property:continent resource:Antarctica }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q105206
P706
Q56061 Q2221906
USER
How many administrative territories are lesser number of geographic locations located on than Bukovina ?
(c(Q2221906),P706,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find_reverse
entity Q105206
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P706 ?k . ?k rdf:type ontology:Q56061 . ?o rdf:type ontology:Q2221906 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P706 resource:Q105206 . ?g rdf:type ontology:Q2221906 } } . FILTER ( ?n < ?z ) }
Bukovina
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find_reverse
entity Bukovina
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:located_on_terrain_feature ?k . ?k rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:geographic_location } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:located_on_terrain_feature resource:Bukovina . ?g rdf:type ontology:geographic_location } } . FILTER ( ?n < ?z ) }
[]
administrative territorial entity geographic location
SYSTEM
123
Q1715 Q644023 Q12317764 Q10861438 Q211073 Q4965978 Q486580 Q203995 Q322361 Q1025947 Q3711 Q21176 Q138901 Q3413022 Q406 Q1135211 Q612 Q8678 Q309355 Q7107283 Q663011 Q20085877 Q727 Q649 Q6515984 Q1479 Q836960 Q3219865 Q72499 Q23436 Q26087 Q1085963 Q463937 Q368275 Q707345 Q572041 Q3141 Q586 Q672395 Q569685 Q5689172 Q1919093 Q1373658 Q904462 Q237 Q2255839 Q12994 Q2807 Q932302 Q2066 Q156858 Q1754 Q706005 Q1622641 Q13153 Q200707 Q14452 Q1850 Q6276922 Q212040 Q515 Q2428809 Q853946 Q2703446 Q90 Q16635 Q123076 Q25231 Q1741 Q913663 Q1748 Q1016709 Q3286039 Q1223508 Q84 Q2132 Q7880 Q24639 Q1553054 Q849441 Q1921029 Q81046 Q605001 Q155863 Q2622689 Q1218 Q7230430 Q10667337 Q1567229 Q2577744 Q3172924 Q516474 Q4942522 Q1014221 Q740149 Q16536070 Q214178 Q6958544 Q3295876 Q539579 Q25396 Q1043368 Q436691 Q815893 Q1476222 Q831527 Q2536868 Q1017 Q11998785 Q244289 Q780785 Q325455 Q15377091 Q1333951 Q1929484 Q191607 Q1042366 Q189059 Q27168 Q1014699 Q14947358 Q745121 Q1073089
(c(Q2221906),P706,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find_reverse
entity Q105206
relation P706
type Q2221906
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P706 ?k . ?k rdf:type ontology:Q56061 . ?o rdf:type ontology:Q2221906 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P706 resource:Q105206 . ?g rdf:type ontology:Q2221906 } } . FILTER ( ?n < ?z ) }
Hanover Troy Grove Højer Svay Rieng Matadi Brickell Key Pedra de Lume Southend-on-Sea Ribe Watson Lake Belgrade Viborg Livermore Quartier-d'Orléans Istanbul Agios Konstantinos, East Attica Dubai Rio de Janeiro Kikinda Osney Hadsund Mullumbimby Amsterdam Moscow Setskog Bordeaux Rødding Laurium Mediterranean Basin Edinburgh Tromsø Franklin Saint Thomas Spetses Padborg Antequera Melbourne Bonn Thurø Griesheim Head Lake, Ontario Melby Charlottenlund Riddarholmen Vatican City Uitkerke Bruges Madrid Dingle Essen Struga Stockholm Friedrichstadt Mount Macedon Ronda Takamatsu Easter Island Phnom Penh Jordan River, British Columbia Stóra Dímun city Champagne Girsu Eskilstrup Paris Guam Palmyra Atoll Svalbard Vienna Bridge of Orchy Copenhagen Mokra Gora Manndalen Ohrid London Victoria Toulouse Vancouver Gudhjem Saint John Menzenschwand Charleroi Svaneke Kronstadt Skærbæk Jerusalem Porsön Sickla Tornquist Zone Ingarö Løgumkloster Groß-Umstadt Bonnyrigg Konitsa Södermalm Careil Nablus Nagarbhavi Martinique, Nova Scotia Groß-Bieberau Bonaire Stora Essingen Altenberg Bellelay Sehel Island Djurgården Werbomont Aachen Rådal Athis-Mons Långholmen Yitzhar Clausthal Elstorf Klejtrup Podolia Lilla Essingen Mytilene Randers Demir Kapija Sommerfeld Alsace Wine Region Chimanimani
123
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find_reverse
entity Bukovina
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:located_on_terrain_feature ?k . ?k rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:geographic_location } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:located_on_terrain_feature resource:Bukovina . ?g rdf:type ontology:geographic_location } } . FILTER ( ?n < ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P30
Q2221906 Q46831 Q271669
USER
How many geographic locations are atleast 3 mountain ranges and landforms located ?
(c(Q46831)|c(Q271669),P30,c(Q2221906))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q46831
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q271669
value 3
[[{'concept': 'Q46831'}, {'concept': 'Q271669'}], 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?r ) WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:Q46831 ) ( ontology:Q271669 ) } } GROUP BY ?i } . FILTER ( ?r >= 3 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation continent
type geographic location
type mountain range
action find_reverse_tuple_counts
relation continent
type geographic location
type landform
value 3
[[{'concept': 'mountain range'}, {'concept': 'landform'}], 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?r ) WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:mountain_range ) ( ontology:landform ) } } GROUP BY ?i } . FILTER ( ?r >= 3 ) }
[]
geographic location mountain range landform
SYSTEM
6
Q51 Q46 Q828 Q48 Q49 Q15
(c(Q46831)|c(Q271669),P30,c(Q2221906))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q46831
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q271669
value 3
[ANSWER]
[[{'concept': 'Q46831'}, {'concept': 'Q271669'}], 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?r ) WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:Q46831 ) ( ontology:Q271669 ) } } GROUP BY ?i } . FILTER ( ?r >= 3 ) }
Antarctica Europe Americas Asia North America Africa
6
action count
action atleast
action union
action find_reverse_tuple_counts
relation continent
type geographic location
type mountain range
action find_reverse_tuple_counts
relation continent
type geographic location
type landform
value 3
[[{'concept': 'mountain range'}, {'concept': 'landform'}], 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?r ) WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:mountain_range ) ( ontology:landform ) } } GROUP BY ?i } . FILTER ( ?r >= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50678
P26
Q502895
USER
Who is the spouse of John Mahama ?
(c(Q502895),P26,Q50678)
action filter_type
action find
entity Q50678
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q50678']
SELECT DISTINCT ?w WHERE { resource:Q50678 property:P26 ?w . ?w rdf:type ontology:Q502895 }
John Mahama
action filter_type
action find
entity John Mahama
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Mahama']
SELECT DISTINCT ?w WHERE { resource:John_Mahama property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q20722948
SYSTEM
Lordina Mahama
Q20722948
(c(Q502895),P26,Q50678)
action filter_type
action find
entity Q50678
relation P26
type Q502895
The spouse of John Mahama is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q50678']
SELECT DISTINCT ?w WHERE { resource:Q50678 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Lordina Mahama
The spouse of John Mahama is the Lordina Mahama
Lordina Mahama
action filter_type
action find
entity John Mahama
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Mahama']
SELECT DISTINCT ?w WHERE { resource:John_Mahama property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50678
P106
Q12737077
USER
What do John Mahama do for a living ?
(Q50678,P106,c(Q12737077))
action filter_type
action find
entity Q50678
relation P106
type Q12737077
['Q50678', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q50678 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
John Mahama
action filter_type
action find
entity John Mahama
relation occupation
type occupation
['John Mahama', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:John_Mahama property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q201788 Q82955
SYSTEM
historian, politician
Q201788 Q82955
(Q50678,P106,c(Q12737077))
action filter_type
action find
entity Q50678
relation P106
type Q12737077
[ANSWERS] John Mahama do for a living
['Q50678', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q50678 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
historian politician
Historian and politician John Mahama do for a living
historian politician
action filter_type
action find
entity John Mahama
relation occupation
type occupation
['John Mahama', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:John_Mahama property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15221150
Q12737077
USER
And also tell me about Auguste-François-Thomas Bertin de Veaux?
(Q15221150,P106,c(Q12737077))
action filter_type
action find
entity Q15221150
relation P106
type Q12737077
['Q15221150', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q15221150 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Auguste-François-Thomas Bertin de Veaux
action filter_type
action find
entity Auguste-François-Thomas Bertin de Veaux
relation occupation
type occupation
['Auguste-François-Thomas Bertin de Veaux', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Auguste-François-Thomas_Bertin_de_Veaux property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q82955 Q189290
SYSTEM
politician, officer
Q82955 Q189290
(Q15221150,P106,c(Q12737077))
action filter_type
action find
entity Q15221150
relation P106
type Q12737077
[ANSWERS]
['Q15221150', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q15221150 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
politician officer
politician officer
action filter_type
action find
entity Auguste-François-Thomas Bertin de Veaux
relation occupation
type occupation
['Auguste-François-Thomas Bertin de Veaux', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Auguste-François-Thomas_Bertin_de_Veaux property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5860509
P106
Q502895
USER
Do Fernando de Villena have those occupations as his/her means of employment ?
(Q5860509,P106,Q82955) (Q5860509,P106,Q189290)
action is_in
entity prev_answer
action find
entity Q5860509
relation P106
['Q5860509', 'P106', 'Q82955'] ['Q5860509', 'P106', 'Q189290']
ASK WHERE { VALUES ( ?y ) { ( resource:Q82955 ) ( resource:Q189290 ) } . resource:Q5860509 property:P106 ?y }
Fernando de Villena
action is_in
entity prev_answer
action find
entity Fernando de Villena
relation occupation
['Fernando de Villena', 'occupation', 'politician'] ['Fernando de Villena', 'occupation', 'officer']
ASK WHERE { VALUES ( ?y ) { ( resource:politician ) ( resource:officer ) } . resource:Fernando_de_Villena property:occupation ?y }
[]
common name
SYSTEM
NO
(Q5860509,P106,Q82955) (Q5860509,P106,Q189290)
action is_in
entity prev_answer
action find
entity Q5860509
relation P106
[ANSWER]
['Q5860509', 'P106', 'Q82955'] ['Q5860509', 'P106', 'Q189290']
ASK WHERE { VALUES ( ?y ) { ( resource:Q82955 ) ( resource:Q189290 ) } . resource:Q5860509 property:P106 ?y }
No
action is_in
entity prev_answer
action find
entity Fernando de Villena
relation occupation
['Fernando de Villena', 'occupation', 'politician'] ['Fernando de Villena', 'occupation', 'officer']
ASK WHERE { VALUES ( ?y ) { ( resource:politician ) ( resource:officer ) } . resource:Fernando_de_Villena property:occupation ?y }
[]