Simple Question (Direct)
Simple Question
Q1289889
P102
Q7210356
USER
Which party does Jim Clyburn belong to ?
(Q1289889,P102,c(Q7210356))
action filter_type
action find
entity Q1289889
relation P102
type Q7210356
['Q1289889', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q1289889 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Jim Clyburn
action filter_type
action find
entity Jim Clyburn
relation member of political party
type political organization
['Jim Clyburn', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Jim_Clyburn property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q1289889,P102,c(Q7210356))
action filter_type
action find
entity Q1289889
relation P102
type Q7210356
Jim Clyburn belongs to [ANSWER]
['Q1289889', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q1289889 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Democratic Party
Jim Clyburn belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Jim Clyburn
relation member of political party
type political organization
['Jim Clyburn', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Jim_Clyburn property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1289889
P106
Q12737077
USER
What does that person do for a living ?
(Q29552,P106,c(Q12737077))
action filter_type
action find
entity Q1289889
relation P106
type Q12737077
['Q29552', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1289889 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Jim Clyburn
action filter_type
action find
entity Jim Clyburn
relation occupation
type occupation
['Democratic Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jim_Clyburn property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q29552,P106,c(Q12737077))
action filter_type
action find
entity Q1289889
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q29552', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1289889 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Jim Clyburn
relation occupation
type occupation
['Democratic Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jim_Clyburn property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1289889
P39
Q12737077
USER
What was the position for which Jim Clyburn was appointed ?
(Q1289889,P39,c(Q12737077))
action filter_type
action find
entity Q1289889
relation P39
type Q12737077
['Q1289889', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1289889 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Jim Clyburn
action filter_type
action find
entity Jim Clyburn
relation position held
type occupation
['Jim Clyburn', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jim_Clyburn property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q1289889,P39,c(Q12737077))
action filter_type
action find
entity Q1289889
relation P39
type Q12737077
[ANSWER]
['Q1289889', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1289889 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
United States representative
United States representative
United States representative
action filter_type
action find
entity Jim Clyburn
relation position held
type occupation
['Jim Clyburn', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jim_Clyburn property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q13218630 Q30 Q22965
P17
Q15617994
USER
Is that occupation present in United States of America and Neulußheim ?
(Q13218630,P17,Q30) (Q13218630,P17,Q22965)
action is_in
entity Q13218630
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q22965
relation P17
['Q13218630', 'P17', 'Q30'] ['Q13218630', 'P17', 'Q22965']
ASK WHERE { resource:Q13218630 property:P17 resource:Q30 . resource:Q13218630 property:P17 resource:Q22965 }
United States representative United States of America Neulußheim
action is_in
entity United States representative
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Neulußheim
relation country
['United States representative', 'country', 'United States of America'] ['United States representative', 'country', 'Neulußheim']
ASK WHERE { resource:United_States_representative property:country resource:United_States_of_America . resource:United_States_representative property:country resource:Neulußheim }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q13218630,P17,Q30) (Q13218630,P17,Q22965)
action is_in
entity Q13218630
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q22965
relation P17
[ANSWER]
['Q13218630', 'P17', 'Q30'] ['Q13218630', 'P17', 'Q22965']
ASK WHERE { resource:Q13218630 property:P17 resource:Q30 . resource:Q13218630 property:P17 resource:Q22965 }
YES and NO respectively
action is_in
entity United States representative
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Neulußheim
relation country
['United States representative', 'country', 'United States of America'] ['United States representative', 'country', 'Neulußheim']
ASK WHERE { resource:United_States_representative property:country resource:United_States_of_America . resource:United_States_representative property:country resource:Neulußheim }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18645997 Q1289889
P27
Q15617994
USER
Which administrative territories do Jim Clyburn or Herman Bouwens belong to ?
OR((Q1289889,P27,c(Q15617994)), (Q18645997,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1289889
relation P27
action find
entity Q18645997
relation P27
type Q15617994
{'OR': [['Q1289889', 'P27', {'concept': 'Q15617994'}], ['Q18645997', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:P27 ?x . VALUES ( ?q ) { ( resource:Q1289889 ) ( resource:Q18645997 ) } } . ?x rdf:type ontology:Q15617994 }
Herman Bouwens Jim Clyburn
action filter_type
action union
action find
entity Jim Clyburn
relation country of citizenship
action find
entity Herman Bouwens
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jim Clyburn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Herman Bouwens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:country_of_citizenship ?x . VALUES ( ?q ) { ( resource:Jim_Clyburn ) ( resource:Herman_Bouwens ) } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q29999
SYSTEM
United States of America, Kingdom of the Netherlands
Q30 Q29999
OR((Q1289889,P27,c(Q15617994)), (Q18645997,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1289889
relation P27
action find
entity Q18645997
relation P27
type Q15617994
Jim Clyburn or Herman Bouwens belong to the [ANSWERS]
{'OR': [['Q1289889', 'P27', {'concept': 'Q15617994'}], ['Q18645997', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:P27 ?x . VALUES ( ?q ) { ( resource:Q1289889 ) ( resource:Q18645997 ) } } . ?x rdf:type ontology:Q15617994 }
United States of America Kingdom of the Netherlands
Jim Clyburn or Herman Bouwens belong to the United States of America and Kingdom of the Netherlands
United States of America Kingdom of the Netherlands
action filter_type
action union
action find
entity Jim Clyburn
relation country of citizenship
action find
entity Herman Bouwens
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jim Clyburn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Herman Bouwens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:country_of_citizenship ?x . VALUES ( ?q ) { ( resource:Jim_Clyburn ) ( resource:Herman_Bouwens ) } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]