Simple Question (Direct)
Simple Question
Q776164
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Pierre Berthier ?
(Q776164,P27,c(Q15617994))
action filter_type
action find
entity Q776164
relation P27
type Q15617994
['Q776164', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q776164 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Pierre Berthier
action filter_type
action find
entity Pierre Berthier
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Berthier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Pierre_Berthier property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q776164,P27,c(Q15617994))
action filter_type
action find
entity Q776164
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Pierre Berthier
['Q776164', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q776164 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Pierre Berthier
France
action filter_type
action find
entity Pierre Berthier
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Berthier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Pierre_Berthier property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q776164
P69
Q3914
USER
Where was Pierre Berthier educated ?
(Q776164,P69,c(Q3914))
action filter_type
action find
entity Q776164
relation P69
type Q3914
['Q776164', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?s WHERE { resource:Q776164 property:P69 ?s . ?s rdf:type ontology:Q3914 }
Pierre Berthier
action filter_type
action find
entity Pierre Berthier
relation educated at
type school
['Pierre Berthier', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Berthier property:educated_at ?s . ?s rdf:type ontology:school }
[]
school
Q273626
SYSTEM
École Polytechnique
Q273626
(Q776164,P69,c(Q3914))
action filter_type
action find
entity Q776164
relation P69
type Q3914
Pierre Berthier was educated [ANSWER]
['Q776164', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?s WHERE { resource:Q776164 property:P69 ?s . ?s rdf:type ontology:Q3914 }
École Polytechnique
Pierre Berthier was educated École Polytechnique
École Polytechnique
action filter_type
action find
entity Pierre Berthier
relation educated at
type school
['Pierre Berthier', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Berthier property:educated_at ?s . ?s rdf:type ontology:school }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q776164
Q2385804
USER
And which educational institution?
(Q776164,P69,c(Q2385804))
action filter_type
action find
entity Q776164
relation P69
type Q2385804
['Q776164', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?g WHERE { resource:Q776164 property:P69 ?g . ?g rdf:type ontology:Q2385804 }
Pierre Berthier
action filter_type
action find
entity Pierre Berthier
relation educated at
type educational institution
['Pierre Berthier', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?g WHERE { resource:Pierre_Berthier property:educated_at ?g . ?g rdf:type ontology:educational_institution }
[]
educational institution
Q1189954
SYSTEM
Mines ParisTech
Q1189954
(Q776164,P69,c(Q2385804))
action filter_type
action find
entity Q776164
relation P69
type Q2385804
[ANSWER]
['Q776164', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?g WHERE { resource:Q776164 property:P69 ?g . ?g rdf:type ontology:Q2385804 }
Mines ParisTech
Mines ParisTech
action filter_type
action find
entity Pierre Berthier
relation educated at
type educational institution
['Pierre Berthier', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?g WHERE { resource:Pierre_Berthier property:educated_at ?g . ?g rdf:type ontology:educational_institution }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1189954
P512
Q502895
USER
Which person has the diploma that educational institution ?
(c(Q502895),P512,Q1189954)
action filter_type
action find_reverse
entity Q1189954
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1189954']
SELECT DISTINCT ?i WHERE { ?i property:P512 resource:Q1189954 . ?i rdf:type ontology:Q502895 }
Mines ParisTech
action filter_type
action find_reverse
entity Mines ParisTech
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'Mines ParisTech']
SELECT DISTINCT ?i WHERE { ?i property:academic_degree resource:Mines_ParisTech . ?i rdf:type ontology:common_name }
[]
common name
Q20021760
SYSTEM
Edmond Dupuis
Q20021760
(c(Q502895),P512,Q1189954)
action filter_type
action find_reverse
entity Q1189954
relation P512
type Q502895
[ANSWER] has the diploma that educational institution
[{'concept': 'Q502895'}, 'P512', 'Q1189954']
SELECT DISTINCT ?i WHERE { ?i property:P512 resource:Q1189954 . ?i rdf:type ontology:Q502895 }
Edmond Dupuis
Edmond Dupuis has the diploma that educational institution
Edmond Dupuis
action filter_type
action find_reverse
entity Mines ParisTech
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'Mines ParisTech']
SELECT DISTINCT ?i WHERE { ?i property:academic_degree resource:Mines_ParisTech . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1189954
P361
Q13226383
USER
What is a part of Mines ParisTech ?
(c(Q13226383),P361,Q1189954)
action filter_type
action find_reverse
entity Q1189954
relation P361
type Q13226383
[{'concept': 'Q13226383'}, 'P361', 'Q1189954']
SELECT DISTINCT ?e WHERE { ?e property:P361 resource:Q1189954 . ?e rdf:type ontology:Q13226383 }
Mines ParisTech
action filter_type
action find_reverse
entity Mines ParisTech
relation part of
type facility
[{'concept': 'facility'}, 'part of', 'Mines ParisTech']
SELECT DISTINCT ?e WHERE { ?e property:part_of resource:Mines_ParisTech . ?e rdf:type ontology:facility }
[]
facility
Q5062340
SYSTEM
Centre de Morphologie Mathématique
Q5062340
(c(Q13226383),P361,Q1189954)
action filter_type
action find_reverse
entity Q1189954
relation P361
type Q13226383
A part of Mines ParisTech is the [ANSWER]
[{'concept': 'Q13226383'}, 'P361', 'Q1189954']
SELECT DISTINCT ?e WHERE { ?e property:P361 resource:Q1189954 . ?e rdf:type ontology:Q13226383 }
Centre de Morphologie Mathématique
A part of Mines ParisTech is the Centre de Morphologie Mathématique
Centre de Morphologie Mathématique
action filter_type
action find_reverse
entity Mines ParisTech
relation part of
type facility
[{'concept': 'facility'}, 'part of', 'Mines ParisTech']
SELECT DISTINCT ?e WHERE { ?e property:part_of resource:Mines_ParisTech . ?e rdf:type ontology:facility }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P610
Q14524493
USER
Which is the zenith of France ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?v WHERE { resource:Q142 property:P610 ?v . ?v rdf:type ontology:Q14524493 }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?v WHERE { resource:France property:highest_point ?v . ?v rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
Is the zenith of France [ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?v WHERE { resource:Q142 property:P610 ?v . ?v rdf:type ontology:Q14524493 }
Mont Blanc
Is the zenith of France Mont Blanc
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?v WHERE { resource:France property:highest_point ?v . ?v rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P85
Q571
USER
Which book is the anthem for that administrative territory ?
(Q583,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
['Q583', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P85 ?h . ?h rdf:type ontology:Q571 }
France
action filter_type
action find
entity France
relation anthem
type book
['Mont Blanc', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?h WHERE { resource:France property:anthem ?h . ?h rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
(Q583,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
[ANSWER] is the anthem for that administrative territory
['Q583', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P85 ?h . ?h rdf:type ontology:Q571 }
La Marseillaise
La Marseillaise is the anthem for that administrative territory
La Marseillaise
action filter_type
action find
entity France
relation anthem
type book
['Mont Blanc', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?h WHERE { resource:France property:anthem ?h . ?h rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P30
Q2221906
USER
Which geographic locations are France located in ?
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q142 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
France
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:France property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q15 Q46
SYSTEM
Antarctica, Africa, Europe
Q46 Q15 Q538 Q828 Q51
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
France are located in [ANSWERS]
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q142 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
Europe Africa Oceania Americas Antarctica
France are located in Antarctica, Africa and Europe
Antarctica Africa Europe
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:France property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15
P921
Q2342494
USER
Which collectables were mainly based on that geographic location ?
(c(Q2342494),P921,Q15)
action filter_type
action find_reverse
entity Q15
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q15']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q15 . ?a rdf:type ontology:Q2342494 }
Africa
action filter_type
action find_reverse
entity Africa
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Africa']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Africa . ?a rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q51
SYSTEM
Did you mean Antarctica ?
Q51 Q15 Q46
(c(Q2342494),P921,Q51) (c(Q2342494),P921,Q15) (c(Q2342494),P921,Q46)
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q51'] [{'concept': 'Q2342494'}, 'P921', 'Q15'] [{'concept': 'Q2342494'}, 'P921', 'Q46']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q15 . ?a rdf:type ontology:Q2342494 }
Antarctica Africa Europe
Did you mean Antarctica ?
Antarctica
[{'concept': 'collectable'}, 'main subject', 'Antarctica'] [{'concept': 'collectable'}, 'main subject', 'Africa'] [{'concept': 'collectable'}, 'main subject', 'Europe']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Africa . ?a rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant Africa. Could you tell me the answer for that?
(c(Q2342494),P921,Q15)
Q15
[{'concept': 'Q2342494'}, 'P921', 'Q15']
[{'concept': 'collectable'}, 'main subject', 'Africa']
[]
Q18205780 Q12071418
SYSTEM
Description of Africa, Travels to Discover the Source of the Nile
Q18205780 Q12071418
(c(Q2342494),P921,Q15)
action filter_type
action find_reverse
entity Q15
relation P921
type Q2342494
Description of Africa and Travels to discover the Source of the Nile were mainly based on that geographic location
[{'concept': 'Q2342494'}, 'P921', 'Q15']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q15 . ?a rdf:type ontology:Q2342494 }
Description of Africa Travels to Discover the Source of the Nile
Description of Africa and Travels to discover the Source of the Nile were mainly based on that geographic location
Description of Africa Travels to Discover the Source of the Nile
action filter_type
action find_reverse
entity Africa
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Africa']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Africa . ?a rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4942342 Q12071418
P50
Q502895
USER
Which people penned Travels to Discover the Source of the Nile or Jibong yuseol ?
OR((Q12071418,P50,c(Q502895)), (Q4942342,P50,c(Q502895)))
action filter_type
action union
action find
entity Q12071418
relation P50
action find
entity Q4942342
relation P50
type Q502895
{'OR': [['Q12071418', 'P50', {'concept': 'Q502895'}], ['Q4942342', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . { VALUES ( ?o ) { ( resource:Q12071418 ) ( resource:Q4942342 ) } . ?o property:P50 ?r } }
Jibong yuseol Travels to Discover the Source of the Nile
action filter_type
action union
action find
entity Travels to Discover the Source of the Nile
relation author
action find
entity Jibong yuseol
relation author
type common name
{'OR': [['Travels to Discover the Source of the Nile', 'author', {'concept': 'common name'}], ['Jibong yuseol', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . { VALUES ( ?o ) { ( resource:Travels_to_Discover_the_Source_of_the_Nile ) ( resource:Jibong_yuseol ) } . ?o property:author ?r } }
[]
common name
Q484770 Q348489
SYSTEM
Yi Su-gwang, James Bruce
Q484770 Q348489
OR((Q12071418,P50,c(Q502895)), (Q4942342,P50,c(Q502895)))
action filter_type
action union
action find
entity Q12071418
relation P50
action find
entity Q4942342
relation P50
type Q502895
[ANSWERS] penned Travels to Discover the Source of the Nile or Jibong yuseol
{'OR': [['Q12071418', 'P50', {'concept': 'Q502895'}], ['Q4942342', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . { VALUES ( ?o ) { ( resource:Q12071418 ) ( resource:Q4942342 ) } . ?o property:P50 ?r } }
Yi Su-gwang James Bruce
Yi Su-gwang and James Bruce penned Travels to Discover the Source of the Nile or Jibong yuseol
Yi Su-gwang James Bruce
action filter_type
action union
action find
entity Travels to Discover the Source of the Nile
relation author
action find
entity Jibong yuseol
relation author
type common name
{'OR': [['Travels to Discover the Source of the Nile', 'author', {'concept': 'common name'}], ['Jibong yuseol', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . { VALUES ( ?o ) { ( resource:Travels_to_Discover_the_Source_of_the_Nile ) ( resource:Jibong_yuseol ) } . ?o property:author ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q348489
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of James Bruce ?
(Q348489,P27,c(Q15617994))
action count
action filter_type
action find
entity Q348489
relation P27
type Q15617994
['Q348489', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q348489 property:P27 ?m }
James Bruce
action count
action filter_type
action find
entity James Bruce
relation country of citizenship
type designation for an administrative territorial entity
['James Bruce', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Bruce property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q348489,P27,c(Q15617994))
action count
action filter_type
action find
entity Q348489
relation P27
type Q15617994
[ANSWER]
['Q348489', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q348489 property:P27 ?m }
United Kingdom
1
action count
action filter_type
action find
entity James Bruce
relation country of citizenship
type designation for an administrative territorial entity
['James Bruce', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Bruce property:country_of_citizenship ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q553440
P27
Q15617994
USER
And what about Ivo Vojnović?
(Q553440,P27,c(Q15617994))
action count
action filter_type
action find
entity Q553440
relation P27
type Q15617994
['Q553440', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q553440 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Ivo Vojnović
action count
action filter_type
action find
entity Ivo Vojnović
relation country of citizenship
type designation for an administrative territorial entity
['Ivo Vojnović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Ivo_Vojnović property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q403
(Q553440,P27,c(Q15617994))
action count
action filter_type
action find
entity Q553440
relation P27
type Q15617994
[ANSWER]
['Q553440', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q553440 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Serbia
1
action count
action filter_type
action find
entity Ivo Vojnović
relation country of citizenship
type designation for an administrative territorial entity
['Ivo Vojnović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Ivo_Vojnović property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]