Simple Question (Direct)
Simple Question
Q3229611
P27
Q1048835
USER
Which political territory is the country of citizenship of Leo Yaffe ?
(Q3229611,P27,c(Q1048835))
action filter_type
action find
entity Q3229611
relation P27
type Q1048835
['Q3229611', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q3229611 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Leo Yaffe
action filter_type
action find
entity Leo Yaffe
relation country of citizenship
type political territorial entity
['Leo Yaffe', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Leo_Yaffe property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3229611,P27,c(Q1048835))
action filter_type
action find
entity Q3229611
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Leo Yaffe
['Q3229611', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q3229611 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Canada
Canada is the country of citizenship of Leo Yaffe
Canada
action filter_type
action find
entity Leo Yaffe
relation country of citizenship
type political territorial entity
['Leo Yaffe', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Leo_Yaffe property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3229611
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q16,P106,c(Q12737077))
action filter_type
action find
entity Q3229611
relation P106
type Q12737077
['Q16', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3229611 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Leo Yaffe
action filter_type
action find
entity Leo Yaffe
relation occupation
type occupation
['Canada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Leo_Yaffe property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q593644
SYSTEM
chemist
Q593644
(Q16,P106,c(Q12737077))
action filter_type
action find
entity Q3229611
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
['Q16', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3229611 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
chemist
Chemist has that person as his/her 's career
chemist
action filter_type
action find
entity Leo Yaffe
relation occupation
type occupation
['Canada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Leo_Yaffe property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3229611
P1344
Q1914636
USER
Which activity did that person take part in ?
(Q593644,P1344,c(Q1914636))
action filter_type
action find
entity Q3229611
relation P1344
type Q1914636
['Q593644', 'P1344', {'concept': 'Q1914636'}]
SELECT DISTINCT ?i WHERE { resource:Q3229611 property:P1344 ?i . ?i rdf:type ontology:Q1914636 }
Leo Yaffe
action filter_type
action find
entity Leo Yaffe
relation participant of
type activity
['chemist', 'participant of', {'concept': 'activity'}]
SELECT DISTINCT ?i WHERE { resource:Leo_Yaffe property:participant_of ?i . ?i rdf:type ontology:activity }
[]
activity
Q127050
SYSTEM
Manhattan Project
Q127050
(Q593644,P1344,c(Q1914636))
action filter_type
action find
entity Q3229611
relation P1344
type Q1914636
Part that person took the [ANSWER]
['Q593644', 'P1344', {'concept': 'Q1914636'}]
SELECT DISTINCT ?i WHERE { resource:Q3229611 property:P1344 ?i . ?i rdf:type ontology:Q1914636 }
Manhattan Project
Part that person took the Manhattan Project
Manhattan Project
action filter_type
action find
entity Leo Yaffe
relation participant of
type activity
['chemist', 'participant of', {'concept': 'activity'}]
SELECT DISTINCT ?i WHERE { resource:Leo_Yaffe property:participant_of ?i . ?i rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q127050
P1416
Q502895
USER
Which person has affliliation with that activity ?
(c(Q502895),P1416,Q127050)
action filter_type
action find_reverse
entity Q127050
relation P1416
type Q502895
[{'concept': 'Q502895'}, 'P1416', 'Q127050']
SELECT DISTINCT ?p WHERE { ?p property:P1416 resource:Q127050 . ?p rdf:type ontology:Q502895 }
Manhattan Project
action filter_type
action find_reverse
entity Manhattan Project
relation affiliation
type common name
[{'concept': 'common name'}, 'affiliation', 'Manhattan Project']
SELECT DISTINCT ?p WHERE { ?p property:affiliation resource:Manhattan_Project . ?p rdf:type ontology:common_name }
[]
common name
Q57475
SYSTEM
Klaus Fuchs
Q57475
(c(Q502895),P1416,Q127050)
action filter_type
action find_reverse
entity Q127050
relation P1416
type Q502895
[ANSWER] has affliliation with that activity
[{'concept': 'Q502895'}, 'P1416', 'Q127050']
SELECT DISTINCT ?p WHERE { ?p property:P1416 resource:Q127050 . ?p rdf:type ontology:Q502895 }
Klaus Fuchs
Klaus Fuchs has affliliation with that activity
Klaus Fuchs
action filter_type
action find_reverse
entity Manhattan Project
relation affiliation
type common name
[{'concept': 'common name'}, 'affiliation', 'Manhattan Project']
SELECT DISTINCT ?p WHERE { ?p property:affiliation resource:Manhattan_Project . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q127050
P108
Q502895
USER
Who works for Manhattan Project ?
(c(Q502895),P108,Q127050)
action filter_type
action find_reverse
entity Q127050
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q127050']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P108 resource:Q127050 }
Manhattan Project
action filter_type
action find_reverse
entity Manhattan Project
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Manhattan Project']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:employer resource:Manhattan_Project }
[]
common name
Q155794
SYSTEM
Hans Bethe
Q155794
(c(Q502895),P108,Q127050)
action filter_type
action find_reverse
entity Q127050
relation P108
type Q502895
[ANSWER] works for Manhattan Project
[{'concept': 'Q502895'}, 'P108', 'Q127050']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P108 resource:Q127050 }
Hans Bethe
Hans Bethe works for Manhattan Project
Hans Bethe
action filter_type
action find_reverse
entity Manhattan Project
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Manhattan Project']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:employer resource:Manhattan_Project }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q127050
P17
Q15617994
USER
Which administrative territory is that activity a part of ?
(Q155794,P17,c(Q15617994))
action filter_type
action find
entity Q127050
relation P17
type Q15617994
['Q155794', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q127050 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Manhattan Project
action filter_type
action find
entity Manhattan Project
relation country
type designation for an administrative territorial entity
['Hans Bethe', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Manhattan_Project property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q155794,P17,c(Q15617994))
action filter_type
action find
entity Q127050
relation P17
type Q15617994
[ANSWER] is that activity a part of
['Q155794', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q127050 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
United States of America is that activity a part of
United States of America
action filter_type
action find
entity Manhattan Project
relation country
type designation for an administrative territorial entity
['Hans Bethe', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Manhattan_Project property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q7407078 Q127050
P17
Q15617994
USER
And also Sam Adams Award
AND((Q127050,P17,c(Q15617994)), (Q7407078,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q127050
relation P17
action find
entity Q7407078
relation P17
type Q15617994
{'AND': [['Q127050', 'P17', {'concept': 'Q15617994'}], ['Q7407078', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { resource:Q127050 property:P17 ?l . resource:Q7407078 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Sam Adams Award Manhattan Project
action filter_type
action intersection
action find
entity Manhattan Project
relation country
action find
entity Sam Adams Award
relation country
type designation for an administrative territorial entity
{'AND': [['Manhattan Project', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sam Adams Award', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:Manhattan_Project property:country ?l . resource:Sam_Adams_Award property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q127050,P17,c(Q15617994)), (Q7407078,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q127050
relation P17
action find
entity Q7407078
relation P17
type Q15617994
[ANSWER]
{'AND': [['Q127050', 'P17', {'concept': 'Q15617994'}], ['Q7407078', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { resource:Q127050 property:P17 ?l . resource:Q7407078 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action intersection
action find
entity Manhattan Project
relation country
action find
entity Sam Adams Award
relation country
type designation for an administrative territorial entity
{'AND': [['Manhattan Project', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sam Adams Award', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:Manhattan_Project property:country ?l . resource:Sam_Adams_Award property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]