Simple Question (Direct)
Simple Question
Q4977489
P39
Q12737077
USER
Which occupations were the positions occupied by Bruce Foster Sterling ?
(Q4977489,P39,c(Q12737077))
action filter_type
action find
entity Q4977489
relation P39
type Q12737077
['Q4977489', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q4977489 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Bruce Foster Sterling
action filter_type
action find
entity Bruce Foster Sterling
relation position held
type occupation
['Bruce Foster Sterling', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Bruce_Foster_Sterling property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q13218630 Q14616716
SYSTEM
United States representative, member of the Pennsylvania House of Representatives
Q13218630 Q14616716
(Q4977489,P39,c(Q12737077))
action filter_type
action find
entity Q4977489
relation P39
type Q12737077
[ANSWERS]
['Q4977489', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q4977489 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
United States representative member of the Pennsylvania House of Representatives
United States representative member of the Pennsylvania House of Representatives
action filter_type
action find
entity Bruce Foster Sterling
relation position held
type occupation
['Bruce Foster Sterling', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Bruce_Foster_Sterling property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4977489
P937
Q852446
USER
What is the location where Bruce Foster Sterling worked ?
(Q4977489,P937,c(Q852446))
action filter_type
action find
entity Q4977489
relation P937
type Q852446
['Q4977489', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?h WHERE { resource:Q4977489 property:P937 ?h . ?h rdf:type ontology:Q852446 }
Bruce Foster Sterling
action filter_type
action find
entity Bruce Foster Sterling
relation work location
type administrative territorial entity of the United States
['Bruce Foster Sterling', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?h WHERE { resource:Bruce_Foster_Sterling property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q4977489,P937,c(Q852446))
action filter_type
action find
entity Q4977489
relation P937
type Q852446
The location Bruce Foster Sterling worked is in [ANSWER]
['Q4977489', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?h WHERE { resource:Q4977489 property:P937 ?h . ?h rdf:type ontology:Q852446 }
Harrisburg
The location Bruce Foster Sterling worked is in Harrisburg
Harrisburg
action filter_type
action find
entity Bruce Foster Sterling
relation work location
type administrative territorial entity of the United States
['Bruce Foster Sterling', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?h WHERE { resource:Bruce_Foster_Sterling property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4977489
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q25280,P102,c(Q7210356))
action filter_type
action find
entity Q4977489
relation P102
type Q7210356
['Q25280', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q4977489 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Bruce Foster Sterling
action filter_type
action find
entity Bruce Foster Sterling
relation member of political party
type political organization
['Harrisburg', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Bruce_Foster_Sterling property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q25280,P102,c(Q7210356))
action filter_type
action find
entity Q4977489
relation P102
type Q7210356
Party [ANSWER] is that person a member of
['Q25280', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q4977489 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Democratic Party
Party Democratic Party is that person a member of
Democratic Party
action filter_type
action find
entity Bruce Foster Sterling
relation member of political party
type political organization
['Harrisburg', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Bruce_Foster_Sterling property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7078454 Q4977489
P27
Q15617994
USER
Which administrative territories do Bruce Foster Sterling and Odón Betanzos Palacios belong to ?
AND((Q4977489,P27,c(Q15617994)), (Q7078454,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4977489
relation P27
action find
entity Q7078454
relation P27
type Q15617994
{'AND': [['Q4977489', 'P27', {'concept': 'Q15617994'}], ['Q7078454', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { resource:Q4977489 property:P27 ?s . resource:Q7078454 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Odón Betanzos Palacios Bruce Foster Sterling
action filter_type
action intersection
action find
entity Bruce Foster Sterling
relation country of citizenship
action find
entity Odón Betanzos Palacios
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Bruce Foster Sterling', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Odón Betanzos Palacios', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Bruce_Foster_Sterling property:country_of_citizenship ?s . resource:Odón_Betanzos_Palacios property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q4977489,P27,c(Q15617994)), (Q7078454,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4977489
relation P27
action find
entity Q7078454
relation P27
type Q15617994
[ANSWER] Bruce Foster Sterling and Odón Betanzos Palacios belong to
{'AND': [['Q4977489', 'P27', {'concept': 'Q15617994'}], ['Q7078454', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { resource:Q4977489 property:P27 ?s . resource:Q7078454 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
United States of America Bruce Foster Sterling and Odón Betanzos Palacios belong to
United States of America
action filter_type
action intersection
action find
entity Bruce Foster Sterling
relation country of citizenship
action find
entity Odón Betanzos Palacios
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Bruce Foster Sterling', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Odón Betanzos Palacios', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Bruce_Foster_Sterling property:country_of_citizenship ?s . resource:Odón_Betanzos_Palacios property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q16 Q408
P530
Q1048835
USER
Is that administrative territory known to have diplomatic connections with Canada and Australia ?
(Q30,P530,Q16) (Q30,P530,Q408)
action is_in
entity Q30
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q408
relation P530
['Q30', 'P530', 'Q16'] ['Q30', 'P530', 'Q408']
ASK WHERE { resource:Q30 property:P530 resource:Q16 . resource:Q30 property:P530 resource:Q408 }
United States of America Canada Australia
action is_in
entity United States of America
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada'] ['United States of America', 'diplomatic relation', 'Australia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Canada . resource:United_States_of_America property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q30,P530,Q16) (Q30,P530,Q408)
action is_in
entity Q30
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q408
relation P530
[ANSWER]
['Q30', 'P530', 'Q16'] ['Q30', 'P530', 'Q408']
ASK WHERE { resource:Q30 property:P530 resource:Q16 . resource:Q30 property:P530 resource:Q408 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada'] ['United States of America', 'diplomatic relation', 'Australia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Canada . resource:United_States_of_America property:diplomatic_relation resource:Australia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25280
P20
Q502895
USER
Which people have Harrisburg as the area of death ?
(c(Q502895),P20,Q25280)
action filter_type
action find_reverse
entity Q25280
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q25280']
SELECT DISTINCT ?i WHERE { ?i property:P20 resource:Q25280 . ?i rdf:type ontology:Q502895 }
Harrisburg
action filter_type
action find_reverse
entity Harrisburg
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Harrisburg']
SELECT DISTINCT ?i WHERE { ?i property:place_of_death resource:Harrisburg . ?i rdf:type ontology:common_name }
[]
common name
Q795522 Q718431 Q442393
SYSTEM
John W. Geary, R. Budd Dwyer, William Maclay
Q2204579 Q7345280 Q795522 Q18645857 Q3013714 Q6217717 Q718431 Q4710545 Q21096619 Q6539971 Q6076507 Q16567309 Q768487 Q5540866 Q8012331 Q889865 Q8008326 Q4717085 Q7326803 Q504039 Q442393 Q19876145 Q20708813 Q16065318 Q16857273 Q6130858 Q731215 Q5112791 Q7372760 Q4722382 Q4742298
(c(Q502895),P20,Q25280)
action filter_type
action find_reverse
entity Q25280
relation P20
type Q502895
[ANSWERS] have Harrisburg as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q25280']
SELECT DISTINCT ?i WHERE { ?i property:P20 resource:Q25280 . ?i rdf:type ontology:Q502895 }
S. Stanhope Orris Robert Harris John W. Geary Jimmy Smith Daniel Barrow John A. Hanna R. Budd Dwyer Albert J. Neri Neilson Debevoise Nina Olivette Isaac Hoffer Doutrich Jimmy Smith David R. Porter George Hunter William High Keim Francis R. Shunk William E. Wallace Alex Grass Richard Jacobs Haldeman Tanacharison William Maclay Thomas Elder Richard J. Beamish Samuel E. Dimmick Samuel Douglas James Calder William Findlay Christopher Magee Roy E. Furman Alfred Buckwalter Garner Amelia Reynolds Long
John W. Geary, R. Budd Dwyer and William Maclay have Harrisburg as the area of death
John W. Geary R. Budd Dwyer William Maclay
action filter_type
action find_reverse
entity Harrisburg
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Harrisburg']
SELECT DISTINCT ?i WHERE { ?i property:place_of_death resource:Harrisburg . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q718431
P735
Q82799
USER
What the name that R. Budd Dwyer is known by ?
(Q718431,P735,c(Q82799))
action filter_type
action find
entity Q718431
relation P735
type Q82799
['Q718431', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q718431 property:P735 ?w . ?w rdf:type ontology:Q82799 }
R. Budd Dwyer
action filter_type
action find
entity R. Budd Dwyer
relation given name
type name
['R. Budd Dwyer', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:R._Budd_Dwyer property:given_name ?w . ?w rdf:type ontology:name }
[]
name
Q16274762
SYSTEM
Budd
Q16274762
(Q718431,P735,c(Q82799))
action filter_type
action find
entity Q718431
relation P735
type Q82799
Known [ANSWER]
['Q718431', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q718431 property:P735 ?w . ?w rdf:type ontology:Q82799 }
Budd
Known Budd
Budd
action filter_type
action find
entity R. Budd Dwyer
relation given name
type name
['R. Budd Dwyer', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:R._Budd_Dwyer property:given_name ?w . ?w rdf:type ontology:name }
[]