Simple Question (Direct)
Simple Question
Q1136356
P106
Q12737077
USER
What does Costa Khaiseb do for a living ?
(Q1136356,P106,c(Q12737077))
action filter_type
action find
entity Q1136356
relation P106
type Q12737077
['Q1136356', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1136356 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Costa Khaiseb
action filter_type
action find
entity Costa Khaiseb
relation occupation
type occupation
['Costa Khaiseb', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Costa_Khaiseb property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1136356,P106,c(Q12737077))
action filter_type
action find
entity Q1136356
relation P106
type Q12737077
Costa Khaiseb does an [ANSWER] for a living
['Q1136356', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1136356 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
Costa Khaiseb does an association football player for a living
association football player
action filter_type
action find
entity Costa Khaiseb
relation occupation
type occupation
['Costa Khaiseb', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Costa_Khaiseb property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1136356
P19
Q515
USER
Where was that person born ?
(Q937857,P19,c(Q515))
action filter_type
action find
entity Q1136356
relation P19
type Q515
['Q937857', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1136356 property:P19 ?f . ?f rdf:type ontology:Q515 }
Costa Khaiseb
action filter_type
action find
entity Costa Khaiseb
relation place of birth
type city
['association football player', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Costa_Khaiseb property:place_of_birth ?f . ?f rdf:type ontology:city }
[]
city
Q3935
SYSTEM
Windhoek
Q3935
(Q937857,P19,c(Q515))
action filter_type
action find
entity Q1136356
relation P19
type Q515
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1136356 property:P19 ?f . ?f rdf:type ontology:Q515 }
Windhoek
That person was born in Windhoek
Windhoek
action filter_type
action find
entity Costa Khaiseb
relation place of birth
type city
['association football player', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Costa_Khaiseb property:place_of_birth ?f . ?f rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18619561 Q1136356
P19 P937
Q515
USER
Which cities are the places of birth of Costa Khaiseb or are the work locations of Benno Wandolleck ?
OR((Q1136356,P19,c(Q515)), (Q18619561,P937,c(Q515)))
action filter_type
action union
action find
entity Q1136356
relation P19
action find
entity Q18619561
relation P937
type Q515
{'OR': [['Q1136356', 'P19', {'concept': 'Q515'}], ['Q18619561', 'P937', {'concept': 'Q515'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . { { resource:Q1136356 property:P19 ?f } UNION { resource:Q18619561 property:P937 ?f } } }
Benno Wandolleck Costa Khaiseb
action filter_type
action union
action find
entity Costa Khaiseb
relation place of birth
action find
entity Benno Wandolleck
relation work location
type city
{'OR': [['Costa Khaiseb', 'place of birth', {'concept': 'city'}], ['Benno Wandolleck', 'work location', {'concept': 'city'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . { { resource:Costa_Khaiseb property:place_of_birth ?f } UNION { resource:Benno_Wandolleck property:work_location ?f } } }
[]
city
Q3935 Q1731
SYSTEM
Windhoek, Dresden
Q3935 Q1731
OR((Q1136356,P19,c(Q515)), (Q18619561,P937,c(Q515)))
action filter_type
action union
action find
entity Q1136356
relation P19
action find
entity Q18619561
relation P937
type Q515
[ANSWERS] are the places of birth of Costa Khaiseb or are the work locations of Benno Wandolleck
{'OR': [['Q1136356', 'P19', {'concept': 'Q515'}], ['Q18619561', 'P937', {'concept': 'Q515'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . { { resource:Q1136356 property:P19 ?f } UNION { resource:Q18619561 property:P937 ?f } } }
Windhoek Dresden
Windhoek and Dresden are the places of birth of Costa Khaiseb or are the work locations of Benno Wandolleck
Windhoek Dresden
action filter_type
action union
action find
entity Costa Khaiseb
relation place of birth
action find
entity Benno Wandolleck
relation work location
type city
{'OR': [['Costa Khaiseb', 'place of birth', {'concept': 'city'}], ['Benno Wandolleck', 'work location', {'concept': 'city'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . { { resource:Costa_Khaiseb property:place_of_birth ?f } UNION { resource:Benno_Wandolleck property:work_location ?f } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7796173
P190
Q56061
USER
Are Thorburn, Nova Scotia sister town of those cities ?
(Q7796173,P190,Q3935) (Q7796173,P190,Q1731)
action is_in
entity prev_answer
action find
entity Q7796173
relation P190
['Q7796173', 'P190', 'Q3935'] ['Q7796173', 'P190', 'Q1731']
ASK WHERE { VALUES ( ?q ) { ( resource:Q3935 ) ( resource:Q1731 ) } . resource:Q7796173 property:P190 ?q }
Thorburn, Nova Scotia
action is_in
entity prev_answer
action find
entity Thorburn, Nova Scotia
relation sister city
['Thorburn, Nova Scotia', 'sister city', 'Windhoek'] ['Thorburn, Nova Scotia', 'sister city', 'Dresden']
ASK WHERE { VALUES ( ?q ) { ( resource:Windhoek ) ( resource:Dresden ) } . resource:Thorburn,_Nova_Scotia property:sister_city ?q }
[]
administrative territorial entity
SYSTEM
NO
(Q7796173,P190,Q3935) (Q7796173,P190,Q1731)
action is_in
entity prev_answer
action find
entity Q7796173
relation P190
[ANSWER]
['Q7796173', 'P190', 'Q3935'] ['Q7796173', 'P190', 'Q1731']
ASK WHERE { VALUES ( ?q ) { ( resource:Q3935 ) ( resource:Q1731 ) } . resource:Q7796173 property:P190 ?q }
No
action is_in
entity prev_answer
action find
entity Thorburn, Nova Scotia
relation sister city
['Thorburn, Nova Scotia', 'sister city', 'Windhoek'] ['Thorburn, Nova Scotia', 'sister city', 'Dresden']
ASK WHERE { VALUES ( ?q ) { ( resource:Windhoek ) ( resource:Dresden ) } . resource:Thorburn,_Nova_Scotia property:sister_city ?q }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1727433 Q1136356
P27 P17
Q15617994
USER
Which administrative territories do Costa Khaiseb belong to or are canton of Saumur-Nord a part of ?
OR((Q1136356,P27,c(Q15617994)), (Q1727433,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1136356
relation P27
action find
entity Q1727433
relation P17
type Q15617994
{'OR': [['Q1136356', 'P27', {'concept': 'Q15617994'}], ['Q1727433', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1727433 property:P17 ?p } UNION { resource:Q1136356 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
canton of Saumur-Nord Costa Khaiseb
action filter_type
action union
action find
entity Costa Khaiseb
relation country of citizenship
action find
entity canton of Saumur-Nord
relation country
type designation for an administrative territorial entity
{'OR': [['Costa Khaiseb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['canton of Saumur-Nord', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:canton_of_Saumur-Nord property:country ?p } UNION { resource:Costa_Khaiseb property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q1030
SYSTEM
France, Namibia
Q142 Q1030
OR((Q1136356,P27,c(Q15617994)), (Q1727433,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1136356
relation P27
action find
entity Q1727433
relation P17
type Q15617994
Costa Khaiseb belong to or are canton of Saumur-Nord in [ANSWERS] a part of
{'OR': [['Q1136356', 'P27', {'concept': 'Q15617994'}], ['Q1727433', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1727433 property:P17 ?p } UNION { resource:Q1136356 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
France Namibia
Costa Khaiseb belong to or are canton of Saumur-Nord in France and Namibia a part of
France Namibia
action filter_type
action union
action find
entity Costa Khaiseb
relation country of citizenship
action find
entity canton of Saumur-Nord
relation country
type designation for an administrative territorial entity
{'OR': [['Costa Khaiseb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['canton of Saumur-Nord', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:canton_of_Saumur-Nord property:country ?p } UNION { resource:Costa_Khaiseb property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3293521 Q1136356
P27
Q15617994
USER
Which administrative territories are Costa Khaiseb or Mario Mutis a civilian of ?
OR((Q1136356,P27,c(Q15617994)), (Q3293521,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1136356
relation P27
action find
entity Q3293521
relation P27
type Q15617994
{'OR': [['Q1136356', 'P27', {'concept': 'Q15617994'}], ['Q3293521', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { ?f property:P27 ?x . VALUES ( ?f ) { ( resource:Q1136356 ) ( resource:Q3293521 ) } } }
Mario Mutis Costa Khaiseb
action filter_type
action union
action find
entity Costa Khaiseb
relation country of citizenship
action find
entity Mario Mutis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Costa Khaiseb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mario Mutis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?f property:country_of_citizenship ?x . VALUES ( ?f ) { ( resource:Costa_Khaiseb ) ( resource:Mario_Mutis ) } } }
[]
designation for an administrative territorial entity
Q298 Q1030
SYSTEM
Chile, Namibia
Q298 Q1030
OR((Q1136356,P27,c(Q15617994)), (Q3293521,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1136356
relation P27
action find
entity Q3293521
relation P27
type Q15617994
[ANSWERS] are Costa Khaiseb or Mario Mutis a civilian of
{'OR': [['Q1136356', 'P27', {'concept': 'Q15617994'}], ['Q3293521', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { ?f property:P27 ?x . VALUES ( ?f ) { ( resource:Q1136356 ) ( resource:Q3293521 ) } } }
Chile Namibia
Chile and Namibia are Costa Khaiseb or Mario Mutis a civilian of
Chile Namibia
action filter_type
action union
action find
entity Costa Khaiseb
relation country of citizenship
action find
entity Mario Mutis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Costa Khaiseb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mario Mutis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?f property:country_of_citizenship ?x . VALUES ( ?f ) { ( resource:Costa_Khaiseb ) ( resource:Mario_Mutis ) } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q298 Q1030
P463
Q484652
USER
What international organizations had those administrative territories as their member ?
(Q298,P463,c(Q484652)) (Q1030,P463,c(Q484652))
action filter_type
action find
entity prev_answer
relation P463
type Q484652
['Q298', 'P463', {'concept': 'Q484652'}] ['Q1030', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?t WHERE { ?j property:P463 ?t . ?t rdf:type ontology:Q484652 . VALUES ( ?j ) { ( resource:Q298 ) ( resource:Q1030 ) } }
Chile Namibia
action filter_type
action find
entity prev_answer
relation member of
type international organization
['Chile', 'member of', {'concept': 'international organization'}] ['Namibia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?t WHERE { ?j property:member_of ?t . ?t rdf:type ontology:international_organization . VALUES ( ?j ) { ( resource:Chile ) ( resource:Namibia ) } }
[]
international organization
Q1065 Q1065 Q7785
SYSTEM
Commonwealth of Nations for 3rd, United Nations for 1st, 2nd
Q4230 Q1065 Q1043527 Q471690 Q294278 Q7785 Q1065 Q1043527
(Q298,P463,c(Q484652)) (Q1030,P463,c(Q484652))
action filter_type
action find
entity prev_answer
relation P463
type Q484652
[ANSWERS]
['Q298', 'P463', {'concept': 'Q484652'}] ['Q1030', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?t WHERE { ?j property:P463 ?t . ?t rdf:type ontology:Q484652 . VALUES ( ?j ) { ( resource:Q298 ) ( resource:Q1030 ) } }
Union of South American Nations United Nations Multilateral Investment Guarantee Agency Andean Community of Nations African, Caribbean and Pacific Group of States Commonwealth of Nations United Nations Multilateral Investment Guarantee Agency
United Nations, United Nations and Commonwealth of Nations had those administrative territories as their member
United Nations United Nations Commonwealth of Nations
action filter_type
action find
entity prev_answer
relation member of
type international organization
['Chile', 'member of', {'concept': 'international organization'}] ['Namibia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?t WHERE { ?j property:member_of ?t . ?t rdf:type ontology:international_organization . VALUES ( ?j ) { ( resource:Chile ) ( resource:Namibia ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1065
P50
Q2342494
USER
Which collectable is that international organization an author of ?
(c(Q2342494),P50,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q1065']
SELECT DISTINCT ?y WHERE { ?y property:P50 resource:Q1065 . ?y rdf:type ontology:Q2342494 }
United Nations
action filter_type
action find_reverse
entity United Nations
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'United Nations']
SELECT DISTINCT ?y WHERE { ?y property:author resource:United_Nations . ?y rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q1065
SYSTEM
Did you mean United Nations ?
Q1065 Q1065 Q7785
(c(Q2342494),P50,Q1065) (c(Q2342494),P50,Q1065) (c(Q2342494),P50,Q7785)
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q1065'] [{'concept': 'Q2342494'}, 'P50', 'Q1065'] [{'concept': 'Q2342494'}, 'P50', 'Q7785']
SELECT DISTINCT ?y WHERE { ?y property:P50 resource:Q1065 . ?y rdf:type ontology:Q2342494 }
United Nations United Nations Commonwealth of Nations
Did you mean United Nations ?
United Nations
[{'concept': 'collectable'}, 'author', 'United Nations'] [{'concept': 'collectable'}, 'author', 'United Nations'] [{'concept': 'collectable'}, 'author', 'Commonwealth of Nations']
SELECT DISTINCT ?y WHERE { ?y property:author resource:United_Nations . ?y rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2342494),P50,Q1065)
[{'concept': 'Q2342494'}, 'P50', 'Q1065']
[{'concept': 'collectable'}, 'author', 'United Nations']
[]
Q208571
SYSTEM
Agenda 21
Q208571
(c(Q2342494),P50,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P50
type Q2342494
[ANSWER] is that international organization an author of
[{'concept': 'Q2342494'}, 'P50', 'Q1065']
SELECT DISTINCT ?y WHERE { ?y property:P50 resource:Q1065 . ?y rdf:type ontology:Q2342494 }
Agenda 21
Agenda 21 is that international organization an author of
Agenda 21
action filter_type
action find_reverse
entity United Nations
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'United Nations']
SELECT DISTINCT ?y WHERE { ?y property:author resource:United_Nations . ?y rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q208571
P50
Q484652
USER
Who wrote that collectable ?
(Q208571,P50,c(Q484652))
action filter_type
action find
entity Q208571
relation P50
type Q484652
['Q208571', 'P50', {'concept': 'Q484652'}]
SELECT DISTINCT ?p WHERE { resource:Q208571 property:P50 ?p . ?p rdf:type ontology:Q484652 }
Agenda 21
action filter_type
action find
entity Agenda 21
relation author
type international organization
['Agenda 21', 'author', {'concept': 'international organization'}]
SELECT DISTINCT ?p WHERE { resource:Agenda_21 property:author ?p . ?p rdf:type ontology:international_organization }
[]
international organization
Q1065
SYSTEM
United Nations
Q1065
(Q208571,P50,c(Q484652))
action filter_type
action find
entity Q208571
relation P50
type Q484652
The [ANSWER] wrote that collectable
['Q208571', 'P50', {'concept': 'Q484652'}]
SELECT DISTINCT ?p WHERE { resource:Q208571 property:P50 ?p . ?p rdf:type ontology:Q484652 }
United Nations
The United Nations wrote that collectable
United Nations
action filter_type
action find
entity Agenda 21
relation author
type international organization
['Agenda 21', 'author', {'concept': 'international organization'}]
SELECT DISTINCT ?p WHERE { resource:Agenda_21 property:author ?p . ?p rdf:type ontology:international_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1065 Q6168717
P108
Q502895
USER
Does Jeaffreson Vennor Brewer work for that international organization ?
(Q6168717,P108,Q1065)
action is_in
entity Q6168717
action find
entity Q1065
relation P108
['Q6168717', 'P108', 'Q1065']
ASK WHERE { resource:Q1065 property:P108 resource:Q6168717 }
United Nations Jeaffreson Vennor Brewer
action is_in
entity Jeaffreson Vennor Brewer
action find
entity United Nations
relation employer
['Jeaffreson Vennor Brewer', 'employer', 'United Nations']
ASK WHERE { resource:United_Nations property:employer resource:Jeaffreson_Vennor_Brewer }
[]
common name
SYSTEM
NO
(Q6168717,P108,Q1065)
action is_in
entity Q6168717
action find
entity Q1065
relation P108
[ANSWER]
['Q6168717', 'P108', 'Q1065']
ASK WHERE { resource:Q1065 property:P108 resource:Q6168717 }
No
action is_in
entity Jeaffreson Vennor Brewer
action find
entity United Nations
relation employer
['Jeaffreson Vennor Brewer', 'employer', 'United Nations']
ASK WHERE { resource:United_Nations property:employer resource:Jeaffreson_Vennor_Brewer }
[]