Simple Question (Direct)
Simple Question
Q21622279
P21
Q290
USER
Which sex does Emmanuel Osadebe have ?
(Q21622279,P21,c(Q290))
action filter_type
action find
entity Q21622279
relation P21
type Q290
['Q21622279', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q21622279 property:P21 ?c }
Emmanuel Osadebe
action filter_type
action find
entity Emmanuel Osadebe
relation gender
type sex
['Emmanuel Osadebe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Emmanuel_Osadebe property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21622279,P21,c(Q290))
action filter_type
action find
entity Q21622279
relation P21
type Q290
Emmanuel Osadebe has a [ANSWER]
['Q21622279', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q21622279 property:P21 ?c }
male
Emmanuel Osadebe has a male
male
action filter_type
action find
entity Emmanuel Osadebe
relation gender
type sex
['Emmanuel Osadebe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Emmanuel_Osadebe property:gender ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21622279
P641
Q349
USER
What did Emmanuel Osadebe participate in ?
(Q21622279,P641,c(Q349))
action filter_type
action find
entity Q21622279
relation P641
type Q349
['Q21622279', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q21622279 property:P641 ?c }
Emmanuel Osadebe
action filter_type
action find
entity Emmanuel Osadebe
relation sport
type sport
['Emmanuel Osadebe', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Emmanuel_Osadebe property:sport ?c }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q21622279,P641,c(Q349))
action filter_type
action find
entity Q21622279
relation P641
type Q349
Emmanuel Osadebe participated in [ANSWER]
['Q21622279', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q21622279 property:P641 ?c }
association football
Emmanuel Osadebe participated in association football
association football
action filter_type
action find
entity Emmanuel Osadebe
relation sport
type sport
['Emmanuel Osadebe', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Emmanuel_Osadebe property:sport ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { resource:Q2736 property:P495 ?g . ?g rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:association_football property:country_of_origin ?g . ?g rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { resource:Q2736 property:P495 ?g . ?g rdf:type ontology:Q1496967 }
England
The origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:association_football property:country_of_origin ?g . ?g rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21 Q145 Q694136
P17
Q15617994
USER
Is that territory located in United Kingdom and Roth ?
(Q21,P17,Q145) (Q21,P17,Q694136)
action is_in
entity Q21
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q694136
relation P17
['Q21', 'P17', 'Q145'] ['Q21', 'P17', 'Q694136']
ASK WHERE { resource:Q21 property:P17 resource:Q694136 . resource:Q21 property:P17 resource:Q145 }
England United Kingdom Roth
action is_in
entity England
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Roth
relation country
['England', 'country', 'United Kingdom'] ['England', 'country', 'Roth']
ASK WHERE { resource:England property:country resource:Roth . resource:England property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q21,P17,Q145) (Q21,P17,Q694136)
action is_in
entity Q21
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q694136
relation P17
[ANSWER]
['Q21', 'P17', 'Q145'] ['Q21', 'P17', 'Q694136']
ASK WHERE { resource:Q21 property:P17 resource:Q694136 . resource:Q21 property:P17 resource:Q145 }
YES and NO respectively
action is_in
entity England
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Roth
relation country
['England', 'country', 'United Kingdom'] ['England', 'country', 'Roth']
ASK WHERE { resource:England property:country resource:Roth . resource:England property:country resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P163
Q14660
USER
Which flag is associated with that territory ?
action filter_type
action find
entity Q21
relation P163
type Q14660
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q14660 . resource:Q21 property:P163 ?w }
England
action filter_type
action find
entity England
relation flag
type flag
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:flag . resource:England property:flag ?w }
[]
flag
Q171117
SYSTEM
flag of England
Q171117
action filter_type
action find
entity Q21
relation P163
type Q14660
The [ANSWER] is associated with that territory
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q14660 . resource:Q21 property:P163 ?w }
flag of England
The flag of England is associated with that territory
flag of England
action filter_type
action find
entity England
relation flag
type flag
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:flag . resource:England property:flag ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P38
Q8142
USER
What is considered to be the currency of England ?
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q8142 . resource:Q21 property:P38 ?f }
England
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:currency . resource:England property:currency ?f }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
Coin [ANSWER] is considered to be the currency of England
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q8142 . resource:Q21 property:P38 ?f }
pound sterling
Coin pound sterling is considered to be the currency of England
pound sterling
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:currency . resource:England property:currency ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9648
Q8142
USER
And how about Falkland Islands?
(Q9648,P38,c(Q8142))
action filter_type
action find
entity Q9648
relation P38
type Q8142
['Q9648', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?z WHERE { resource:Q9648 property:P38 ?z . ?z rdf:type ontology:Q8142 }
Falkland Islands
action filter_type
action find
entity Falkland Islands
relation currency
type currency
['Falkland Islands', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?z WHERE { resource:Falkland_Islands property:currency ?z . ?z rdf:type ontology:currency }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q9648,P38,c(Q8142))
action filter_type
action find
entity Q9648
relation P38
type Q8142
[ANSWER]
['Q9648', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?z WHERE { resource:Q9648 property:P38 ?z . ?z rdf:type ontology:Q8142 }
pound sterling
pound sterling
action filter_type
action find
entity Falkland Islands
relation currency
type currency
['Falkland Islands', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?z WHERE { resource:Falkland_Islands property:currency ?z . ?z rdf:type ontology:currency }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7269 Q171117
P163 P122
Q7275
USER
Which states have their flag named flag of England or have monarchy as the form of government ?
OR((c(Q7275),P163,Q171117), (c(Q7275),P122,Q7269))
action filter_type
action union
action find_reverse
entity Q171117
relation P163
action find_reverse
entity Q7269
relation P122
type Q7275
{'OR': [[{'concept': 'Q7275'}, 'P163', 'Q171117'], [{'concept': 'Q7275'}, 'P122', 'Q7269']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P163 resource:Q171117 } UNION { ?m property:P122 resource:Q7269 } } . ?m rdf:type ontology:Q7275 }
monarchy flag of England
action filter_type
action union
action find_reverse
entity flag of England
relation flag
action find_reverse
entity monarchy
relation basic form of government
type state
{'OR': [[{'concept': 'state'}, 'flag', 'flag of England'], [{'concept': 'state'}, 'basic form of government', 'monarchy']]}
SELECT DISTINCT ?m WHERE { { { ?m property:flag resource:flag_of_England } UNION { ?m property:basic_form_of_government resource:monarchy } } . ?m rdf:type ontology:state }
[]
state
Q3185305 Q16624774 Q1483430 Q21005050 Q633573 Q940123 Q6083755 Q1068408 Q13107370 Q736936
SYSTEM
Some of them are Kingdom of Israel, Kingdom of Nicoya, Principality of Kiev, Kingdom of Morgannwg, Kingdom of Rheged, Rustamid dynasty, Islands of Refreshment, Kuru Kingdom, Principality of Serbia, Lu
Q736936 Q75613 Q1192936 Q6083755 Q4461035 Q230407 Q303421 Q558596 Q179876 Q16624774 Q142417 Q588672 Q266923 Q173082 Q48685 Q11876909 Q1789596 Q2456191 Q422065 Q3185305 Q6412664 Q555994 Q2365048 Q582861 Q21005050 Q2253783 Q13107370 Q42585 Q940123 Q38872 Q956451 Q1322229 Q1277557 Q633573 Q1483430 Q156038 Q752662 Q1068408 Q623751 Q49683 Q2578706 Q1885093 Q157727
OR((c(Q7275),P163,Q171117), (c(Q7275),P122,Q7269))
action filter_type
action union
action find_reverse
entity Q171117
relation P163
action find_reverse
entity Q7269
relation P122
type Q7275
[ANSWERS] have their flag named flag of England or have monarchy as the form of government
{'OR': [[{'concept': 'Q7275'}, 'P163', 'Q171117'], [{'concept': 'Q7275'}, 'P122', 'Q7269']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P163 resource:Q171117 } UNION { ?m property:P122 resource:Q7269 } } . ?m rdf:type ontology:Q7275 }
Lu Almoravid dynasty Kingdom of Burundi Islands of Refreshment Akkadian empire Kingdom of Israel Kingdom of Galicia Hadiya Kingdom Kingdom of England Kingdom of Nicoya Kingdom of Valencia Hammadid dynasty Kingdom of Mysore Dacia Judah State of Brazil Croatia in personal union with Hungary Kingdom of Seisyllwg Sultanate of Sulu Kingdom of Israel Realm of Stefan Dragutin Ag Qoyunlu Adal Sultanate Marinid dynasty Kingdom of Morgannwg Kingdom of Glywysing Principality of Serbia Kingdom of Bohemia Rustamid dynasty Prussia Kingdom of Dyfed Enlightenment in Spain Democratic Federal Yugoslavia Kingdom of Rheged Principality of Kiev Duchy of Courland and Semigallia Hafsid dynasty Kuru Kingdom Kingdom of Bernicia Grand Duchy of Lithuania Kingdom of Ceredigion Mahra Sultanate Ifat Sultanate
Kingdom of Israel, Kingdom of Nicoya, Principality of Kiev, Kingdom of Morgannwg, Kingdom of Rheged, Rustamid dynasty, Islands of Refreshment, Kuru Kingdom, Principality of Serbia and Lu have their flag named flag of England or have monarchy as the form of government
Kingdom of Israel Kingdom of Nicoya Principality of Kiev Kingdom of Morgannwg Kingdom of Rheged Rustamid dynasty Islands of Refreshment Kuru Kingdom Principality of Serbia Lu
action filter_type
action union
action find_reverse
entity flag of England
relation flag
action find_reverse
entity monarchy
relation basic form of government
type state
{'OR': [[{'concept': 'state'}, 'flag', 'flag of England'], [{'concept': 'state'}, 'basic form of government', 'monarchy']]}
SELECT DISTINCT ?m WHERE { { { ?m property:flag resource:flag_of_England } UNION { ?m property:basic_form_of_government resource:monarchy } } . ?m rdf:type ontology:state }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1376
Q7275 Q56061 Q20667921
USER
How many states have lesser number of administrative territories and french administrative divisions as their capital than that state ?
(c(Q56061)|c(Q20667921),P1376,c(Q7275))
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1376 ?y } UNION { ?x property:P1376 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7275 . ?x rdf:type ontology:Q20667921 }
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:capital_of ?y } UNION { ?x property:capital_of ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:state . ?x rdf:type ontology:type_of_french_administrative_division }
[]
state administrative territorial entity type of french administrative division
Comparative|Count over More/Less|Mult. entity type|Clarification
Q13107370
SYSTEM
Did you mean Principality of Serbia ?
(c(Q56061)|c(Q20667921),P1376,c(Q7275))
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1376 ?y } UNION { ?x property:P1376 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7275 . ?x rdf:type ontology:Q20667921 }
Did you mean Principality of Serbia ?
Principality of Serbia
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:capital_of ?y } UNION { ?x property:capital_of ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:state . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Kingdom of Nicoya. Could you tell me the answer for that?
(c(Q56061)|c(Q20667921),P1376,c(Q7275))
Q16624774
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
[]
SYSTEM
0
(c(Q56061)|c(Q20667921),P1376,c(Q7275))
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1376 ?y } UNION { ?x property:P1376 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7275 . ?x rdf:type ontology:Q20667921 }
0
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:capital_of ?y } UNION { ?x property:capital_of ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:state . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6083755
P706
Q33837
USER
Where is Islands of Refreshment located on ?
(Q6083755,P706,c(Q33837))
action filter_type
action find
entity Q6083755
relation P706
type Q33837
['Q6083755', 'P706', {'concept': 'Q33837'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q33837 . resource:Q6083755 property:P706 ?o }
Islands of Refreshment
action filter_type
action find
entity Islands of Refreshment
relation located on terrain feature
type archipelago
['Islands of Refreshment', 'located on terrain feature', {'concept': 'archipelago'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:archipelago . resource:Islands_of_Refreshment property:located_on_terrain_feature ?o }
[]
archipelago
Q220982
SYSTEM
Tristan da Cunha
Q220982
(Q6083755,P706,c(Q33837))
action filter_type
action find
entity Q6083755
relation P706
type Q33837
Islands of Refreshment is located on the [ANSWER]
['Q6083755', 'P706', {'concept': 'Q33837'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q33837 . resource:Q6083755 property:P706 ?o }
Tristan da Cunha
Islands of Refreshment is located on the Tristan da Cunha
Tristan da Cunha
action filter_type
action find
entity Islands of Refreshment
relation located on terrain feature
type archipelago
['Islands of Refreshment', 'located on terrain feature', {'concept': 'archipelago'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:archipelago . resource:Islands_of_Refreshment property:located_on_terrain_feature ?o }
[]