Simple Question (Direct)
Simple Question
Q6210054
P509
Q2057971
USER
What caused the death of Joe Glazer ?
(Q6210054,P509,c(Q2057971))
action filter_type
action find
entity Q6210054
relation P509
type Q2057971
['Q6210054', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q6210054 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
Joe Glazer
action filter_type
action find
entity Joe Glazer
relation cause of death
type health problem
['Joe Glazer', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:Joe_Glazer property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
health problem
Q208414
SYSTEM
lymphoma
Q208414
(Q6210054,P509,c(Q2057971))
action filter_type
action find
entity Q6210054
relation P509
type Q2057971
Con [ANSWER] caused the death of Joe Glazer
['Q6210054', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q6210054 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
lymphoma
Con lymphoma caused the death of Joe Glazer
lymphoma
action filter_type
action find
entity Joe Glazer
relation cause of death
type health problem
['Joe Glazer', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:Joe_Glazer property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6210054
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Joe Glazer ?
(Q6210054,P27,c(Q15617994))
action filter_type
action find
entity Q6210054
relation P27
type Q15617994
['Q6210054', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q6210054 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Joe Glazer
action filter_type
action find
entity Joe Glazer
relation country of citizenship
type designation for an administrative territorial entity
['Joe Glazer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Joe_Glazer property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6210054,P27,c(Q15617994))
action filter_type
action find
entity Q6210054
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Joe Glazer
['Q6210054', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q6210054 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Joe Glazer
United States of America
action filter_type
action find
entity Joe Glazer
relation country of citizenship
type designation for an administrative territorial entity
['Joe Glazer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Joe_Glazer property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2588101
Q15617994
USER
And also tell me about Octaaf Rotsaert?
(Q2588101,P27,c(Q15617994))
action filter_type
action find
entity Q2588101
relation P27
type Q15617994
['Q2588101', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2588101 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Octaaf Rotsaert
action filter_type
action find
entity Octaaf Rotsaert
relation country of citizenship
type designation for an administrative territorial entity
['Octaaf Rotsaert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Octaaf_Rotsaert property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q2588101,P27,c(Q15617994))
action filter_type
action find
entity Q2588101
relation P27
type Q15617994
[ANSWER]
['Q2588101', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2588101 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Belgium
Belgium
action filter_type
action find
entity Octaaf Rotsaert
relation country of citizenship
type designation for an administrative territorial entity
['Octaaf Rotsaert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Octaaf_Rotsaert property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2420419 Q2588101
P20
Q56061
USER
Which administrative territories did Octaaf Rotsaert or Davor Dujmović die ?
OR((Q2588101,P20,c(Q56061)), (Q2420419,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2588101
relation P20
action find
entity Q2420419
relation P20
type Q56061
{'OR': [['Q2588101', 'P20', {'concept': 'Q56061'}], ['Q2420419', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q2588101 property:P20 ?i } UNION { resource:Q2420419 property:P20 ?i } } . ?i rdf:type ontology:Q56061 }
Davor Dujmović Octaaf Rotsaert
action filter_type
action union
action find
entity Octaaf Rotsaert
relation place of death
action find
entity Davor Dujmović
relation place of death
type administrative territorial entity
{'OR': [['Octaaf Rotsaert', 'place of death', {'concept': 'administrative territorial entity'}], ['Davor Dujmović', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Octaaf_Rotsaert property:place_of_death ?i } UNION { resource:Davor_Dujmović property:place_of_death ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12994 Q5266
SYSTEM
Bruges, Novo Mesto
Q12994 Q5266
OR((Q2588101,P20,c(Q56061)), (Q2420419,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2588101
relation P20
action find
entity Q2420419
relation P20
type Q56061
Octaaf Rotsaert or Davor Dujmović died in [ANSWERS]
{'OR': [['Q2588101', 'P20', {'concept': 'Q56061'}], ['Q2420419', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q2588101 property:P20 ?i } UNION { resource:Q2420419 property:P20 ?i } } . ?i rdf:type ontology:Q56061 }
Bruges Novo Mesto
Octaaf Rotsaert or Davor Dujmović died in Bruges and Novo Mesto
Bruges Novo Mesto
action filter_type
action union
action find
entity Octaaf Rotsaert
relation place of death
action find
entity Davor Dujmović
relation place of death
type administrative territorial entity
{'OR': [['Octaaf Rotsaert', 'place of death', {'concept': 'administrative territorial entity'}], ['Davor Dujmović', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Octaaf_Rotsaert property:place_of_death ?i } UNION { resource:Davor_Dujmović property:place_of_death ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2420419
P161
Q838948
USER
Which works of art do Davor Dujmović star in ?
(c(Q838948),P161,Q12994) (c(Q838948),P161,Q5266)
action filter_type
action find_reverse
entity Q2420419
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q12994'] [{'concept': 'Q838948'}, 'P161', 'Q5266']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q2420419 . ?x rdf:type ontology:Q838948 }
Davor Dujmović
action filter_type
action find_reverse
entity Davor Dujmović
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Bruges'] [{'concept': 'work of art'}, 'cast member', 'Novo Mesto']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Davor_Dujmović . ?x rdf:type ontology:work_of_art }
[]
work of art
Q156516 Q433000 Q615979
SYSTEM
Underground, When Father Was Away on Business, Time of the Gypsies
Q156516 Q433000 Q615979
(c(Q838948),P161,Q12994) (c(Q838948),P161,Q5266)
action filter_type
action find_reverse
entity Q2420419
relation P161
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q12994'] [{'concept': 'Q838948'}, 'P161', 'Q5266']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q2420419 . ?x rdf:type ontology:Q838948 }
Underground When Father Was Away on Business Time of the Gypsies
Which works of art Davor Dujmović star in
Underground When Father Was Away on Business Time of the Gypsies
action filter_type
action find_reverse
entity Davor Dujmović
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Bruges'] [{'concept': 'work of art'}, 'cast member', 'Novo Mesto']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Davor_Dujmović . ?x rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2975633 Q2420419
P136 P161
Q838948
USER
Which works of art have Davor Dujmović in their star cast and have coming-of-age story as their type ?
AND((c(Q838948),P161,Q2420419), (c(Q838948),P136,Q2975633))
action filter_type
action intersection
action find_reverse
entity Q2420419
relation P161
action find_reverse
entity Q2975633
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q2420419'], [{'concept': 'Q838948'}, 'P136', 'Q2975633']]}
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q2420419 . ?s property:P136 resource:Q2975633 . ?s rdf:type ontology:Q838948 }
coming-of-age story Davor Dujmović
action filter_type
action intersection
action find_reverse
entity Davor Dujmović
relation cast member
action find_reverse
entity coming-of-age story
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Davor Dujmović'], [{'concept': 'work of art'}, 'genre', 'coming-of-age story']]}
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Davor_Dujmović . ?s property:genre resource:coming-of-age_story . ?s rdf:type ontology:work_of_art }
[]
work of art
Q433000
SYSTEM
When Father Was Away on Business
Q433000
AND((c(Q838948),P161,Q2420419), (c(Q838948),P136,Q2975633))
action filter_type
action intersection
action find_reverse
entity Q2420419
relation P161
action find_reverse
entity Q2975633
relation P136
type Q838948
When Father was Away on Business have Davor Dujmović in their star cast and have coming-of-age story as their type
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q2420419'], [{'concept': 'Q838948'}, 'P136', 'Q2975633']]}
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q2420419 . ?s property:P136 resource:Q2975633 . ?s rdf:type ontology:Q838948 }
When Father Was Away on Business
When Father was Away on Business have Davor Dujmović in their star cast and have coming-of-age story as their type
When Father Was Away on Business
action filter_type
action intersection
action find_reverse
entity Davor Dujmović
relation cast member
action find_reverse
entity coming-of-age story
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Davor Dujmović'], [{'concept': 'work of art'}, 'genre', 'coming-of-age story']]}
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Davor_Dujmović . ?s property:genre resource:coming-of-age_story . ?s rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q433000
P344
Q502895
USER
Who is appointed as the cinematographer of that work of art ?
(Q433000,P344,c(Q502895))
action filter_type
action find
entity Q433000
relation P344
type Q502895
['Q433000', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q433000 property:P344 ?s . ?s rdf:type ontology:Q502895 }
When Father Was Away on Business
action filter_type
action find
entity When Father Was Away on Business
relation director of photography
type common name
['When Father Was Away on Business', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:When_Father_Was_Away_on_Business property:director_of_photography ?s . ?s rdf:type ontology:common_name }
[]
common name
Q563004
SYSTEM
Vilko Filac
Q563004
(Q433000,P344,c(Q502895))
action filter_type
action find
entity Q433000
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of that work of art
['Q433000', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q433000 property:P344 ?s . ?s rdf:type ontology:Q502895 }
Vilko Filac
Vilko Filac is appointed as the cinematographer of that work of art
Vilko Filac
action filter_type
action find
entity When Father Was Away on Business
relation director of photography
type common name
['When Father Was Away on Business', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:When_Father_Was_Away_on_Business property:director_of_photography ?s . ?s rdf:type ontology:common_name }
[]