Simple Question (Direct)
Simple Question
Q1250303
P1050
Q2057971
USER
Which health problem does Dorothy Hart have ?
(Q1250303,P1050,c(Q2057971))
action filter_type
action find
entity Q1250303
relation P1050
type Q2057971
['Q1250303', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q1250303 property:P1050 ?s . ?s rdf:type ontology:Q2057971 }
Dorothy Hart
action filter_type
action find
entity Dorothy Hart
relation medical condition
type health problem
['Dorothy Hart', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:Dorothy_Hart property:medical_condition ?s . ?s rdf:type ontology:health_problem }
[]
health problem
Q11081
SYSTEM
Alzheimer's disease
Q11081
(Q1250303,P1050,c(Q2057971))
action filter_type
action find
entity Q1250303
relation P1050
type Q2057971
Dorothy Hart has diagnosed [ANSWER]
['Q1250303', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q1250303 property:P1050 ?s . ?s rdf:type ontology:Q2057971 }
Alzheimer's disease
Dorothy Hart has diagnosed Alzheimer's disease
Alzheimer's disease
action filter_type
action find
entity Dorothy Hart
relation medical condition
type health problem
['Dorothy Hart', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:Dorothy_Hart property:medical_condition ?s . ?s rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1250303
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q11081,P106,c(Q12737077))
action filter_type
action find
entity Q1250303
relation P106
type Q12737077
['Q11081', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1250303 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Dorothy Hart
action filter_type
action find
entity Dorothy Hart
relation occupation
type occupation
["Alzheimer's disease", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Dorothy_Hart property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q4610556 Q33999
SYSTEM
model, actor
Q4610556 Q33999
(Q11081,P106,c(Q12737077))
action filter_type
action find
entity Q1250303
relation P106
type Q12737077
The [ANSWERS] have that person as his/her 's career
['Q11081', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1250303 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
model actor
The model and actor have that person as his/her 's career
model actor
action filter_type
action find
entity Dorothy Hart
relation occupation
type occupation
["Alzheimer's disease", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Dorothy_Hart property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1250303
P161
Q838948
USER
Which works of art do Dorothy Hart star in ?
(c(Q838948),P161,Q1250303)
action filter_type
action find_reverse
entity Q1250303
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1250303']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q1250303 . ?b rdf:type ontology:Q838948 }
Dorothy Hart
action filter_type
action find_reverse
entity Dorothy Hart
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Dorothy Hart']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Dorothy_Hart . ?b rdf:type ontology:work_of_art }
[]
work of art
Q4354625 Q1587353 Q947995
SYSTEM
I Was a Communist for the FBI, The Naked City, Tarzan's Savage Fury
Q4354625 Q1587353 Q947995
(c(Q838948),P161,Q1250303)
action filter_type
action find_reverse
entity Q1250303
relation P161
type Q838948
Dorothy Hart star in [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q1250303']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q1250303 . ?b rdf:type ontology:Q838948 }
I Was a Communist for the FBI The Naked City Tarzan's Savage Fury
Dorothy Hart star in I Was a Communist for the FBI, The Naked City and Tarzan's Savage Fury
I Was a Communist for the FBI The Naked City Tarzan's Savage Fury
action filter_type
action find_reverse
entity Dorothy Hart
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Dorothy Hart']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Dorothy_Hart . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1250303
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q4354625,P27,c(Q15617994)) (Q1587353,P27,c(Q15617994)) (Q947995,P27,c(Q15617994))
action filter_type
action find
entity Q1250303
relation P27
type Q15617994
['Q4354625', 'P27', {'concept': 'Q15617994'}] ['Q1587353', 'P27', {'concept': 'Q15617994'}] ['Q947995', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1250303 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Dorothy Hart
action filter_type
action find
entity Dorothy Hart
relation country of citizenship
type designation for an administrative territorial entity
['I Was a Communist for the FBI', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['The Naked City', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ["Tarzan's Savage Fury", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Dorothy_Hart property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4354625,P27,c(Q15617994)) (Q1587353,P27,c(Q15617994)) (Q947995,P27,c(Q15617994))
action filter_type
action find
entity Q1250303
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q4354625', 'P27', {'concept': 'Q15617994'}] ['Q1587353', 'P27', {'concept': 'Q15617994'}] ['Q947995', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1250303 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Dorothy Hart
relation country of citizenship
type designation for an administrative territorial entity
['I Was a Communist for the FBI', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['The Naked City', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ["Tarzan's Savage Fury", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Dorothy_Hart property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1587353
P915
Q56061
USER
Where was The Naked City filmed ?
(Q1587353,P915,c(Q56061))
action filter_type
action find
entity Q1587353
relation P915
type Q56061
['Q1587353', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q1587353 property:P915 ?l }
The Naked City
action filter_type
action find
entity The Naked City
relation filming location
type administrative territorial entity
['The Naked City', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:The_Naked_City property:filming_location ?l }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1587353,P915,c(Q56061))
action filter_type
action find
entity Q1587353
relation P915
type Q56061
The Naked City was filmed in [ANSWER]
['Q1587353', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q1587353 property:P915 ?l }
New York City
The Naked City was filmed in New York City
New York City
action filter_type
action find
entity The Naked City
relation filming location
type administrative territorial entity
['The Naked City', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:The_Naked_City property:filming_location ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1163628
Q56061
USER
And how about Straw Dogs?
(Q1163628,P915,c(Q56061))
action filter_type
action find
entity Q1163628
relation P915
type Q56061
['Q1163628', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1163628 property:P915 ?q . ?q rdf:type ontology:Q56061 }
Straw Dogs
action filter_type
action find
entity Straw Dogs
relation filming location
type administrative territorial entity
['Straw Dogs', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Straw_Dogs property:filming_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q652930
SYSTEM
St Buryan
Q652930
(Q1163628,P915,c(Q56061))
action filter_type
action find
entity Q1163628
relation P915
type Q56061
[ANSWER]
['Q1163628', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1163628 property:P915 ?q . ?q rdf:type ontology:Q56061 }
St Buryan
St Buryan
action filter_type
action find
entity Straw Dogs
relation filming location
type administrative territorial entity
['Straw Dogs', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Straw_Dogs property:filming_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q652930 Q431175 Q632905
P17
Q15617994
USER
Is that administrative territory situated in Emerkingen and Baienfurt ?
(Q652930,P17,Q431175) (Q652930,P17,Q632905)
action is_in
entity Q652930
action intersection
action find_reverse
entity Q431175
relation P17
action find_reverse
entity Q632905
relation P17
['Q652930', 'P17', 'Q431175'] ['Q652930', 'P17', 'Q632905']
ASK WHERE { resource:Q652930 property:P17 resource:Q431175 . resource:Q652930 property:P17 resource:Q632905 }
St Buryan Emerkingen Baienfurt
action is_in
entity St Buryan
action intersection
action find_reverse
entity Emerkingen
relation country
action find_reverse
entity Baienfurt
relation country
['St Buryan', 'country', 'Emerkingen'] ['St Buryan', 'country', 'Baienfurt']
ASK WHERE { resource:St_Buryan property:country resource:Emerkingen . resource:St_Buryan property:country resource:Baienfurt }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q652930,P17,Q431175) (Q652930,P17,Q632905)
action is_in
entity Q652930
action intersection
action find_reverse
entity Q431175
relation P17
action find_reverse
entity Q632905
relation P17
[ANSWER]
['Q652930', 'P17', 'Q431175'] ['Q652930', 'P17', 'Q632905']
ASK WHERE { resource:Q652930 property:P17 resource:Q431175 . resource:Q652930 property:P17 resource:Q632905 }
No
action is_in
entity St Buryan
action intersection
action find_reverse
entity Emerkingen
relation country
action find_reverse
entity Baienfurt
relation country
['St Buryan', 'country', 'Emerkingen'] ['St Buryan', 'country', 'Baienfurt']
ASK WHERE { resource:St_Buryan property:country resource:Emerkingen . resource:St_Buryan property:country resource:Baienfurt }
[]