Simple Question (Direct)
Simple Question
Q1089007
P17
Q15617994
USER
Which administrative territory is Saint-Bonnet-de-Bellac situated in ?
(Q1089007,P17,c(Q15617994))
action filter_type
action find
entity Q1089007
relation P17
type Q15617994
['Q1089007', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1089007 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Saint-Bonnet-de-Bellac
action filter_type
action find
entity Saint-Bonnet-de-Bellac
relation country
type designation for an administrative territorial entity
['Saint-Bonnet-de-Bellac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Saint-Bonnet-de-Bellac property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1089007,P17,c(Q15617994))
action filter_type
action find
entity Q1089007
relation P17
type Q15617994
Which administrative territory is Saint-Bonnet-de-Bellac situated in
['Q1089007', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1089007 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
France
Which administrative territory is Saint-Bonnet-de-Bellac situated in
France
action filter_type
action find
entity Saint-Bonnet-de-Bellac
relation country
type designation for an administrative territorial entity
['Saint-Bonnet-de-Bellac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Saint-Bonnet-de-Bellac property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1089007
P47
Q20667921
USER
Which french administrative divisions share border with Saint-Bonnet-de-Bellac ?
(Q1089007,P47,c(Q20667921))
action filter_type
action find
entity Q1089007
relation P47
type Q20667921
['Q1089007', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q1089007 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Saint-Bonnet-de-Bellac
action filter_type
action find
entity Saint-Bonnet-de-Bellac
relation shares border with
type type of french administrative division
['Saint-Bonnet-de-Bellac', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Saint-Bonnet-de-Bellac property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q178868 Q1020028 Q1075951
SYSTEM
Peyrat-de-Bellac, Bussière-Poitevine, Saint-Barbant
Q21428104 Q1024996 Q178868 Q1020028 Q1075951 Q580526 Q193649
(Q1089007,P47,c(Q20667921))
action filter_type
action find
entity Q1089007
relation P47
type Q20667921
[ANSWERS] share border with Saint-Bonnet-de-Bellac
['Q1089007', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q1089007 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Val-d'Issoire La Croix-sur-Gartempe Peyrat-de-Bellac Bussière-Poitevine Saint-Barbant Saint-Sornin-la-Marche Saint-Martial-sur-Isop
Peyrat-de-Bellac, Bussière-Poitevine and Saint-Barbant share border with Saint-Bonnet-de-Bellac
Peyrat-de-Bellac Bussière-Poitevine Saint-Barbant
action filter_type
action find
entity Saint-Bonnet-de-Bellac
relation shares border with
type type of french administrative division
['Saint-Bonnet-de-Bellac', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Saint-Bonnet-de-Bellac property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q178868 Q1020028 Q1075951
P47
Q20667921
USER
Which french administrative divisions do those ones share a border with ?
(c(Q20667921),P47,Q178868) (c(Q20667921),P47,Q1020028) (c(Q20667921),P47,Q1075951)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q178868'] [{'concept': 'Q20667921'}, 'P47', 'Q1020028'] [{'concept': 'Q20667921'}, 'P47', 'Q1075951']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . VALUES ( ?a ) { ( resource:Q21428104 ) ( resource:Q1024996 ) ( resource:Q178868 ) } . ?a property:P47 ?o }
Peyrat-de-Bellac Bussière-Poitevine Saint-Barbant
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Peyrat-de-Bellac'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Bussière-Poitevine'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Barbant']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . VALUES ( ?a ) { ( resource:Val-d'Issoire ) ( resource:La_Croix-sur-Gartempe ) ( resource:Peyrat-de-Bellac ) } . ?a property:shares_border_with ?o }
[]
type of french administrative division
Q539232 Q539232 Q214597
SYSTEM
Adriers for 1st, 2nd, Bellac for 3rd
Q176540 Q21428104 Q214597 Q1089007 Q1024996 Q1075204 Q176030 Q1075951 Q539232 Q202392 Q1089007 Q1024967 Q580526 Q646454 Q1435814 Q193649 Q748053 Q539232 Q1089007 Q1355308 Q1020028
(c(Q20667921),P47,Q178868) (c(Q20667921),P47,Q1020028) (c(Q20667921),P47,Q1075951)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q178868'] [{'concept': 'Q20667921'}, 'P47', 'Q1020028'] [{'concept': 'Q20667921'}, 'P47', 'Q1075951']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . VALUES ( ?a ) { ( resource:Q21428104 ) ( resource:Q1024996 ) ( resource:Q178868 ) } . ?a property:P47 ?o }
Blond Val-d'Issoire Bellac Saint-Bonnet-de-Bellac La Croix-sur-Gartempe Saint-Ouen-sur-Gartempe Blanzac Saint-Barbant Adriers Thiat Saint-Bonnet-de-Bellac Darnac Saint-Sornin-la-Marche Lathus-Saint-Rémy Luchapt Saint-Martial-sur-Isop Mouterre-sur-Blourde Adriers Saint-Bonnet-de-Bellac Asnières-sur-Blour Bussière-Poitevine
Those ones share a border with Adriers, Adriers and Bellac
Adriers Adriers Bellac
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Peyrat-de-Bellac'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Bussière-Poitevine'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Barbant']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . VALUES ( ?a ) { ( resource:Val-d'Issoire ) ( resource:La_Croix-sur-Gartempe ) ( resource:Peyrat-de-Bellac ) } . ?a property:shares_border_with ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q214597
P20
Q502895
USER
Which people have that french administrative division as place of death ?
(c(Q502895),P20,Q214597)
action filter_type
action find_reverse
entity Q214597
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q214597']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q214597 . ?h rdf:type ontology:Q502895 }
Bellac
action filter_type
action find_reverse
entity Bellac
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Bellac']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Bellac . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q539232
SYSTEM
Did you mean Adriers ?
Q539232 Q539232 Q214597
(c(Q502895),P20,Q539232) (c(Q502895),P20,Q539232) (c(Q502895),P20,Q214597)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q539232'] [{'concept': 'Q502895'}, 'P20', 'Q539232'] [{'concept': 'Q502895'}, 'P20', 'Q214597']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q214597 . ?h rdf:type ontology:Q502895 }
Adriers Adriers Bellac
Did you mean Adriers ?
Adriers
[{'concept': 'common name'}, 'place of death', 'Adriers'] [{'concept': 'common name'}, 'place of death', 'Adriers'] [{'concept': 'common name'}, 'place of death', 'Bellac']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Bellac . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Bellac. Could you tell me the answer for that?
(c(Q502895),P20,Q214597)
Q214597
[{'concept': 'Q502895'}, 'P20', 'Q214597']
[{'concept': 'common name'}, 'place of death', 'Bellac']
[]
Q3168058 Q2958711 Q3384388
SYSTEM
Jean-Michel Lacroix, Charles Charreyron, Pierre Charreyron
Q3163773 Q2958711 Q3164274 Q16026880 Q3168058 Q3384388
(c(Q502895),P20,Q214597)
action filter_type
action find_reverse
entity Q214597
relation P20
type Q502895
[ANSWERS] have that french administrative division as place of death
[{'concept': 'Q502895'}, 'P20', 'Q214597']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q214597 . ?h rdf:type ontology:Q502895 }
Jean-Baptiste-Gédéon Charreyron Charles Charreyron Jean-Baptiste Maurat Ballange François Lafleur-Laclaudure Jean-Michel Lacroix Pierre Charreyron
Jean-Michel Lacroix, Charles Charreyron and Pierre Charreyron have that french administrative division as place of death
Jean-Michel Lacroix Charles Charreyron Pierre Charreyron
action filter_type
action find_reverse
entity Bellac
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Bellac']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Bellac . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q214597
P19
Q502895
USER
How many people were born at Bellac ?
(c(Q502895),P19,Q214597)
action count
action filter_type
action find_reverse
entity Q214597
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q214597']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:P19 resource:Q214597 . ?z rdf:type ontology:Q502895 }
Bellac
action count
action filter_type
action find_reverse
entity Bellac
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Bellac']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:place_of_birth resource:Bellac . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
14
Q2958711 Q2826984 Q309974 Q3106327 Q3172373 Q20204063 Q3384388 Q3163773 Q23933621 Q3383830 Q3102282 Q19847585 Q3289235 Q672213
(c(Q502895),P19,Q214597)
action count
action filter_type
action find_reverse
entity Q214597
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q214597']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:P19 resource:Q214597 . ?z rdf:type ontology:Q502895 }
Charles Charreyron Agnes Clancier Jean Giraudoux Gilles Laplagne Jean Grange François Rivaud Du Vignaud Pierre Charreyron Jean-Baptiste-Gédéon Charreyron Jean-François Desbordes Pierre Babaud de la Chaussade Georges Marie Jean Baptiste Berry Jean-Gabriel Périot Marcel Mocœur Anne Bouquet
14
action count
action filter_type
action find_reverse
entity Bellac
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Bellac']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:place_of_birth resource:Bellac . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28513
P20
Q502895
USER
Which people have Austria-Hungary as place of death ?
(c(Q502895),P20,Q28513)
action filter_type
action find_reverse
entity Q28513
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q28513']
SELECT DISTINCT ?i WHERE { ?i property:P20 resource:Q28513 . ?i rdf:type ontology:Q502895 }
Austria-Hungary
action filter_type
action find_reverse
entity Austria-Hungary
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Austria-Hungary']
SELECT DISTINCT ?i WHERE { ?i property:place_of_death resource:Austria-Hungary . ?i rdf:type ontology:common_name }
[]
common name
Q15730017 Q12644627 Q7412044
SYSTEM
Josef Suhrada, Vid Morpurgo, Samuel Louis Mosinger
Q15730017 Q12644627 Q7412044
(c(Q502895),P20,Q28513)
action filter_type
action find_reverse
entity Q28513
relation P20
type Q502895
[ANSWERS] have Austria-Hungary as place of death
[{'concept': 'Q502895'}, 'P20', 'Q28513']
SELECT DISTINCT ?i WHERE { ?i property:P20 resource:Q28513 . ?i rdf:type ontology:Q502895 }
Josef Suhrada Vid Morpurgo Samuel Louis Mosinger
Josef Suhrada, Vid Morpurgo and Samuel Louis Mosinger have Austria-Hungary as place of death
Josef Suhrada Vid Morpurgo Samuel Louis Mosinger
action filter_type
action find_reverse
entity Austria-Hungary
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Austria-Hungary']
SELECT DISTINCT ?i WHERE { ?i property:place_of_death resource:Austria-Hungary . ?i rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7412044
P21
Q290
USER
Which sex does that person belong to ?
(Q7412044,P21,c(Q290))
action filter_type
action find
entity Q7412044
relation P21
type Q290
['Q7412044', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q7412044 property:P21 ?w . ?w rdf:type ontology:Q290 }
Samuel Louis Mosinger
action filter_type
action find
entity Samuel Louis Mosinger
relation gender
type sex
['Samuel Louis Mosinger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Samuel_Louis_Mosinger property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q7412044
SYSTEM
Did you mean Samuel Louis Mosinger ?
Q15730017 Q12644627 Q7412044
(Q15730017,P21,c(Q290)) (Q12644627,P21,c(Q290)) (Q7412044,P21,c(Q290))
[ANSWER]
['Q15730017', 'P21', {'concept': 'Q290'}] ['Q12644627', 'P21', {'concept': 'Q290'}] ['Q7412044', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q7412044 property:P21 ?w . ?w rdf:type ontology:Q290 }
Josef Suhrada Vid Morpurgo Samuel Louis Mosinger
Did you mean Samuel Louis Mosinger ?
Samuel Louis Mosinger
['Josef Suhrada', 'gender', {'concept': 'sex'}] ['Vid Morpurgo', 'gender', {'concept': 'sex'}] ['Samuel Louis Mosinger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Samuel_Louis_Mosinger property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7412044,P21,c(Q290))
['Q7412044', 'P21', {'concept': 'Q290'}]
['Samuel Louis Mosinger', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q7412044,P21,c(Q290))
action filter_type
action find
entity Q7412044
relation P21
type Q290
That person belongs to [ANSWER]
['Q7412044', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q7412044 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Samuel Louis Mosinger
relation gender
type sex
['Samuel Louis Mosinger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Samuel_Louis_Mosinger property:gender ?w . ?w rdf:type ontology:sex }
[]