Simple Question (Direct)
Simple Question
Q8015749
P39
Q12737077
USER
What were the positions held by William Montgomery ?
(Q8015749,P39,c(Q12737077))
action filter_type
action find
entity Q8015749
relation P39
type Q12737077
['Q8015749', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q8015749 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
William Montgomery
action filter_type
action find
entity William Montgomery
relation position held
type occupation
['William Montgomery', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:William_Montgomery property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q13218630 Q18199902 Q14616716
SYSTEM
United States representative, member of the State Senate of Pennsylvania, member of the Pennsylvania House of Representatives
Q13218630 Q18199902 Q14616716
(Q8015749,P39,c(Q12737077))
action filter_type
action find
entity Q8015749
relation P39
type Q12737077
The positions held by William Montgomery were [ANSWERS]
['Q8015749', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q8015749 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
United States representative member of the State Senate of Pennsylvania member of the Pennsylvania House of Representatives
The positions held by William Montgomery were United States representative, member of the State Senate of Pennsylvania and member of the Pennsylvania House of Representatives
United States representative member of the State Senate of Pennsylvania member of the Pennsylvania House of Representatives
action filter_type
action find
entity William Montgomery
relation position held
type occupation
['William Montgomery', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:William_Montgomery property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q13218630 Q18199902 Q14616716
P17
Q15617994
USER
Which administrative territories are United States representative, member of the State Senate of Pennsylvania and member of the Pennsylvania House of Representatives located in ?
(Q13218630,P17,c(Q15617994)) (Q18199902,P17,c(Q15617994)) (Q14616716,P17,c(Q15617994))
action union
action filter_type
action find
entity Q13218630
relation P17
type Q15617994
action filter_type
action find
entity Q18199902
relation P17
type Q15617994
action filter_type
action find
entity Q14616716
relation P17
type Q15617994
['Q13218630', 'P17', {'concept': 'Q15617994'}] ['Q18199902', 'P17', {'concept': 'Q15617994'}] ['Q14616716', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?f property:P17 ?u . VALUES ( ?f ) { ( resource:Q13218630 ) ( resource:Q18199902 ) } }
United States representative member of the State Senate of Pennsylvania member of the Pennsylvania House of Representatives
action union
action filter_type
action find
entity United States representative
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the State Senate of Pennsylvania
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the Pennsylvania House of Representatives
relation country
type designation for an administrative territorial entity
['United States representative', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the State Senate of Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the Pennsylvania House of Representatives', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?f property:country ?u . VALUES ( ?f ) { ( resource:United_States_representative ) ( resource:member_of_the_State_Senate_of_Pennsylvania ) } }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q13218630,P17,c(Q15617994)) (Q18199902,P17,c(Q15617994)) (Q14616716,P17,c(Q15617994))
action union
action filter_type
action find
entity Q13218630
relation P17
type Q15617994
action filter_type
action find
entity Q18199902
relation P17
type Q15617994
action filter_type
action find
entity Q14616716
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are United States representative, member of the State Senate of Pennsylvania and member of the Pennsylvania House of Representatives located in
['Q13218630', 'P17', {'concept': 'Q15617994'}] ['Q18199902', 'P17', {'concept': 'Q15617994'}] ['Q14616716', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?f property:P17 ?u . VALUES ( ?f ) { ( resource:Q13218630 ) ( resource:Q18199902 ) } }
United States of America United States of America United States of America
United States of America, United States of America and United States of America are United States representative, member of the State Senate of Pennsylvania and member of the Pennsylvania House of Representatives located in
United States of America United States of America United States of America
action union
action filter_type
action find
entity United States representative
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the State Senate of Pennsylvania
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the Pennsylvania House of Representatives
relation country
type designation for an administrative territorial entity
['United States representative', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the State Senate of Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the Pennsylvania House of Representatives', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?f property:country ?u . VALUES ( ?f ) { ( resource:United_States_representative ) ( resource:member_of_the_State_Senate_of_Pennsylvania ) } }
[]