Simple Question (Direct)
Simple Question
Q20056462
P119
Q39614
USER
Where was Georges Pierrot-Deseilligny buried ?
(Q20056462,P119,c(Q39614))
action filter_type
action find
entity Q20056462
relation P119
type Q39614
['Q20056462', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q39614 . resource:Q20056462 property:P119 ?v }
Georges Pierrot-Deseilligny
action filter_type
action find
entity Georges Pierrot-Deseilligny
relation place of burial
type cemetery
['Georges Pierrot-Deseilligny', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:cemetery . resource:Georges_Pierrot-Deseilligny property:place_of_burial ?v }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q20056462,P119,c(Q39614))
action filter_type
action find
entity Q20056462
relation P119
type Q39614
Georges Pierrot-Deseilligny was buried in [ANSWER]
['Q20056462', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q39614 . resource:Q20056462 property:P119 ?v }
Père Lachaise Cemetery
Georges Pierrot-Deseilligny was buried in Père Lachaise Cemetery
Père Lachaise Cemetery
action filter_type
action find
entity Georges Pierrot-Deseilligny
relation place of burial
type cemetery
['Georges Pierrot-Deseilligny', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:cemetery . resource:Georges_Pierrot-Deseilligny property:place_of_burial ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20056462
P21
Q290
USER
Which sex does that person belong to ?
(Q311,P21,c(Q290))
action filter_type
action find
entity Q20056462
relation P21
type Q290
['Q311', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q20056462 property:P21 ?p . ?p rdf:type ontology:Q290 }
Georges Pierrot-Deseilligny
action filter_type
action find
entity Georges Pierrot-Deseilligny
relation gender
type sex
['Père Lachaise Cemetery', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Georges_Pierrot-Deseilligny property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q311,P21,c(Q290))
action filter_type
action find
entity Q20056462
relation P21
type Q290
That person belongs to [ANSWER]
['Q311', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q20056462 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Georges Pierrot-Deseilligny
relation gender
type sex
['Père Lachaise Cemetery', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Georges_Pierrot-Deseilligny property:gender ?p . ?p rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q311
P669
Q79007 Q34442
USER
How many streets and roads can Père Lachaise Cemetery be located ?
(Q311,P669,c(Q79007)) (Q311,P669,c(Q34442))
action count
action union
action filter_type
action find
entity Q311
relation P669
type Q79007
action filter_type
action find
entity Q311
relation P669
type Q34442
['Q311', 'P669', {'concept': 'Q79007'}] ['Q311', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { resource:Q311 property:P669 ?w . ?w rdf:type ontology:Q79007 } UNION { resource:Q311 property:P669 ?w . ?w rdf:type ontology:Q34442 } }
Père Lachaise Cemetery
action count
action union
action filter_type
action find
entity Père Lachaise Cemetery
relation located on street
type street
action filter_type
action find
entity Père Lachaise Cemetery
relation located on street
type road
['Père Lachaise Cemetery', 'located on street', {'concept': 'street'}] ['Père Lachaise Cemetery', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { resource:Père_Lachaise_Cemetery property:located_on_street ?w . ?w rdf:type ontology:street } UNION { resource:Père_Lachaise_Cemetery property:located_on_street ?w . ?w rdf:type ontology:road } }
[]
street road
SYSTEM
1 streets and 1 roads
Q3452562 Q2921989
(Q311,P669,c(Q79007)) (Q311,P669,c(Q34442))
action count
action union
action filter_type
action find
entity Q311
relation P669
type Q79007
action filter_type
action find
entity Q311
relation P669
type Q34442
[ANSWER]
['Q311', 'P669', {'concept': 'Q79007'}] ['Q311', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { resource:Q311 property:P669 ?w . ?w rdf:type ontology:Q79007 } UNION { resource:Q311 property:P669 ?w . ?w rdf:type ontology:Q34442 } }
rue du Repos boulevard de Ménilmontant
1 streets and 1 roads
action count
action union
action filter_type
action find
entity Père Lachaise Cemetery
relation located on street
type street
action filter_type
action find
entity Père Lachaise Cemetery
relation located on street
type road
['Père Lachaise Cemetery', 'located on street', {'concept': 'street'}] ['Père Lachaise Cemetery', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { resource:Père_Lachaise_Cemetery property:located_on_street ?w . ?w rdf:type ontology:street } UNION { resource:Père_Lachaise_Cemetery property:located_on_street ?w . ?w rdf:type ontology:road } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q311
P800
Q502895
USER
Who is author of that cemetery ?
action filter_type
action find_reverse
entity Q311
relation P800
type Q502895
SELECT DISTINCT ?h WHERE { ?h property:P800 resource:Q311 . ?h rdf:type ontology:Q502895 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation notable work
type common name
SELECT DISTINCT ?h WHERE { ?h property:notable_work resource:Père_Lachaise_Cemetery . ?h rdf:type ontology:common_name }
[]
common name
Q1342645
SYSTEM
Alexandre-Théodore Brongniart
Q1342645
action filter_type
action find_reverse
entity Q311
relation P800
type Q502895
Author of that cemetery is named [ANSWER]
SELECT DISTINCT ?h WHERE { ?h property:P800 resource:Q311 . ?h rdf:type ontology:Q502895 }
Alexandre-Théodore Brongniart
Author of that cemetery is named Alexandre-Théodore Brongniart
Alexandre-Théodore Brongniart
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation notable work
type common name
SELECT DISTINCT ?h WHERE { ?h property:notable_work resource:Père_Lachaise_Cemetery . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1342645 Q18599523 Q20172599
P22
Q502895
USER
Does Alexandre-Théodore Brongniart have Ignace-Théodore Brongniart and Franz Jugert as a father ?
(Q1342645,P22,Q18599523) (Q1342645,P22,Q20172599)
action is_in
entity Q1342645
action intersection
action find_reverse
entity Q18599523
relation P22
action find_reverse
entity Q20172599
relation P22
['Q1342645', 'P22', 'Q18599523'] ['Q1342645', 'P22', 'Q20172599']
ASK WHERE { resource:Q1342645 property:P22 resource:Q20172599 . resource:Q1342645 property:P22 resource:Q18599523 }
Alexandre-Théodore Brongniart Ignace-Théodore Brongniart Franz Jugert
action is_in
entity Alexandre-Théodore Brongniart
action intersection
action find_reverse
entity Ignace-Théodore Brongniart
relation father
action find_reverse
entity Franz Jugert
relation father
['Alexandre-Théodore Brongniart', 'father', 'Ignace-Théodore Brongniart'] ['Alexandre-Théodore Brongniart', 'father', 'Franz Jugert']
ASK WHERE { resource:Alexandre-Théodore_Brongniart property:father resource:Franz_Jugert . resource:Alexandre-Théodore_Brongniart property:father resource:Ignace-Théodore_Brongniart }
[]
common name
SYSTEM
YES and NO respectively
(Q1342645,P22,Q18599523) (Q1342645,P22,Q20172599)
action is_in
entity Q1342645
action intersection
action find_reverse
entity Q18599523
relation P22
action find_reverse
entity Q20172599
relation P22
[ANSWER]
['Q1342645', 'P22', 'Q18599523'] ['Q1342645', 'P22', 'Q20172599']
ASK WHERE { resource:Q1342645 property:P22 resource:Q20172599 . resource:Q1342645 property:P22 resource:Q18599523 }
YES and NO respectively
action is_in
entity Alexandre-Théodore Brongniart
action intersection
action find_reverse
entity Ignace-Théodore Brongniart
relation father
action find_reverse
entity Franz Jugert
relation father
['Alexandre-Théodore Brongniart', 'father', 'Ignace-Théodore Brongniart'] ['Alexandre-Théodore Brongniart', 'father', 'Franz Jugert']
ASK WHERE { resource:Alexandre-Théodore_Brongniart property:father resource:Franz_Jugert . resource:Alexandre-Théodore_Brongniart property:father resource:Ignace-Théodore_Brongniart }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q311 Q319795 Q2921989
P669
Q79007
USER
Is Père Lachaise Cemetery located on Bundesstraße 2 R and boulevard de Ménilmontant ?
(Q311,P669,Q319795) (Q311,P669,Q2921989)
action is_in
entity Q311
action intersection
action find_reverse
entity Q319795
relation P669
action find_reverse
entity Q2921989
relation P669
['Q311', 'P669', 'Q319795'] ['Q311', 'P669', 'Q2921989']
ASK WHERE { resource:Q311 property:P669 resource:Q2921989 . resource:Q311 property:P669 resource:Q319795 }
Père Lachaise Cemetery Bundesstraße 2 R boulevard de Ménilmontant
action is_in
entity Père Lachaise Cemetery
action intersection
action find_reverse
entity Bundesstraße 2 R
relation located on street
action find_reverse
entity boulevard de Ménilmontant
relation located on street
['Père Lachaise Cemetery', 'located on street', 'Bundesstraße 2 R'] ['Père Lachaise Cemetery', 'located on street', 'boulevard de Ménilmontant']
ASK WHERE { resource:Père_Lachaise_Cemetery property:located_on_street resource:boulevard_de_Ménilmontant . resource:Père_Lachaise_Cemetery property:located_on_street resource:Bundesstraße_2_R }
[]
street
SYSTEM
NO and YES respectively
(Q311,P669,Q319795) (Q311,P669,Q2921989)
action is_in
entity Q311
action intersection
action find_reverse
entity Q319795
relation P669
action find_reverse
entity Q2921989
relation P669
[ANSWER]
['Q311', 'P669', 'Q319795'] ['Q311', 'P669', 'Q2921989']
ASK WHERE { resource:Q311 property:P669 resource:Q2921989 . resource:Q311 property:P669 resource:Q319795 }
NO and YES respectively
action is_in
entity Père Lachaise Cemetery
action intersection
action find_reverse
entity Bundesstraße 2 R
relation located on street
action find_reverse
entity boulevard de Ménilmontant
relation located on street
['Père Lachaise Cemetery', 'located on street', 'Bundesstraße 2 R'] ['Père Lachaise Cemetery', 'located on street', 'boulevard de Ménilmontant']
ASK WHERE { resource:Père_Lachaise_Cemetery property:located_on_street resource:boulevard_de_Ménilmontant . resource:Père_Lachaise_Cemetery property:located_on_street resource:Bundesstraße_2_R }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q311
P276
Q838948
USER
What are located at that cemetery ?
action filter_type
action find_reverse
entity Q311
relation P276
type Q838948
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P276 resource:Q311 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation location
type work of art
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:location resource:Père_Lachaise_Cemetery }
[]
work of art
Q15181960 Q392352 Q3323370
SYSTEM
Luigi Cherubini's tomb, Frédéric Chopin's tomb, Héloïse and Abélard's tomb
Q3531119 Q15181960 Q392352 Q15211575 Q3323370 Q18168585 Q15160973 Q18168599 Q15176615 Q3323388 Q3323377 Q12432989 Q15056206 Q3323390 Q15211805
action filter_type
action find_reverse
entity Q311
relation P276
type Q838948
[ANSWERS] are located at that cemetery
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P276 resource:Q311 }
Tombe du Dragon Luigi Cherubini's tomb Frédéric Chopin's tomb Eugène Gautier's tomb Héloïse and Abélard's tomb cardiotaph of Jacques Nicolas Gobert Richard Wallace's tomb tomb of Andranik Ozanian Alexandre Aguado's tomb Paul Baudry's tomb François-Joseph Lefebvre's tomb Oscar Wilde's tomb Théodore Barrière's tomb Delille's tomb Piñeyro's tomb
Luigi Cherubini's tomb, Frédéric Chopin's tomb and Héloïse and Abélard's tomb are located at that cemetery
Luigi Cherubini's tomb Frédéric Chopin's tomb Héloïse and Abélard's tomb
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation location
type work of art
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:location resource:Père_Lachaise_Cemetery }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3323370
P84
Q502895
USER
How many people are the designers of Héloïse and Abélard's tomb ?
(Q3323370,P84,c(Q502895))
action count
action filter_type
action find
entity Q3323370
relation P84
type Q502895
['Q3323370', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q3323370 property:P84 ?g . ?g rdf:type ontology:Q502895 }
Héloïse and Abélard's tomb
action count
action filter_type
action find
entity Héloïse and Abélard's tomb
relation architect
type common name
["Héloïse and Abélard's tomb", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Héloïse_and_Abélard's_tomb property:architect ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q375985
(Q3323370,P84,c(Q502895))
action count
action filter_type
action find
entity Q3323370
relation P84
type Q502895
[ANSWER]
['Q3323370', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q3323370 property:P84 ?g . ?g rdf:type ontology:Q502895 }
Alexandre Lenoir
1
action count
action filter_type
action find
entity Héloïse and Abélard's tomb
relation architect
type common name
["Héloïse and Abélard's tomb", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Héloïse_and_Abélard's_tomb property:architect ?g . ?g rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q392352
P119 P21
Q502895
USER
Which people were burried at Frédéric Chopin's tomb and have the gender as male ?
AND((c(Q502895),P119,Q392352), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q392352
relation P119
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P119', 'Q392352'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P119 resource:Q392352 . ?a property:P21 resource:Q6581097 }
male Frédéric Chopin's tomb
action filter_type
action intersection
action find_reverse
entity Frédéric Chopin's tomb
relation place of burial
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of burial', "Frédéric Chopin's tomb"], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_burial resource:Frédéric_Chopin's_tomb . ?a property:gender resource:male }
[]
common name
Q1268
SYSTEM
Frédéric Chopin
Q1268
AND((c(Q502895),P119,Q392352), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q392352
relation P119
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] was burried at [ANSWER]'s tomb and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P119', 'Q392352'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P119 resource:Q392352 . ?a property:P21 resource:Q6581097 }
Frédéric Chopin
Frédéric Chopin was burried at Frédéric Chopin's tomb and have the gender as male
Frédéric Chopin
action filter_type
action intersection
action find_reverse
entity Frédéric Chopin's tomb
relation place of burial
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of burial', "Frédéric Chopin's tomb"], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_burial resource:Frédéric_Chopin's_tomb . ?a property:gender resource:male }
[]