Simple Question (Direct)
Simple Question
Q318337
P119
Q39614
USER
Where is the place of burial for Abel-François Villemain located ?
(Q318337,P119,c(Q39614))
action filter_type
action find
entity Q318337
relation P119
type Q39614
['Q318337', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?z WHERE { resource:Q318337 property:P119 ?z . ?z rdf:type ontology:Q39614 }
Abel-François Villemain
action filter_type
action find
entity Abel-François Villemain
relation place of burial
type cemetery
['Abel-François Villemain', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?z WHERE { resource:Abel-François_Villemain property:place_of_burial ?z . ?z rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q318337,P119,c(Q39614))
action filter_type
action find
entity Q318337
relation P119
type Q39614
The place of burial for Abel-François Villemain is located in [ANSWER]
['Q318337', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?z WHERE { resource:Q318337 property:P119 ?z . ?z rdf:type ontology:Q39614 }
Père Lachaise Cemetery
The place of burial for Abel-François Villemain is located in Père Lachaise Cemetery
Père Lachaise Cemetery
action filter_type
action find
entity Abel-François Villemain
relation place of burial
type cemetery
['Abel-François Villemain', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?z WHERE { resource:Abel-François_Villemain property:place_of_burial ?z . ?z rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q311
P921
Q838948
USER
Which work of art was mainly based on that cemetery ?
(c(Q838948),P921,Q311)
action filter_type
action find_reverse
entity Q311
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q311']
SELECT DISTINCT ?v WHERE { ?v property:P921 resource:Q311 . ?v rdf:type ontology:Q838948 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Père Lachaise Cemetery']
SELECT DISTINCT ?v WHERE { ?v property:main_subject resource:Père_Lachaise_Cemetery . ?v rdf:type ontology:work_of_art }
[]
work of art
Q13636884
SYSTEM
Forever
Q13636884
(c(Q838948),P921,Q311)
action filter_type
action find_reverse
entity Q311
relation P921
type Q838948
[ANSWER] was mainly based on that cemetery
[{'concept': 'Q838948'}, 'P921', 'Q311']
SELECT DISTINCT ?v WHERE { ?v property:P921 resource:Q311 . ?v rdf:type ontology:Q838948 }
Forever
Forever was mainly based on that cemetery
Forever
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Père Lachaise Cemetery']
SELECT DISTINCT ?v WHERE { ?v property:main_subject resource:Père_Lachaise_Cemetery . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311
P361
Q838948
USER
Which works of art are a portion of Père Lachaise Cemetery ?
(c(Q838948),P361,Q311)
action filter_type
action find_reverse
entity Q311
relation P361
type Q838948
[{'concept': 'Q838948'}, 'P361', 'Q311']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q311 . ?n rdf:type ontology:Q838948 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation part of
type work of art
[{'concept': 'work of art'}, 'part of', 'Père Lachaise Cemetery']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Père_Lachaise_Cemetery . ?n rdf:type ontology:work_of_art }
[]
work of art
Q3323370 Q3323377 Q12432989
SYSTEM
Héloïse and Abélard's tomb, François-Joseph Lefebvre's tomb, Oscar Wilde's tomb
Q15163334 Q3323370 Q15176613 Q3323377 Q12432989 Q15166738 Q15617771
(c(Q838948),P361,Q311)
action filter_type
action find_reverse
entity Q311
relation P361
type Q838948
[ANSWERS] are a portion of Père Lachaise Cemetery
[{'concept': 'Q838948'}, 'P361', 'Q311']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q311 . ?n rdf:type ontology:Q838948 }
Alphonse Bertillon's tomb Héloïse and Abélard's tomb Amédée Achard's tomb François-Joseph Lefebvre's tomb Oscar Wilde's tomb Alexandre Falguière's grave grave of Caroline Rivière
Héloïse and Abélard's tomb, François-Joseph Lefebvre's tomb and Oscar Wilde's tomb are a portion of Père Lachaise Cemetery
Héloïse and Abélard's tomb François-Joseph Lefebvre's tomb Oscar Wilde's tomb
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation part of
type work of art
[{'concept': 'work of art'}, 'part of', 'Père Lachaise Cemetery']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Père_Lachaise_Cemetery . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311
P84
Q502895
USER
Who is the designer of Père Lachaise Cemetery ?
(Q311,P84,c(Q502895))
action filter_type
action find
entity Q311
relation P84
type Q502895
['Q311', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q311 property:P84 ?j }
Père Lachaise Cemetery
action filter_type
action find
entity Père Lachaise Cemetery
relation architect
type common name
['Père Lachaise Cemetery', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Père_Lachaise_Cemetery property:architect ?j }
[]
common name
Q1342645
SYSTEM
Alexandre-Théodore Brongniart
Q1342645
(Q311,P84,c(Q502895))
action filter_type
action find
entity Q311
relation P84
type Q502895
The designer of Père Lachaise Cemetery is named [ANSWER]
['Q311', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q311 property:P84 ?j }
Alexandre-Théodore Brongniart
The designer of Père Lachaise Cemetery is named Alexandre-Théodore Brongniart
Alexandre-Théodore Brongniart
action filter_type
action find
entity Père Lachaise Cemetery
relation architect
type common name
['Père Lachaise Cemetery', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Père_Lachaise_Cemetery property:architect ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1342645
P1066
Q502895
USER
Which people were the teachers of that one ?
(Q1342645,P1066,c(Q502895))
action filter_type
action find
entity Q1342645
relation P1066
type Q502895
['Q1342645', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1342645 property:P1066 ?a . ?a rdf:type ontology:Q502895 }
Alexandre-Théodore Brongniart
action filter_type
action find
entity Alexandre-Théodore Brongniart
relation student of
type common name
['Alexandre-Théodore Brongniart', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Alexandre-Théodore_Brongniart property:student_of ?a . ?a rdf:type ontology:common_name }
[]
common name
Q430136 Q289220
SYSTEM
Jacques-François Blondel, Étienne-Louis Boullée
Q430136 Q289220
(Q1342645,P1066,c(Q502895))
action filter_type
action find
entity Q1342645
relation P1066
type Q502895
[ANSWERS] were the teachers of that one
['Q1342645', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1342645 property:P1066 ?a . ?a rdf:type ontology:Q502895 }
Jacques-François Blondel Étienne-Louis Boullée
Jacques-François Blondel and Étienne-Louis Boullée were the teachers of that one
Jacques-François Blondel Étienne-Louis Boullée
action filter_type
action find
entity Alexandre-Théodore Brongniart
relation student of
type common name
['Alexandre-Théodore Brongniart', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Alexandre-Théodore_Brongniart property:student_of ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1342645
P1066
Q502895
USER
Were Alexandre-Théodore Brongniart advised by those ones ?
(Q1342645,P1066,Q430136) (Q1342645,P1066,Q289220)
action is_in
entity prev_answer
action find
entity Q1342645
relation P1066
['Q1342645', 'P1066', 'Q430136'] ['Q1342645', 'P1066', 'Q289220']
ASK WHERE { VALUES ( ?c ) { ( resource:Q430136 ) ( resource:Q289220 ) } . resource:Q1342645 property:P1066 ?c }
Alexandre-Théodore Brongniart
action is_in
entity prev_answer
action find
entity Alexandre-Théodore Brongniart
relation student of
['Alexandre-Théodore Brongniart', 'student of', 'Jacques-François Blondel'] ['Alexandre-Théodore Brongniart', 'student of', 'Étienne-Louis Boullée']
ASK WHERE { VALUES ( ?c ) { ( resource:Jacques-François_Blondel ) ( resource:Étienne-Louis_Boullée ) } . resource:Alexandre-Théodore_Brongniart property:student_of ?c }
[]
common name
SYSTEM
YES
(Q1342645,P1066,Q430136) (Q1342645,P1066,Q289220)
action is_in
entity prev_answer
action find
entity Q1342645
relation P1066
[ANSWER]
['Q1342645', 'P1066', 'Q430136'] ['Q1342645', 'P1066', 'Q289220']
ASK WHERE { VALUES ( ?c ) { ( resource:Q430136 ) ( resource:Q289220 ) } . resource:Q1342645 property:P1066 ?c }
Yes
action is_in
entity prev_answer
action find
entity Alexandre-Théodore Brongniart
relation student of
['Alexandre-Théodore Brongniart', 'student of', 'Jacques-François Blondel'] ['Alexandre-Théodore Brongniart', 'student of', 'Étienne-Louis Boullée']
ASK WHERE { VALUES ( ?c ) { ( resource:Jacques-François_Blondel ) ( resource:Étienne-Louis_Boullée ) } . resource:Alexandre-Théodore_Brongniart property:student_of ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q430136
P21 P1066
Q502895
USER
Which people were advised by Jacques-François Blondel and are a male ?
AND((c(Q502895),P1066,Q430136), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q430136
relation P1066
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1066', 'Q430136'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P1066 resource:Q430136 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
male Jacques-François Blondel
action filter_type
action intersection
action find_reverse
entity Jacques-François Blondel
relation student of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'student of', 'Jacques-François Blondel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:student_of resource:Jacques-François_Blondel . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
common name
Q432786 Q2847056 Q546540 Q3157949 Q552700 Q1342645 Q3386869 Q316227
SYSTEM
Jean-Baptiste Rondelet, André Jacob Roubo, Marie-Joseph Peyre, Jacques Guillaume Legrand, Claude Nicolas Ledoux, Alexandre-Théodore Brongniart, Pierre Rousseau, Nicolas de Pigage
Q432786 Q2847056 Q546540 Q3157949 Q552700 Q1342645 Q3386869 Q316227
AND((c(Q502895),P1066,Q430136), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q430136
relation P1066
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were advised by Jacques-François Blondel and are a male
{'AND': [[{'concept': 'Q502895'}, 'P1066', 'Q430136'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P1066 resource:Q430136 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
Jean-Baptiste Rondelet André Jacob Roubo Marie-Joseph Peyre Jacques Guillaume Legrand Claude Nicolas Ledoux Alexandre-Théodore Brongniart Pierre Rousseau Nicolas de Pigage
Jean-Baptiste Rondelet, André Jacob Roubo, Marie-Joseph Peyre, Jacques Guillaume Legrand, Claude Nicolas Ledoux, Alexandre-Théodore Brongniart, Pierre Rousseau and Nicolas de Pigage were advised by Jacques-François Blondel and are a male
Jean-Baptiste Rondelet André Jacob Roubo Marie-Joseph Peyre Jacques Guillaume Legrand Claude Nicolas Ledoux Alexandre-Théodore Brongniart Pierre Rousseau Nicolas de Pigage
action filter_type
action intersection
action find_reverse
entity Jacques-François Blondel
relation student of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'student of', 'Jacques-François Blondel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:student_of resource:Jacques-François_Blondel . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P20
Q56061
USER
How many administrative territories are the places of death of that person ?
(Q552700,P20,c(Q56061))
['Q552700', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q552700 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
['Claude Nicolas Ledoux', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Claude_Nicolas_Ledoux property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q1342645
SYSTEM
Did you mean Alexandre-Théodore Brongniart ?
(Q432786,P20,c(Q56061)) (Q2847056,P20,c(Q56061)) (Q546540,P20,c(Q56061)) (Q3157949,P20,c(Q56061)) (Q552700,P20,c(Q56061)) (Q1342645,P20,c(Q56061)) (Q3386869,P20,c(Q56061)) (Q316227,P20,c(Q56061))
[ANSWER]
['Q432786', 'P20', {'concept': 'Q56061'}] ['Q2847056', 'P20', {'concept': 'Q56061'}] ['Q546540', 'P20', {'concept': 'Q56061'}] ['Q3157949', 'P20', {'concept': 'Q56061'}] ['Q552700', 'P20', {'concept': 'Q56061'}] ['Q1342645', 'P20', {'concept': 'Q56061'}] ['Q3386869', 'P20', {'concept': 'Q56061'}] ['Q316227', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q552700 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Alexandre-Théodore Brongniart ?
Alexandre-Théodore Brongniart
['Jean-Baptiste Rondelet', 'place of death', {'concept': 'administrative territorial entity'}] ['André Jacob Roubo', 'place of death', {'concept': 'administrative territorial entity'}] ['Marie-Joseph Peyre', 'place of death', {'concept': 'administrative territorial entity'}] ['Jacques Guillaume Legrand', 'place of death', {'concept': 'administrative territorial entity'}] ['Claude Nicolas Ledoux', 'place of death', {'concept': 'administrative territorial entity'}] ['Alexandre-Théodore Brongniart', 'place of death', {'concept': 'administrative territorial entity'}] ['Pierre Rousseau', 'place of death', {'concept': 'administrative territorial entity'}] ['Nicolas de Pigage', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Claude_Nicolas_Ledoux property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Claude Nicolas Ledoux. Could you tell me the answer for that?
(Q552700,P20,c(Q56061))
Q552700
['Q552700', 'P20', {'concept': 'Q56061'}]
['Claude Nicolas Ledoux', 'place of death', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q90
(Q552700,P20,c(Q56061))
[ANSWER]
['Q552700', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q552700 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Paris
1
['Claude Nicolas Ledoux', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Claude_Nicolas_Ledoux property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3390584 Q311
P17
Q15617994
USER
Which administrative territories are Père Lachaise Cemetery and place du Château-Rouge located in ?
AND((Q311,P17,c(Q15617994)), (Q3390584,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q311
relation P17
action find
entity Q3390584
relation P17
type Q15617994
{'AND': [['Q311', 'P17', {'concept': 'Q15617994'}], ['Q3390584', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q311 property:P17 ?g . resource:Q3390584 property:P17 ?g }
place du Château-Rouge Père Lachaise Cemetery
action filter_type
action intersection
action find
entity Père Lachaise Cemetery
relation country
action find
entity place du Château-Rouge
relation country
type designation for an administrative territorial entity
{'AND': [['Père Lachaise Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['place du Château-Rouge', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Père_Lachaise_Cemetery property:country ?g . resource:place_du_Château-Rouge property:country ?g }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q311,P17,c(Q15617994)), (Q3390584,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q311
relation P17
action find
entity Q3390584
relation P17
type Q15617994
Père Lachaise Cemetery and place du Château-Rouge are located in [ANSWER]
{'AND': [['Q311', 'P17', {'concept': 'Q15617994'}], ['Q3390584', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q311 property:P17 ?g . resource:Q3390584 property:P17 ?g }
France
Père Lachaise Cemetery and place du Château-Rouge are located in France
France
action filter_type
action intersection
action find
entity Père Lachaise Cemetery
relation country
action find
entity place du Château-Rouge
relation country
type designation for an administrative territorial entity
{'AND': [['Père Lachaise Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['place du Château-Rouge', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Père_Lachaise_Cemetery property:country ?g . resource:place_du_Château-Rouge property:country ?g }
[]