Simple Question (Direct)
Simple Question
Q60662
P119
Q39614
USER
Which cemetery is the resting place of Franz Xaver von Zach ?
(Q60662,P119,c(Q39614))
action filter_type
action find
entity Q60662
relation P119
type Q39614
['Q60662', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?j WHERE { resource:Q60662 property:P119 ?j . ?j rdf:type ontology:Q39614 }
Franz Xaver von Zach
action filter_type
action find
entity Franz Xaver von Zach
relation place of burial
type cemetery
['Franz Xaver von Zach', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?j WHERE { resource:Franz_Xaver_von_Zach property:place_of_burial ?j . ?j rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q60662,P119,c(Q39614))
action filter_type
action find
entity Q60662
relation P119
type Q39614
The [ANSWER] is the resting place of Franz Xaver von Zach
['Q60662', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?j WHERE { resource:Q60662 property:P119 ?j . ?j rdf:type ontology:Q39614 }
Père Lachaise Cemetery
The Père Lachaise Cemetery is the resting place of Franz Xaver von Zach
Père Lachaise Cemetery
action filter_type
action find
entity Franz Xaver von Zach
relation place of burial
type cemetery
['Franz Xaver von Zach', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?j WHERE { resource:Franz_Xaver_von_Zach property:place_of_burial ?j . ?j rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q311
P180
Q3305213
USER
Which painting expressess that cemetery ?
(c(Q3305213),P180,Q311)
action filter_type
action find_reverse
entity Q311
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q311']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q311 . ?y rdf:type ontology:Q3305213 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Père Lachaise Cemetery']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:Père_Lachaise_Cemetery . ?y rdf:type ontology:painting }
[]
painting
Q19283476
SYSTEM
View of Paris from Père la Chaise.
Q19283476
(c(Q3305213),P180,Q311)
action filter_type
action find_reverse
entity Q311
relation P180
type Q3305213
[ANSWER] expressess that cemetery
[{'concept': 'Q3305213'}, 'P180', 'Q311']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q311 . ?y rdf:type ontology:Q3305213 }
View of Paris from Père la Chaise.
View of Paris from Père la Chaise. expressess that cemetery
View of Paris from Père la Chaise.
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Père Lachaise Cemetery']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:Père_Lachaise_Cemetery . ?y rdf:type ontology:painting }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q19283476 Q159758 Q10342547
P170
Q502895
USER
Was that painting developed by J. M. W. Turner and Otávio Dumit Gadret ?
(Q19283476,P170,Q159758) (Q19283476,P170,Q10342547)
action is_in
entity Q19283476
action intersection
action find_reverse
entity Q159758
relation P170
action find_reverse
entity Q10342547
relation P170
['Q19283476', 'P170', 'Q159758'] ['Q19283476', 'P170', 'Q10342547']
ASK WHERE { resource:Q19283476 property:P170 resource:Q159758 . resource:Q19283476 property:P170 resource:Q10342547 }
View of Paris from Père la Chaise. J. M. W. Turner Otávio Dumit Gadret
action is_in
entity View of Paris from Père la Chaise.
action intersection
action find_reverse
entity J. M. W. Turner
relation creator
action find_reverse
entity Otávio Dumit Gadret
relation creator
['View of Paris from Père la Chaise.', 'creator', 'J. M. W. Turner'] ['View of Paris from Père la Chaise.', 'creator', 'Otávio Dumit Gadret']
ASK WHERE { resource:View_of_Paris_from_Père_la_Chaise. property:creator resource:J._M._W._Turner . resource:View_of_Paris_from_Père_la_Chaise. property:creator resource:Otávio_Dumit_Gadret }
[]
common name
SYSTEM
YES and NO respectively
(Q19283476,P170,Q159758) (Q19283476,P170,Q10342547)
action is_in
entity Q19283476
action intersection
action find_reverse
entity Q159758
relation P170
action find_reverse
entity Q10342547
relation P170
[ANSWER]
['Q19283476', 'P170', 'Q159758'] ['Q19283476', 'P170', 'Q10342547']
ASK WHERE { resource:Q19283476 property:P170 resource:Q159758 . resource:Q19283476 property:P170 resource:Q10342547 }
YES and NO respectively
action is_in
entity View of Paris from Père la Chaise.
action intersection
action find_reverse
entity J. M. W. Turner
relation creator
action find_reverse
entity Otávio Dumit Gadret
relation creator
['View of Paris from Père la Chaise.', 'creator', 'J. M. W. Turner'] ['View of Paris from Père la Chaise.', 'creator', 'Otávio Dumit Gadret']
ASK WHERE { resource:View_of_Paris_from_Père_la_Chaise. property:creator resource:J._M._W._Turner . resource:View_of_Paris_from_Père_la_Chaise. property:creator resource:Otávio_Dumit_Gadret }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q19283476 Q26263392
P195
Q33506
USER
How many museums are View of Paris from Père la Chaise. or Fire bucket preserved in ?
(Q19283476,P195,c(Q33506)) (Q26263392,P195,c(Q33506))
action count
action union
action filter_type
action find
entity Q19283476
relation P195
type Q33506
action filter_type
action find
entity Q26263392
relation P195
type Q33506
['Q19283476', 'P195', {'concept': 'Q33506'}] ['Q26263392', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { resource:Q19283476 property:P195 ?x . ?x rdf:type ontology:Q33506 } UNION { ?x rdf:type ontology:Q33506 . resource:Q26263392 property:P195 ?x } }
View of Paris from Père la Chaise. Fire bucket
action count
action union
action filter_type
action find
entity View of Paris from Père la Chaise.
relation collection
type museum
action filter_type
action find
entity Fire bucket
relation collection
type museum
['View of Paris from Père la Chaise.', 'collection', {'concept': 'museum'}] ['Fire bucket', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { resource:View_of_Paris_from_Père_la_Chaise. property:collection ?x . ?x rdf:type ontology:museum } UNION { ?x rdf:type ontology:museum . resource:Fire_bucket property:collection ?x } }
[]
museum
SYSTEM
2
Q2988142 Q430682
(Q19283476,P195,c(Q33506)) (Q26263392,P195,c(Q33506))
action count
action union
action filter_type
action find
entity Q19283476
relation P195
type Q33506
action filter_type
action find
entity Q26263392
relation P195
type Q33506
[ANSWER]
['Q19283476', 'P195', {'concept': 'Q33506'}] ['Q26263392', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { resource:Q19283476 property:P195 ?x . ?x rdf:type ontology:Q33506 } UNION { ?x rdf:type ontology:Q33506 . resource:Q26263392 property:P195 ?x } }
Halle Gate Tate
2
action count
action union
action filter_type
action find
entity View of Paris from Père la Chaise.
relation collection
type museum
action filter_type
action find
entity Fire bucket
relation collection
type museum
['View of Paris from Père la Chaise.', 'collection', {'concept': 'museum'}] ['Fire bucket', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { resource:View_of_Paris_from_Père_la_Chaise. property:collection ?x . ?x rdf:type ontology:museum } UNION { ?x rdf:type ontology:museum . resource:Fire_bucket property:collection ?x } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19283476
P276
Q33506
USER
Where can that painting be found ?
action filter_type
action find
entity Q19283476
relation P276
type Q33506
SELECT DISTINCT ?c WHERE { resource:Q19283476 property:P276 ?c . ?c rdf:type ontology:Q33506 }
View of Paris from Père la Chaise.
action filter_type
action find
entity View of Paris from Père la Chaise.
relation location
type museum
SELECT DISTINCT ?c WHERE { resource:View_of_Paris_from_Père_la_Chaise. property:location ?c . ?c rdf:type ontology:museum }
[]
museum
Q430682
SYSTEM
Tate
Q430682
action filter_type
action find
entity Q19283476
relation P276
type Q33506
That painting can be found at [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q19283476 property:P276 ?c . ?c rdf:type ontology:Q33506 }
Tate
That painting can be found at Tate
Tate
action filter_type
action find
entity View of Paris from Père la Chaise.
relation location
type museum
SELECT DISTINCT ?c WHERE { resource:View_of_Paris_from_Père_la_Chaise. property:location ?c . ?c rdf:type ontology:museum }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q430682
P108
Q502895
USER
Which person works for that museum ?
(c(Q502895),P108,Q430682)
action filter_type
action find_reverse
entity Q430682
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q430682']
SELECT DISTINCT ?c WHERE { ?c property:P108 resource:Q430682 . ?c rdf:type ontology:Q502895 }
Tate
action filter_type
action find_reverse
entity Tate
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Tate']
SELECT DISTINCT ?c WHERE { ?c property:employer resource:Tate . ?c rdf:type ontology:common_name }
[]
common name
Q20714093
SYSTEM
Alison Smith
Q20714093
(c(Q502895),P108,Q430682)
action filter_type
action find_reverse
entity Q430682
relation P108
type Q502895
[ANSWER] works for that museum
[{'concept': 'Q502895'}, 'P108', 'Q430682']
SELECT DISTINCT ?c WHERE { ?c property:P108 resource:Q430682 . ?c rdf:type ontology:Q502895 }
Alison Smith
Alison Smith works for that museum
Alison Smith
action filter_type
action find_reverse
entity Tate
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Tate']
SELECT DISTINCT ?c WHERE { ?c property:employer resource:Tate . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20714093
P21
Q290
USER
Which sex does that person have ?
(Q20714093,P21,c(Q290))
action filter_type
action find
entity Q20714093
relation P21
type Q290
['Q20714093', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q20714093 property:P21 ?t . ?t rdf:type ontology:Q290 }
Alison Smith
action filter_type
action find
entity Alison Smith
relation gender
type sex
['Alison Smith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Alison_Smith property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q20714093,P21,c(Q290))
action filter_type
action find
entity Q20714093
relation P21
type Q290
That person has a [ANSWER]
['Q20714093', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q20714093 property:P21 ?t . ?t rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Alison Smith
relation gender
type sex
['Alison Smith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Alison_Smith property:gender ?t . ?t rdf:type ontology:sex }
[]