Simple Question (Direct)
Simple Question
Q4502893
P108
Q163740
USER
Which nonprofit organization employs Bruce Herschensohn ?
(Q4502893,P108,c(Q163740))
action filter_type
action find
entity Q4502893
relation P108
type Q163740
['Q4502893', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { resource:Q4502893 property:P108 ?w . ?w rdf:type ontology:Q163740 }
Bruce Herschensohn
action filter_type
action find
entity Bruce Herschensohn
relation employer
type nonprofit organization
['Bruce Herschensohn', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { resource:Bruce_Herschensohn property:employer ?w . ?w rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q4502893,P108,c(Q163740))
action filter_type
action find
entity Q4502893
relation P108
type Q163740
[ANSWER] employs Bruce Herschensohn
['Q4502893', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { resource:Q4502893 property:P108 ?w . ?w rdf:type ontology:Q163740 }
Harvard University
Harvard University employs Bruce Herschensohn
Harvard University
action filter_type
action find
entity Bruce Herschensohn
relation employer
type nonprofit organization
['Bruce Herschensohn', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { resource:Bruce_Herschensohn property:employer ?w . ?w rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4502893
P57
Q201658
USER
Which film genre is that person a director of ?
(c(Q201658),P57,Q13371)
action filter_type
action find_reverse
entity Q4502893
relation P57
type Q201658
[{'concept': 'Q201658'}, 'P57', 'Q13371']
SELECT DISTINCT ?x WHERE { ?x property:P57 resource:Q4502893 . ?x rdf:type ontology:Q201658 }
Bruce Herschensohn
action filter_type
action find_reverse
entity Bruce Herschensohn
relation director
type film genre
[{'concept': 'film genre'}, 'director', 'Harvard University']
SELECT DISTINCT ?x WHERE { ?x property:director resource:Bruce_Herschensohn . ?x rdf:type ontology:film_genre }
[]
film genre
Q7734266
SYSTEM
The Five Cities of June
Q7734266
(c(Q201658),P57,Q13371)
action filter_type
action find_reverse
entity Q4502893
relation P57
type Q201658
[ANSWER] is that person a director of
[{'concept': 'Q201658'}, 'P57', 'Q13371']
SELECT DISTINCT ?x WHERE { ?x property:P57 resource:Q4502893 . ?x rdf:type ontology:Q201658 }
The Five Cities of June
The Five Cities of June is that person a director of
The Five Cities of June
action filter_type
action find_reverse
entity Bruce Herschensohn
relation director
type film genre
[{'concept': 'film genre'}, 'director', 'Harvard University']
SELECT DISTINCT ?x WHERE { ?x property:director resource:Bruce_Herschensohn . ?x rdf:type ontology:film_genre }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1574582 Q7734266
P20 P495
Q15617994
USER
Which administrative territories are the origin of The Five Cities of June or did the demise of Hans Cossy occur ?
OR((Q7734266,P495,c(Q15617994)), (Q1574582,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q7734266
relation P495
action find
entity Q1574582
relation P20
type Q15617994
{'OR': [['Q7734266', 'P495', {'concept': 'Q15617994'}], ['Q1574582', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q7734266 property:P495 ?n } UNION { resource:Q1574582 property:P20 ?n } } . ?n rdf:type ontology:Q15617994 }
Hans Cossy The Five Cities of June
action filter_type
action union
action find
entity The Five Cities of June
relation country of origin
action find
entity Hans Cossy
relation place of death
type designation for an administrative territorial entity
{'OR': [['The Five Cities of June', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Hans Cossy', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:The_Five_Cities_of_June property:country_of_origin ?n } UNION { resource:Hans_Cossy property:place_of_death ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q3923
SYSTEM
United States of America, Bayreuth
Q30 Q3923
OR((Q7734266,P495,c(Q15617994)), (Q1574582,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q7734266
relation P495
action find
entity Q1574582
relation P20
type Q15617994
[ANSWERS] are the origin of The Five Cities of June or did the demise of Hans Cossy occur
{'OR': [['Q7734266', 'P495', {'concept': 'Q15617994'}], ['Q1574582', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q7734266 property:P495 ?n } UNION { resource:Q1574582 property:P20 ?n } } . ?n rdf:type ontology:Q15617994 }
United States of America Bayreuth
United States of America and Bayreuth are the origin of The Five Cities of June or did the demise of Hans Cossy occur
United States of America Bayreuth
action filter_type
action union
action find
entity The Five Cities of June
relation country of origin
action find
entity Hans Cossy
relation place of death
type designation for an administrative territorial entity
{'OR': [['The Five Cities of June', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Hans Cossy', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:The_Five_Cities_of_June property:country_of_origin ?n } UNION { resource:Hans_Cossy property:place_of_death ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7839962 Q7734266
P364
Q34770
USER
Which languages are the original languages of creation of The Five Cities of June or Trial by Jury ?
OR((Q7734266,P364,c(Q34770)), (Q7839962,P364,c(Q34770)))
action filter_type
action union
action find
entity Q7734266
relation P364
action find
entity Q7839962
relation P364
type Q34770
{'OR': [['Q7734266', 'P364', {'concept': 'Q34770'}], ['Q7839962', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q7734266 property:P364 ?i } UNION { resource:Q7839962 property:P364 ?i } } . ?i rdf:type ontology:Q34770 }
Trial by Jury The Five Cities of June
action filter_type
action union
action find
entity The Five Cities of June
relation original language of work
action find
entity Trial by Jury
relation original language of work
type language
{'OR': [['The Five Cities of June', 'original language of work', {'concept': 'language'}], ['Trial by Jury', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?i WHERE { { { resource:The_Five_Cities_of_June property:original_language_of_work ?i } UNION { resource:Trial_by_Jury property:original_language_of_work ?i } } . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q7734266,P364,c(Q34770)), (Q7839962,P364,c(Q34770)))
action filter_type
action union
action find
entity Q7734266
relation P364
action find
entity Q7839962
relation P364
type Q34770
[ANSWER] is the original languages of creation of The Five Cities of June or Trial by Jury
{'OR': [['Q7734266', 'P364', {'concept': 'Q34770'}], ['Q7839962', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q7734266 property:P364 ?i } UNION { resource:Q7839962 property:P364 ?i } } . ?i rdf:type ontology:Q34770 }
English
English is the original languages of creation of The Five Cities of June or Trial by Jury
English
action filter_type
action union
action find
entity The Five Cities of June
relation original language of work
action find
entity Trial by Jury
relation original language of work
type language
{'OR': [['The Five Cities of June', 'original language of work', {'concept': 'language'}], ['Trial by Jury', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?i WHERE { { { resource:The_Five_Cities_of_June property:original_language_of_work ?i } UNION { resource:Trial_by_Jury property:original_language_of_work ?i } } . ?i rdf:type ontology:language }
[]