Simple Question (Direct)
Simple Question
Q5677648
P40
Q502895
USER
Which person is a child of Harvey W. Scott ?
(Q5677648,P40,c(Q502895))
action filter_type
action find
entity Q5677648
relation P40
type Q502895
['Q5677648', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5677648 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Harvey W. Scott
action filter_type
action find
entity Harvey W. Scott
relation child
type common name
['Harvey W. Scott', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Harvey_W._Scott property:child ?a . ?a rdf:type ontology:common_name }
[]
common name
Q6530987
SYSTEM
Leslie M. Scott
Q6530987
(Q5677648,P40,c(Q502895))
action filter_type
action find
entity Q5677648
relation P40
type Q502895
[ANSWER] is a child of Harvey W. Scott
['Q5677648', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5677648 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Leslie M. Scott
Leslie M. Scott is a child of Harvey W. Scott
Leslie M. Scott
action filter_type
action find
entity Harvey W. Scott
relation child
type common name
['Harvey W. Scott', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Harvey_W._Scott property:child ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6530987
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q6530987,P102,c(Q7210356))
action filter_type
action find
entity Q6530987
relation P102
type Q7210356
['Q6530987', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7210356 . resource:Q6530987 property:P102 ?c }
Leslie M. Scott
action filter_type
action find
entity Leslie M. Scott
relation member of political party
type political organization
['Leslie M. Scott', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_organization . resource:Leslie_M._Scott property:member_of_political_party ?c }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q6530987,P102,c(Q7210356))
action filter_type
action find
entity Q6530987
relation P102
type Q7210356
The [ANSWER] is that person a member of
['Q6530987', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7210356 . resource:Q6530987 property:P102 ?c }
Republican Party
The Republican Party is that person a member of
Republican Party
action filter_type
action find
entity Leslie M. Scott
relation member of political party
type political organization
['Leslie M. Scott', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_organization . resource:Leslie_M._Scott property:member_of_political_party ?c }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7344454 Q6530987
P102
Q7210356
USER
Or Robert Foster Chapman?
OR((Q6530987,P102,c(Q7210356)), (Q7344454,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q6530987
relation P102
action find
entity Q7344454
relation P102
type Q7210356
{'OR': [['Q6530987', 'P102', {'concept': 'Q7210356'}], ['Q7344454', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . { { resource:Q7344454 property:P102 ?l } UNION { resource:Q6530987 property:P102 ?l } } }
Robert Foster Chapman Leslie M. Scott
action filter_type
action union
action find
entity Leslie M. Scott
relation member of political party
action find
entity Robert Foster Chapman
relation member of political party
type political organization
{'OR': [['Leslie M. Scott', 'member of political party', {'concept': 'political organization'}], ['Robert Foster Chapman', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . { { resource:Robert_Foster_Chapman property:member_of_political_party ?l } UNION { resource:Leslie_M._Scott property:member_of_political_party ?l } } }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
OR((Q6530987,P102,c(Q7210356)), (Q7344454,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q6530987
relation P102
action find
entity Q7344454
relation P102
type Q7210356
[ANSWER]
{'OR': [['Q6530987', 'P102', {'concept': 'Q7210356'}], ['Q7344454', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . { { resource:Q7344454 property:P102 ?l } UNION { resource:Q6530987 property:P102 ?l } } }
Republican Party
Republican Party
action filter_type
action union
action find
entity Leslie M. Scott
relation member of political party
action find
entity Robert Foster Chapman
relation member of political party
type political organization
{'OR': [['Leslie M. Scott', 'member of political party', {'concept': 'political organization'}], ['Robert Foster Chapman', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . { { resource:Robert_Foster_Chapman property:member_of_political_party ?l } UNION { resource:Leslie_M._Scott property:member_of_political_party ?l } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29468 Q15411074
P102
Q502895
USER
Does Jeff Kottkamp belong to the political party that one ?
(Q15411074,P102,Q29468)
action is_in
entity Q29468
action find
entity Q15411074
relation P102
['Q15411074', 'P102', 'Q29468']
ASK WHERE { resource:Q15411074 property:P102 resource:Q29468 }
Republican Party Jeff Kottkamp
action is_in
entity Republican Party
action find
entity Jeff Kottkamp
relation member of political party
['Jeff Kottkamp', 'member of political party', 'Republican Party']
ASK WHERE { resource:Jeff_Kottkamp property:member_of_political_party resource:Republican_Party }
[]
common name
SYSTEM
YES
(Q15411074,P102,Q29468)
action is_in
entity Q29468
action find
entity Q15411074
relation P102
[ANSWER]
['Q15411074', 'P102', 'Q29468']
ASK WHERE { resource:Q15411074 property:P102 resource:Q29468 }
Yes
action is_in
entity Republican Party
action find
entity Jeff Kottkamp
relation member of political party
['Jeff Kottkamp', 'member of political party', 'Republican Party']
ASK WHERE { resource:Jeff_Kottkamp property:member_of_political_party resource:Republican_Party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6530987
P106
Q12737077
USER
Which occupation has Leslie M. Scott as his/her 's career ?
(Q6530987,P106,c(Q12737077))
action filter_type
action find
entity Q6530987
relation P106
type Q12737077
['Q6530987', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6530987 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Leslie M. Scott
action filter_type
action find
entity Leslie M. Scott
relation occupation
type occupation
['Leslie M. Scott', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Leslie_M._Scott property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6530987,P106,c(Q12737077))
action filter_type
action find
entity Q6530987
relation P106
type Q12737077
The [ANSWER] has Leslie M. Scott as his/her 's career
['Q6530987', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6530987 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
politician
The politician has Leslie M. Scott as his/her 's career
politician
action filter_type
action find
entity Leslie M. Scott
relation occupation
type occupation
['Leslie M. Scott', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Leslie_M._Scott property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2456929 Q6530987
P106
Q12737077
USER
Or Youssef Wahba?
OR((Q6530987,P106,c(Q12737077)), (Q2456929,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6530987
relation P106
action find
entity Q2456929
relation P106
type Q12737077
{'OR': [['Q6530987', 'P106', {'concept': 'Q12737077'}], ['Q2456929', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q6530987 property:P106 ?y } UNION { resource:Q2456929 property:P106 ?y } } . ?y rdf:type ontology:Q12737077 }
Youssef Wahba Leslie M. Scott
action filter_type
action union
action find
entity Leslie M. Scott
relation occupation
action find
entity Youssef Wahba
relation occupation
type occupation
{'OR': [['Leslie M. Scott', 'occupation', {'concept': 'occupation'}], ['Youssef Wahba', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Leslie_M._Scott property:occupation ?y } UNION { resource:Youssef_Wahba property:occupation ?y } } . ?y rdf:type ontology:occupation }
[]
occupation
Q193391 Q16533 Q188094 Q82955
SYSTEM
diplomat, judge, economist, politician
Q193391 Q16533 Q188094 Q82955
OR((Q6530987,P106,c(Q12737077)), (Q2456929,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6530987
relation P106
action find
entity Q2456929
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q6530987', 'P106', {'concept': 'Q12737077'}], ['Q2456929', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q6530987 property:P106 ?y } UNION { resource:Q2456929 property:P106 ?y } } . ?y rdf:type ontology:Q12737077 }
diplomat judge economist politician
diplomat judge economist politician
action filter_type
action union
action find
entity Leslie M. Scott
relation occupation
action find
entity Youssef Wahba
relation occupation
type occupation
{'OR': [['Leslie M. Scott', 'occupation', {'concept': 'occupation'}], ['Youssef Wahba', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Leslie_M._Scott property:occupation ?y } UNION { resource:Youssef_Wahba property:occupation ?y } } . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7282287
P106
Q502895
USER
Do Rafael Rincón González have the profession of those occupations ?
(Q7282287,P106,Q193391) (Q7282287,P106,Q16533) (Q7282287,P106,Q188094) (Q7282287,P106,Q82955)
action is_in
entity prev_answer
action find
entity Q7282287
relation P106
['Q7282287', 'P106', 'Q193391'] ['Q7282287', 'P106', 'Q16533'] ['Q7282287', 'P106', 'Q188094'] ['Q7282287', 'P106', 'Q82955']
ASK WHERE { resource:Q7282287 property:P106 ?q . VALUES ( ?q ) { ( resource:Q193391 ) ( resource:Q16533 ) ( resource:Q188094 ) } }
Rafael Rincón González
action is_in
entity prev_answer
action find
entity Rafael Rincón González
relation occupation
['Rafael Rincón González', 'occupation', 'diplomat'] ['Rafael Rincón González', 'occupation', 'judge'] ['Rafael Rincón González', 'occupation', 'economist'] ['Rafael Rincón González', 'occupation', 'politician']
ASK WHERE { resource:Rafael_Rincón_González property:occupation ?q . VALUES ( ?q ) { ( resource:diplomat ) ( resource:judge ) ( resource:economist ) } }
[]
common name
SYSTEM
NO
(Q7282287,P106,Q193391) (Q7282287,P106,Q16533) (Q7282287,P106,Q188094) (Q7282287,P106,Q82955)
action is_in
entity prev_answer
action find
entity Q7282287
relation P106
[ANSWER]
['Q7282287', 'P106', 'Q193391'] ['Q7282287', 'P106', 'Q16533'] ['Q7282287', 'P106', 'Q188094'] ['Q7282287', 'P106', 'Q82955']
ASK WHERE { resource:Q7282287 property:P106 ?q . VALUES ( ?q ) { ( resource:Q193391 ) ( resource:Q16533 ) ( resource:Q188094 ) } }
No
action is_in
entity prev_answer
action find
entity Rafael Rincón González
relation occupation
['Rafael Rincón González', 'occupation', 'diplomat'] ['Rafael Rincón González', 'occupation', 'judge'] ['Rafael Rincón González', 'occupation', 'economist'] ['Rafael Rincón González', 'occupation', 'politician']
ASK WHERE { resource:Rafael_Rincón_González property:occupation ?q . VALUES ( ?q ) { ( resource:diplomat ) ( resource:judge ) ( resource:economist ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17364491 Q29468
P27 P17
Q15617994
USER
Which administrative territories do Republican Party belong to or are the countries of citizenship of Luis Ángel Ripoll ?
OR((Q29468,P17,c(Q15617994)), (Q17364491,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q29468
relation P17
action find
entity Q17364491
relation P27
type Q15617994
{'OR': [['Q29468', 'P17', {'concept': 'Q15617994'}], ['Q17364491', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q29468 property:P17 ?m } UNION { resource:Q17364491 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Luis Ángel Ripoll Republican Party
action filter_type
action union
action find
entity Republican Party
relation country
action find
entity Luis Ángel Ripoll
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Republican Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Luis Ángel Ripoll', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Republican_Party property:country ?m } UNION { resource:Luis_Ángel_Ripoll property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q414
SYSTEM
United States of America, Argentina
Q30 Q414
OR((Q29468,P17,c(Q15617994)), (Q17364491,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q29468
relation P17
action find
entity Q17364491
relation P27
type Q15617994
Republican Party belong to the [ANSWERS] or are the countries of citizenship of Luis Ángel Ripoll
{'OR': [['Q29468', 'P17', {'concept': 'Q15617994'}], ['Q17364491', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q29468 property:P17 ?m } UNION { resource:Q17364491 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
United States of America Argentina
Republican Party belong to the United States of America and Argentina or are the countries of citizenship of Luis Ángel Ripoll
United States of America Argentina
action filter_type
action union
action find
entity Republican Party
relation country
action find
entity Luis Ángel Ripoll
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Republican Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Luis Ángel Ripoll', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Republican_Party property:country ?m } UNION { resource:Luis_Ángel_Ripoll property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]