Simple Question (Direct)
Simple Question
Q5076678
P27
Q15617994
USER
Which administrative territory does Charles Dager belong to ?
(Q5076678,P27,c(Q15617994))
action filter_type
action find
entity Q5076678
relation P27
type Q15617994
['Q5076678', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5076678 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Charles Dager
action filter_type
action find
entity Charles Dager
relation country of citizenship
type designation for an administrative territorial entity
['Charles Dager', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Dager property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5076678,P27,c(Q15617994))
action filter_type
action find
entity Q5076678
relation P27
type Q15617994
Charles Dager belongs to [ANSWER]
['Q5076678', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5076678 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
Charles Dager belongs to United States of America
United States of America
action filter_type
action find
entity Charles Dager
relation country of citizenship
type designation for an administrative territorial entity
['Charles Dager', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Dager property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5076678
P1412
Q34770
USER
Which language is Charles Dager capable of writing ?
(Q5076678,P1412,c(Q34770))
action filter_type
action find
entity Q5076678
relation P1412
type Q34770
['Q5076678', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q34770 . resource:Q5076678 property:P1412 ?r }
Charles Dager
action filter_type
action find
entity Charles Dager
relation languages spoken, written or signed
type language
['Charles Dager', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:language . resource:Charles_Dager property:languages_spoken,_written_or_signed ?r }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5076678,P1412,c(Q34770))
action filter_type
action find
entity Q5076678
relation P1412
type Q34770
[ANSWER] is Charles Dager capable of writing
['Q5076678', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q34770 . resource:Q5076678 property:P1412 ?r }
English
English is Charles Dager capable of writing
English
action filter_type
action find
entity Charles Dager
relation languages spoken, written or signed
type language
['Charles Dager', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:language . resource:Charles_Dager property:languages_spoken,_written_or_signed ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5076678
P102
Q7210356
USER
Which party does that person belong to ?
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q5076678
relation P102
type Q7210356
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q5076678 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Charles Dager
action filter_type
action find
entity Charles Dager
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Charles_Dager property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q5076678
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q5076678 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Republican Party
That person belongs to Republican Party
Republican Party
action filter_type
action find
entity Charles Dager
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Charles_Dager property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29468 Q16185515
P102
Q502895
USER
Does Kathleen Passidomo belong to the political party named that one ?
(Q16185515,P102,Q29468)
action is_in
entity Q29468
action find
entity Q16185515
relation P102
['Q16185515', 'P102', 'Q29468']
ASK WHERE { resource:Q16185515 property:P102 resource:Q29468 }
Republican Party Kathleen Passidomo
action is_in
entity Republican Party
action find
entity Kathleen Passidomo
relation member of political party
['Kathleen Passidomo', 'member of political party', 'Republican Party']
ASK WHERE { resource:Kathleen_Passidomo property:member_of_political_party resource:Republican_Party }
[]
common name
SYSTEM
YES
(Q16185515,P102,Q29468)
action is_in
entity Q29468
action find
entity Q16185515
relation P102
[ANSWER]
['Q16185515', 'P102', 'Q29468']
ASK WHERE { resource:Q16185515 property:P102 resource:Q29468 }
Yes
action is_in
entity Republican Party
action find
entity Kathleen Passidomo
relation member of political party
['Kathleen Passidomo', 'member of political party', 'Republican Party']
ASK WHERE { resource:Kathleen_Passidomo property:member_of_political_party resource:Republican_Party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5076678
P39
Q12737077
USER
Which occupation was a position held by Charles Dager ?
(Q5076678,P39,c(Q12737077))
action filter_type
action find
entity Q5076678
relation P39
type Q12737077
['Q5076678', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5076678 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Charles Dager
action filter_type
action find
entity Charles Dager
relation position held
type occupation
['Charles Dager', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Dager property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q14616716
SYSTEM
member of the Pennsylvania House of Representatives
Q14616716
(Q5076678,P39,c(Q12737077))
action filter_type
action find
entity Q5076678
relation P39
type Q12737077
A [ANSWER] was a position held by Charles Dager
['Q5076678', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5076678 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
member of the Pennsylvania House of Representatives
A member of the Pennsylvania House of Representatives was a position held by Charles Dager
member of the Pennsylvania House of Representatives
action filter_type
action find
entity Charles Dager
relation position held
type occupation
['Charles Dager', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Dager property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3895844 Q5076678
P39 P106
Q12737077
USER
Which occupations were the positions for which Charles Dager were appointed or do Paride Dioli do for a living ?
OR((Q5076678,P39,c(Q12737077)), (Q3895844,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5076678
relation P39
action find
entity Q3895844
relation P106
type Q12737077
{'OR': [['Q5076678', 'P39', {'concept': 'Q12737077'}], ['Q3895844', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3895844 property:P106 ?i } UNION { resource:Q5076678 property:P39 ?i } } . ?i rdf:type ontology:Q12737077 }
Paride Dioli Charles Dager
action filter_type
action union
action find
entity Charles Dager
relation position held
action find
entity Paride Dioli
relation occupation
type occupation
{'OR': [['Charles Dager', 'position held', {'concept': 'occupation'}], ['Paride Dioli', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Paride_Dioli property:occupation ?i } UNION { resource:Charles_Dager property:position_held ?i } } . ?i rdf:type ontology:occupation }
[]
occupation
Q1930187 Q3055126 Q14616716 Q36180
SYSTEM
journalist, entomologist, member of the Pennsylvania House of Representatives, writer
Q1930187 Q3055126 Q14616716 Q36180
OR((Q5076678,P39,c(Q12737077)), (Q3895844,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5076678
relation P39
action find
entity Q3895844
relation P106
type Q12737077
[ANSWERS] were the positions for which Charles Dager were appointed or do Paride Dioli do for a living
{'OR': [['Q5076678', 'P39', {'concept': 'Q12737077'}], ['Q3895844', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3895844 property:P106 ?i } UNION { resource:Q5076678 property:P39 ?i } } . ?i rdf:type ontology:Q12737077 }
journalist entomologist member of the Pennsylvania House of Representatives writer
Journalist, entomologist, member of the Pennsylvania House of Representatives and writer were the positions for which Charles Dager were appointed or do Paride Dioli do for a living
journalist entomologist member of the Pennsylvania House of Representatives writer
action filter_type
action union
action find
entity Charles Dager
relation position held
action find
entity Paride Dioli
relation occupation
type occupation
{'OR': [['Charles Dager', 'position held', {'concept': 'occupation'}], ['Paride Dioli', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Paride_Dioli property:occupation ?i } UNION { resource:Charles_Dager property:position_held ?i } } . ?i rdf:type ontology:occupation }
[]