Simple Question (Direct)
Simple Question
Q4965639
P734
Q82799
USER
Which name is associated with Brian Williams ?
(Q4965639,P734,c(Q82799))
action filter_type
action find
entity Q4965639
relation P734
type Q82799
['Q4965639', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q4965639 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Brian Williams
action filter_type
action find
entity Brian Williams
relation family name
type name
['Brian Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Brian_Williams property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q1688722
SYSTEM
Williams
Q1688722
(Q4965639,P734,c(Q82799))
action filter_type
action find
entity Q4965639
relation P734
type Q82799
Was [ANSWER] is associated with Brian [ANSWER]
['Q4965639', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q4965639 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Williams
Was Williams is associated with Brian Williams
Williams
action filter_type
action find
entity Brian Williams
relation family name
type name
['Brian Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Brian_Williams property:family_name ?c . ?c rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4965639
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Brian Williams ?
(Q4965639,P27,c(Q15617994))
action filter_type
action find
entity Q4965639
relation P27
type Q15617994
['Q4965639', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4965639 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Brian Williams
action filter_type
action find
entity Brian Williams
relation country of citizenship
type designation for an administrative territorial entity
['Brian Williams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Brian_Williams property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4965639,P27,c(Q15617994))
action filter_type
action find
entity Q4965639
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Brian Williams
['Q4965639', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4965639 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Brian Williams
United States of America
action filter_type
action find
entity Brian Williams
relation country of citizenship
type designation for an administrative territorial entity
['Brian Williams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Brian_Williams property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11786670
Q15617994
USER
And what about Murat Türker?
(Q11786670,P27,c(Q15617994))
action filter_type
action find
entity Q11786670
relation P27
type Q15617994
['Q11786670', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q11786670 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Murat Türker
action filter_type
action find
entity Murat Türker
relation country of citizenship
type designation for an administrative territorial entity
['Murat Türker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Murat_Türker property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q11786670,P27,c(Q15617994))
action filter_type
action find
entity Q11786670
relation P27
type Q15617994
[ANSWER]
['Q11786670', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q11786670 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Turkey
Turkey
action filter_type
action find
entity Murat Türker
relation country of citizenship
type designation for an administrative territorial entity
['Murat Türker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Murat_Türker property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q43 Q11594110
P27
Q502895
USER
Is Yuriko Fukuda a native of that administrative territory ?
(Q11594110,P27,Q43)
action is_in
entity Q11594110
action find
entity Q43
relation P27
['Q11594110', 'P27', 'Q43']
ASK WHERE { resource:Q43 property:P27 resource:Q11594110 }
Turkey Yuriko Fukuda
action is_in
entity Yuriko Fukuda
action find
entity Turkey
relation country of citizenship
['Yuriko Fukuda', 'country of citizenship', 'Turkey']
ASK WHERE { resource:Turkey property:country_of_citizenship resource:Yuriko_Fukuda }
[]
common name
SYSTEM
NO
(Q11594110,P27,Q43)
action is_in
entity Q11594110
action find
entity Q43
relation P27
[ANSWER]
['Q11594110', 'P27', 'Q43']
ASK WHERE { resource:Q43 property:P27 resource:Q11594110 }
No
action is_in
entity Yuriko Fukuda
action find
entity Turkey
relation country of citizenship
['Yuriko Fukuda', 'country of citizenship', 'Turkey']
ASK WHERE { resource:Turkey property:country_of_citizenship resource:Yuriko_Fukuda }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43
P530
Q15617994
USER
What administrative territories have diplomatic relationships with Turkey ?
(Q43,P530,c(Q15617994))
action filter_type
action find
entity Q43
relation P530
type Q15617994
['Q43', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q43 property:P530 ?a . ?a rdf:type ontology:Q15617994 }
Turkey
action filter_type
action find
entity Turkey
relation diplomatic relation
type designation for an administrative territorial entity
['Turkey', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Turkey property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q155 Q711 Q38 Q159 Q805
(Q43,P530,c(Q15617994))
action filter_type
action find
entity Q43
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with Turkey
['Q43', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q43 property:P530 ?a . ?a rdf:type ontology:Q15617994 }
Brazil Mongolia Italy Russia Yemen
Italy, Brazil and Russia have diplomatic relationships with Turkey
Italy Brazil Russia
action filter_type
action find
entity Turkey
relation diplomatic relation
type designation for an administrative territorial entity
['Turkey', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Turkey property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q159
P138
Q17444909
USER
Which astronomical object types have those administrative territories as their namesake ?
(c(Q17444909),P138,Q38) (c(Q17444909),P138,Q155) (c(Q17444909),P138,Q159)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q38'] [{'concept': 'Q17444909'}, 'P138', 'Q155'] [{'concept': 'Q17444909'}, 'P138', 'Q159']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q17444909 . ?b property:P138 ?x . VALUES ( ?x ) { ( resource:Q155 ) ( resource:Q711 ) ( resource:Q38 ) } }
Italy Brazil Russia
action filter_type
action find_reverse
entity prev_answer
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Italy'] [{'concept': 'astronomical object type'}, 'named after', 'Brazil'] [{'concept': 'astronomical object type'}, 'named after', 'Russia']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:astronomical_object_type . ?b property:named_after ?x . VALUES ( ?x ) { ( resource:Brazil ) ( resource:Mongolia ) ( resource:Italy ) } }
[]
astronomical object type
Q154636 Q150378 Q148685
SYSTEM
477 Italia, 293 Brasilia, 232 Russia
Q154636 Q150378 Q148685
(c(Q17444909),P138,Q38) (c(Q17444909),P138,Q155) (c(Q17444909),P138,Q159)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q17444909
[ANSWERS] have those administrative territories as their namesake
[{'concept': 'Q17444909'}, 'P138', 'Q38'] [{'concept': 'Q17444909'}, 'P138', 'Q155'] [{'concept': 'Q17444909'}, 'P138', 'Q159']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q17444909 . ?b property:P138 ?x . VALUES ( ?x ) { ( resource:Q155 ) ( resource:Q711 ) ( resource:Q38 ) } }
477 Italia 293 Brasilia 232 Russia
477 Italia, 293 Brasilia and 232 Russia have those administrative territories as their namesake
477 Italia 293 Brasilia 232 Russia
action filter_type
action find_reverse
entity prev_answer
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Italy'] [{'concept': 'astronomical object type'}, 'named after', 'Brazil'] [{'concept': 'astronomical object type'}, 'named after', 'Russia']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:astronomical_object_type . ?b property:named_after ?x . VALUES ( ?x ) { ( resource:Brazil ) ( resource:Mongolia ) ( resource:Italy ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q154636 Q150378 Q148685
P138
Q15617994
USER
Which administrative territories are the origin of 477 Italia, 293 Brasilia and 232 Russia ?
(Q154636,P138,c(Q15617994)) (Q150378,P138,c(Q15617994)) (Q148685,P138,c(Q15617994))
action union
action filter_type
action find
entity Q154636
relation P138
type Q15617994
action filter_type
action find
entity Q150378
relation P138
type Q15617994
action filter_type
action find
entity Q148685
relation P138
type Q15617994
['Q154636', 'P138', {'concept': 'Q15617994'}] ['Q150378', 'P138', {'concept': 'Q15617994'}] ['Q148685', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { resource:Q150378 property:P138 ?e . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . resource:Q154636 property:P138 ?e } }
477 Italia 293 Brasilia 232 Russia
action union
action filter_type
action find
entity 477 Italia
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity 293 Brasilia
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity 232 Russia
relation named after
type designation for an administrative territorial entity
['477 Italia', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['293 Brasilia', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['232 Russia', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { resource:293_Brasilia property:named_after ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:477_Italia property:named_after ?e } }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q38 Q155 Q159
(Q154636,P138,c(Q15617994)) (Q150378,P138,c(Q15617994)) (Q148685,P138,c(Q15617994))
action union
action filter_type
action find
entity Q154636
relation P138
type Q15617994
action filter_type
action find
entity Q150378
relation P138
type Q15617994
action filter_type
action find
entity Q148685
relation P138
type Q15617994
[ANSWERS] are the origin of 477 Italia, 293 Brasilia and 232 Russia
['Q154636', 'P138', {'concept': 'Q15617994'}] ['Q150378', 'P138', {'concept': 'Q15617994'}] ['Q148685', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { resource:Q150378 property:P138 ?e . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . resource:Q154636 property:P138 ?e } }
Italy Brazil Russia
Italy, Brazil and Russia are the origin of 477 Italia, 293 Brasilia and 232 Russia
Italy Brazil Russia
action union
action filter_type
action find
entity 477 Italia
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity 293 Brasilia
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity 232 Russia
relation named after
type designation for an administrative territorial entity
['477 Italia', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['293 Brasilia', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['232 Russia', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { resource:293_Brasilia property:named_after ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:477_Italia property:named_after ?e } }
[]