Simple Question (Direct)
Simple Question
Q5076826
P39
Q12737077
USER
What was the position for which Charles Denison was appointed ?
(Q5076826,P39,c(Q12737077))
action filter_type
action find
entity Q5076826
relation P39
type Q12737077
['Q5076826', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5076826 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Charles Denison
action filter_type
action find
entity Charles Denison
relation position held
type occupation
['Charles Denison', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Denison property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q5076826,P39,c(Q12737077))
action filter_type
action find
entity Q5076826
relation P39
type Q12737077
[ANSWER]
['Q5076826', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5076826 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
United States representative
United States representative
United States representative
action filter_type
action find
entity Charles Denison
relation position held
type occupation
['Charles Denison', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Denison property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5076826
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q13218630,P102,c(Q7210356))
action filter_type
action find
entity Q5076826
relation P102
type Q7210356
['Q13218630', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q5076826 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Charles Denison
action filter_type
action find
entity Charles Denison
relation member of political party
type political organization
['United States representative', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Denison property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q13218630,P102,c(Q7210356))
action filter_type
action find
entity Q5076826
relation P102
type Q7210356
Party [ANSWER] is that person a member of
['Q13218630', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q5076826 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Democratic Party
Party Democratic Party is that person a member of
Democratic Party
action filter_type
action find
entity Charles Denison
relation member of political party
type political organization
['United States representative', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Denison property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5076826
P21
Q290
USER
What is the sex of Charles Denison ?
(Q5076826,P21,c(Q290))
action filter_type
action find
entity Q5076826
relation P21
type Q290
['Q5076826', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q5076826 property:P21 ?w . ?w rdf:type ontology:Q290 }
Charles Denison
action filter_type
action find
entity Charles Denison
relation gender
type sex
['Charles Denison', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Charles_Denison property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5076826,P21,c(Q290))
action filter_type
action find
entity Q5076826
relation P21
type Q290
The sex of Charles Denison is a [ANSWER]
['Q5076826', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q5076826 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Charles Denison is a male
male
action filter_type
action find
entity Charles Denison
relation gender
type sex
['Charles Denison', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Charles_Denison property:gender ?w . ?w rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q10919080 Q5076826
P21
Q290
USER
Or Wu Renli?
OR((Q5076826,P21,c(Q290)), (Q10919080,P21,c(Q290)))
action filter_type
action union
action find
entity Q5076826
relation P21
action find
entity Q10919080
relation P21
type Q290
{'OR': [['Q5076826', 'P21', {'concept': 'Q290'}], ['Q10919080', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5076826 property:P21 ?j } UNION { resource:Q10919080 property:P21 ?j } } . ?j rdf:type ontology:Q290 }
Wu Renli Charles Denison
action filter_type
action union
action find
entity Charles Denison
relation gender
action find
entity Wu Renli
relation gender
type sex
{'OR': [['Charles Denison', 'gender', {'concept': 'sex'}], ['Wu Renli', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Charles_Denison property:gender ?j } UNION { resource:Wu_Renli property:gender ?j } } . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q5076826,P21,c(Q290)), (Q10919080,P21,c(Q290)))
action filter_type
action union
action find
entity Q5076826
relation P21
action find
entity Q10919080
relation P21
type Q290
[ANSWER]
{'OR': [['Q5076826', 'P21', {'concept': 'Q290'}], ['Q10919080', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5076826 property:P21 ?j } UNION { resource:Q10919080 property:P21 ?j } } . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Charles Denison
relation gender
action find
entity Wu Renli
relation gender
type sex
{'OR': [['Charles Denison', 'gender', {'concept': 'sex'}], ['Wu Renli', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Charles_Denison property:gender ?j } UNION { resource:Wu_Renli property:gender ?j } } . ?j rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1041460
P21
Q502895
USER
Does Carl von Wichmann have the gender as that sex ?
(Q1041460,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1041460
relation P21
['Q1041460', 'P21', 'Q6581097']
ASK WHERE { resource:Q1041460 property:P21 resource:Q6581097 }
male Carl von Wichmann
action is_in
entity male
action find
entity Carl von Wichmann
relation gender
['Carl von Wichmann', 'gender', 'male']
ASK WHERE { resource:Carl_von_Wichmann property:gender resource:male }
[]
common name
SYSTEM
YES
(Q1041460,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1041460
relation P21
[ANSWER]
['Q1041460', 'P21', 'Q6581097']
ASK WHERE { resource:Q1041460 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Carl von Wichmann
relation gender
['Carl von Wichmann', 'gender', 'male']
ASK WHERE { resource:Carl_von_Wichmann property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q5076826
P106
Q12737077 Q28640
USER
How many occupations or professions have Charles Denison as his/her as a career ?
(Q5076826,P106,c(Q12737077)) (Q5076826,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q5076826
relation P106
type Q12737077
action filter_type
action find
entity Q5076826
relation P106
type Q28640
['Q5076826', 'P106', {'concept': 'Q12737077'}] ['Q5076826', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } . ?s rdf:type ?g }
Charles Denison
action count
action union
action filter_type
action find
entity Charles Denison
relation occupation
type occupation
action filter_type
action find
entity Charles Denison
relation occupation
type profession
['Charles Denison', 'occupation', {'concept': 'occupation'}] ['Charles Denison', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:occupation ) ( ontology:profession ) } . ?s rdf:type ?g }
[]
occupation profession
SYSTEM
2
Q82955 Q40348
(Q5076826,P106,c(Q12737077)) (Q5076826,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q5076826
relation P106
type Q12737077
action filter_type
action find
entity Q5076826
relation P106
type Q28640
[ANSWER]
['Q5076826', 'P106', {'concept': 'Q12737077'}] ['Q5076826', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } . ?s rdf:type ?g }
politician lawyer
2
action count
action union
action filter_type
action find
entity Charles Denison
relation occupation
type occupation
action filter_type
action find
entity Charles Denison
relation occupation
type profession
['Charles Denison', 'occupation', {'concept': 'occupation'}] ['Charles Denison', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:occupation ) ( ontology:profession ) } . ?s rdf:type ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5076826
P69
Q163740
USER
Where was Charles Denison educated ?
(Q5076826,P69,c(Q163740))
action filter_type
action find
entity Q5076826
relation P69
type Q163740
['Q5076826', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { resource:Q5076826 property:P69 ?i . ?i rdf:type ontology:Q163740 }
Charles Denison
action filter_type
action find
entity Charles Denison
relation educated at
type nonprofit organization
['Charles Denison', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { resource:Charles_Denison property:educated_at ?i . ?i rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1210045
SYSTEM
Dickinson College
Q1210045
(Q5076826,P69,c(Q163740))
action filter_type
action find
entity Q5076826
relation P69
type Q163740
Charles Denison was educated at [ANSWER]
['Q5076826', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { resource:Q5076826 property:P69 ?i . ?i rdf:type ontology:Q163740 }
Dickinson College
Charles Denison was educated at Dickinson College
Dickinson College
action filter_type
action find
entity Charles Denison
relation educated at
type nonprofit organization
['Charles Denison', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { resource:Charles_Denison property:educated_at ?i . ?i rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1210045 Q30
P17
Q15617994
USER
Is that nonprofit organization present in United States of America ?
(Q1210045,P17,Q30)
action is_in
entity Q30
action find
entity Q1210045
relation P17
['Q1210045', 'P17', 'Q30']
ASK WHERE { resource:Q1210045 property:P17 resource:Q30 }
Dickinson College United States of America
action is_in
entity United States of America
action find
entity Dickinson College
relation country
['Dickinson College', 'country', 'United States of America']
ASK WHERE { resource:Dickinson_College property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1210045,P17,Q30)
action is_in
entity Q30
action find
entity Q1210045
relation P17
[ANSWER]
['Q1210045', 'P17', 'Q30']
ASK WHERE { resource:Q1210045 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Dickinson College
relation country
['Dickinson College', 'country', 'United States of America']
ASK WHERE { resource:Dickinson_College property:country resource:United_States_of_America }
[]