Simple Question (Direct)
Simple Question
Q981808
P47
Q20667921
USER
Which french administrative divisions share border with Salmagne ?
(Q981808,P47,c(Q20667921))
action filter_type
action find
entity Q981808
relation P47
type Q20667921
['Q981808', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q981808 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Salmagne
action filter_type
action find
entity Salmagne
relation shares border with
type type of french administrative division
['Salmagne', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Salmagne property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q16508663 Q981783 Q1159534
SYSTEM
Loisey, Erneville-aux-Bois, Lavallée
Q1159598 Q1385066 Q16508663 Q229216 Q981783 Q1159534 Q194282
(Q981808,P47,c(Q20667921))
action filter_type
action find
entity Q981808
relation P47
type Q20667921
[ANSWERS] share border with Salmagne
['Q981808', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q981808 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Nançois-sur-Ornain Tronville-en-Barrois Loisey Dagonville Erneville-aux-Bois Lavallée Cousances-lès-Triconville
Loisey, Erneville-aux-Bois and Lavallée share border with Salmagne
Loisey Erneville-aux-Bois Lavallée
action filter_type
action find
entity Salmagne
relation shares border with
type type of french administrative division
['Salmagne', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Salmagne property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16508663 Q981783 Q1159534
P47
Q20667921
USER
Which french administrative divisions have a shared border with those ones ?
(Q16508663,P47,c(Q20667921)) (Q981783,P47,c(Q20667921)) (Q1159534,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
['Q16508663', 'P47', {'concept': 'Q20667921'}] ['Q981783', 'P47', {'concept': 'Q20667921'}] ['Q1159534', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . ?r property:P47 ?q . VALUES ( ?r ) { ( resource:Q1159598 ) ( resource:Q1385066 ) ( resource:Q16508663 ) } }
Loisey Erneville-aux-Bois Lavallée
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Loisey', 'shares border with', {'concept': 'type of french administrative division'}] ['Erneville-aux-Bois', 'shares border with', {'concept': 'type of french administrative division'}] ['Lavallée', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . ?r property:shares_border_with ?q . VALUES ( ?r ) { ( resource:Nançois-sur-Ornain ) ( resource:Tronville-en-Barrois ) ( resource:Loisey ) } }
[]
type of french administrative division
Q16508663 Q1159493 Q981808
SYSTEM
Loisey, Naives-Rosières, Salmagne
Q1159594 Q1159493 Q1096966 Q1385066 Q981780 Q981808 Q1159534 Q981798 Q677241 Q723966 Q738667 Q1159598 Q59461 Q981808 Q221271 Q194282 Q375639 Q1096966 Q16508663 Q229216 Q867666 Q981808 Q659820 Q677241
(Q16508663,P47,c(Q20667921)) (Q981783,P47,c(Q20667921)) (Q1159534,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] have a shared border with those ones
['Q16508663', 'P47', {'concept': 'Q20667921'}] ['Q981783', 'P47', {'concept': 'Q20667921'}] ['Q1159534', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . ?r property:P47 ?q . VALUES ( ?r ) { ( resource:Q1159598 ) ( resource:Q1385066 ) ( resource:Q16508663 ) } }
Guerpont Naives-Rosières Géry Tronville-en-Barrois Resson Salmagne Lavallée Silmont Érize-Saint-Dizier Chonville-Malaumont Nançois-le-Grand Nançois-sur-Ornain Saint-Aubin-sur-Aire Salmagne Grimaucourt-près-Sampigny Cousances-lès-Triconville Willeroncourt Géry Loisey Dagonville Levoncourt Salmagne Lignières-sur-Aire Érize-Saint-Dizier
Loisey, Naives-Rosières and Salmagne have a shared border with those ones
Loisey Naives-Rosières Salmagne
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Loisey', 'shares border with', {'concept': 'type of french administrative division'}] ['Erneville-aux-Bois', 'shares border with', {'concept': 'type of french administrative division'}] ['Lavallée', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . ?r property:shares_border_with ?q . VALUES ( ?r ) { ( resource:Nançois-sur-Ornain ) ( resource:Tronville-en-Barrois ) ( resource:Loisey ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1159493
P19
Q502895
USER
Which person was born at that french administrative division ?
(c(Q502895),P19,Q1159493)
action filter_type
action find_reverse
entity Q1159493
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1159493']
SELECT DISTINCT ?a WHERE { ?a property:P19 resource:Q1159493 . ?a rdf:type ontology:Q502895 }
Naives-Rosières
action filter_type
action find_reverse
entity Naives-Rosières
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Naives-Rosières']
SELECT DISTINCT ?a WHERE { ?a property:place_of_birth resource:Naives-Rosières . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q16508663
SYSTEM
Did you mean Loisey ?
Q16508663 Q1159493 Q981808
(c(Q502895),P19,Q16508663) (c(Q502895),P19,Q1159493) (c(Q502895),P19,Q981808)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q16508663'] [{'concept': 'Q502895'}, 'P19', 'Q1159493'] [{'concept': 'Q502895'}, 'P19', 'Q981808']
SELECT DISTINCT ?a WHERE { ?a property:P19 resource:Q1159493 . ?a rdf:type ontology:Q502895 }
Loisey Naives-Rosières Salmagne
Did you mean Loisey ?
Loisey
[{'concept': 'common name'}, 'place of birth', 'Loisey'] [{'concept': 'common name'}, 'place of birth', 'Naives-Rosières'] [{'concept': 'common name'}, 'place of birth', 'Salmagne']
SELECT DISTINCT ?a WHERE { ?a property:place_of_birth resource:Naives-Rosières . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Naives-Rosières. Could you tell me the answer for that?
(c(Q502895),P19,Q1159493)
Q1159493
[{'concept': 'Q502895'}, 'P19', 'Q1159493']
[{'concept': 'common name'}, 'place of birth', 'Naives-Rosières']
[]
Q3166146
SYSTEM
Jean-Ignace Jacqueminot
Q3166146
(c(Q502895),P19,Q1159493)
action filter_type
action find_reverse
entity Q1159493
relation P19
type Q502895
[ANSWER] was born at that french administrative division
[{'concept': 'Q502895'}, 'P19', 'Q1159493']
SELECT DISTINCT ?a WHERE { ?a property:P19 resource:Q1159493 . ?a rdf:type ontology:Q502895 }
Jean-Ignace Jacqueminot
Jean-Ignace Jacqueminot was born at that french administrative division
Jean-Ignace Jacqueminot
action filter_type
action find_reverse
entity Naives-Rosières
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Naives-Rosières']
SELECT DISTINCT ?a WHERE { ?a property:place_of_birth resource:Naives-Rosières . ?a rdf:type ontology:common_name }
[]