Simple Question (Direct)
Simple Question
Q2093012
P19
Q515
USER
Where was Pierre Félix Masseau born ?
(Q2093012,P19,c(Q515))
action filter_type
action find
entity Q2093012
relation P19
type Q515
['Q2093012', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q2093012 property:P19 ?s . ?s rdf:type ontology:Q515 }
Pierre Félix Masseau
action filter_type
action find
entity Pierre Félix Masseau
relation place of birth
type city
['Pierre Félix Masseau', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Félix_Masseau property:place_of_birth ?s . ?s rdf:type ontology:city }
[]
city
Q456
SYSTEM
Lyon
Q456
(Q2093012,P19,c(Q515))
action filter_type
action find
entity Q2093012
relation P19
type Q515
Pierre Félix Masseau was born in [ANSWER]
['Q2093012', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q2093012 property:P19 ?s . ?s rdf:type ontology:Q515 }
Lyon
Pierre Félix Masseau was born in Lyon
Lyon
action filter_type
action find
entity Pierre Félix Masseau
relation place of birth
type city
['Pierre Félix Masseau', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Félix_Masseau property:place_of_birth ?s . ?s rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2093012
P170
Q838948
USER
What did that person make ?
(c(Q838948),P170,Q456)
action filter_type
action find_reverse
entity Q2093012
relation P170
type Q838948
[{'concept': 'Q838948'}, 'P170', 'Q456']
SELECT DISTINCT ?p WHERE { ?p property:P170 resource:Q2093012 . ?p rdf:type ontology:Q838948 }
Pierre Félix Masseau
action filter_type
action find_reverse
entity Pierre Félix Masseau
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'Lyon']
SELECT DISTINCT ?p WHERE { ?p property:creator resource:Pierre_Félix_Masseau . ?p rdf:type ontology:work_of_art }
[]
work of art
Q18191120
SYSTEM
Charles Baudelaire
Q18191120
(c(Q838948),P170,Q456)
action filter_type
action find_reverse
entity Q2093012
relation P170
type Q838948
That person made [ANSWER]
[{'concept': 'Q838948'}, 'P170', 'Q456']
SELECT DISTINCT ?p WHERE { ?p property:P170 resource:Q2093012 . ?p rdf:type ontology:Q838948 }
Charles Baudelaire
That person made Charles Baudelaire
Charles Baudelaire
action filter_type
action find_reverse
entity Pierre Félix Masseau
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'Lyon']
SELECT DISTINCT ?p WHERE { ?p property:creator resource:Pierre_Félix_Masseau . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2093012
P20
Q56061
USER
Where did the demise of that person occur ?
(Q18191120,P20,c(Q56061))
action filter_type
action find
entity Q2093012
relation P20
type Q56061
['Q18191120', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2093012 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Pierre Félix Masseau
action filter_type
action find
entity Pierre Félix Masseau
relation place of death
type administrative territorial entity
['Charles Baudelaire', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Pierre_Félix_Masseau property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q18191120,P20,c(Q56061))
action filter_type
action find
entity Q2093012
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q18191120', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2093012 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Paris
The demise of that person occurred in Paris
Paris
action filter_type
action find
entity Pierre Félix Masseau
relation place of death
type administrative territorial entity
['Charles Baudelaire', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Pierre_Félix_Masseau property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2093012
P800
Q838948
USER
What notable work was done by Pierre Félix Masseau ?
(Q2093012,P800,c(Q838948))
action filter_type
action find
entity Q2093012
relation P800
type Q838948
['Q2093012', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?p WHERE { resource:Q2093012 property:P800 ?p . ?p rdf:type ontology:Q838948 }
Pierre Félix Masseau
action filter_type
action find
entity Pierre Félix Masseau
relation notable work
type work of art
['Pierre Félix Masseau', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?p WHERE { resource:Pierre_Félix_Masseau property:notable_work ?p . ?p rdf:type ontology:work_of_art }
[]
work of art
Q18191120
SYSTEM
Charles Baudelaire
Q18191120
(Q2093012,P800,c(Q838948))
action filter_type
action find
entity Q2093012
relation P800
type Q838948
De [ANSWER] was done by Pierre Félix Masseau
['Q2093012', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?p WHERE { resource:Q2093012 property:P800 ?p . ?p rdf:type ontology:Q838948 }
Charles Baudelaire
De Charles Baudelaire was done by Pierre Félix Masseau
Charles Baudelaire
action filter_type
action find
entity Pierre Félix Masseau
relation notable work
type work of art
['Pierre Félix Masseau', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?p WHERE { resource:Pierre_Félix_Masseau property:notable_work ?p . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6767478
Q838948
USER
And what about Mark Eddinger?
(Q6767478,P800,c(Q838948))
action filter_type
action find
entity Q6767478
relation P800
type Q838948
['Q6767478', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . resource:Q6767478 property:P800 ?t }
Mark Eddinger
action filter_type
action find
entity Mark Eddinger
relation notable work
type work of art
['Mark Eddinger', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . resource:Mark_Eddinger property:notable_work ?t }
[]
work of art
Q1052826 Q271281 Q260548
SYSTEM
Celebrity, Empire of the Sun, Silverado
Q1052826 Q271281 Q260548
(Q6767478,P800,c(Q838948))
action filter_type
action find
entity Q6767478
relation P800
type Q838948
[ANSWERS]
['Q6767478', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . resource:Q6767478 property:P800 ?t }
Celebrity Empire of the Sun Silverado
Celebrity Empire of the Sun Silverado
action filter_type
action find
entity Mark Eddinger
relation notable work
type work of art
['Mark Eddinger', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . resource:Mark_Eddinger property:notable_work ?t }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q271281
P27 P800
Q502895
USER
Which people have Empire of the Sun as their notable work and are a citizen of United States of America ?
AND((c(Q502895),P800,Q271281), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q271281
relation P800
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q271281'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?q WHERE { ?q property:P800 resource:Q271281 . ?q property:P27 resource:Q30 . ?q rdf:type ontology:Q502895 }
United States of America Empire of the Sun
action filter_type
action intersection
action find_reverse
entity Empire of the Sun
relation notable work
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Empire of the Sun'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?q WHERE { ?q property:notable_work resource:Empire_of_the_Sun . ?q property:country_of_citizenship resource:United_States_of_America . ?q rdf:type ontology:common_name }
[]
common name
Q6767478
SYSTEM
Mark Eddinger
Q6767478
AND((c(Q502895),P800,Q271281), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q271281
relation P800
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWER] have Empire of the Sun as their notable work and are a citizen of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q271281'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?q WHERE { ?q property:P800 resource:Q271281 . ?q property:P27 resource:Q30 . ?q rdf:type ontology:Q502895 }
Mark Eddinger
Mark Eddinger have Empire of the Sun as their notable work and are a citizen of United States of America
Mark Eddinger
action filter_type
action intersection
action find_reverse
entity Empire of the Sun
relation notable work
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Empire of the Sun'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?q WHERE { ?q property:notable_work resource:Empire_of_the_Sun . ?q property:country_of_citizenship resource:United_States_of_America . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3531190 Q260548
P344
Q502895
USER
Which people serve as the director of photography for Silverado or Timbuktu ?
OR((Q260548,P344,c(Q502895)), (Q3531190,P344,c(Q502895)))
action filter_type
action union
action find
entity Q260548
relation P344
action find
entity Q3531190
relation P344
type Q502895
{'OR': [['Q260548', 'P344', {'concept': 'Q502895'}], ['Q3531190', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q260548 property:P344 ?x } UNION { resource:Q3531190 property:P344 ?x } } . ?x rdf:type ontology:Q502895 }
Timbuktu Silverado
action filter_type
action union
action find
entity Silverado
relation director of photography
action find
entity Timbuktu
relation director of photography
type common name
{'OR': [['Silverado', 'director of photography', {'concept': 'common name'}], ['Timbuktu', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Silverado property:director_of_photography ?x } UNION { resource:Timbuktu property:director_of_photography ?x } } . ?x rdf:type ontology:common_name }
[]
common name
Q367813 Q3301791
SYSTEM
John Bailey, Maury Gertsman
Q367813 Q3301791
OR((Q260548,P344,c(Q502895)), (Q3531190,P344,c(Q502895)))
action filter_type
action union
action find
entity Q260548
relation P344
action find
entity Q3531190
relation P344
type Q502895
[ANSWERS] serve as the director of photography for Silverado or Timbuktu
{'OR': [['Q260548', 'P344', {'concept': 'Q502895'}], ['Q3531190', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q260548 property:P344 ?x } UNION { resource:Q3531190 property:P344 ?x } } . ?x rdf:type ontology:Q502895 }
John Bailey Maury Gertsman
John Bailey and Maury Gertsman serve as the director of photography for Silverado or Timbuktu
John Bailey Maury Gertsman
action filter_type
action union
action find
entity Silverado
relation director of photography
action find
entity Timbuktu
relation director of photography
type common name
{'OR': [['Silverado', 'director of photography', {'concept': 'common name'}], ['Timbuktu', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Silverado property:director_of_photography ?x } UNION { resource:Timbuktu property:director_of_photography ?x } } . ?x rdf:type ontology:common_name }
[]