Simple Question (Direct)
Simple Question
Q1017601
P47
Q20667921
USER
Who share the border with Valbelle ?
(Q1017601,P47,c(Q20667921))
action filter_type
action find
entity Q1017601
relation P47
type Q20667921
['Q1017601', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q1017601 property:P47 ?i . ?i rdf:type ontology:Q20667921 }
Valbelle
action filter_type
action find
entity Valbelle
relation shares border with
type type of french administrative division
['Valbelle', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Valbelle property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q271085 Q990107 Q326003
SYSTEM
Sisteron, Noyers-sur-Jabron, Aubignosc
Q271085 Q845285 Q867232 Q990107 Q383608 Q326003 Q1018627 Q865554
(Q1017601,P47,c(Q20667921))
action filter_type
action find
entity Q1017601
relation P47
type Q20667921
[ANSWERS] share the border with Valbelle
['Q1017601', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q1017601 property:P47 ?i . ?i rdf:type ontology:Q20667921 }
Sisteron Châteauneuf-Val-Saint-Donat Bevons Noyers-sur-Jabron Peipin Aubignosc Mallefougasse-Augès Cruis
Sisteron, Noyers-sur-Jabron and Aubignosc share the border with Valbelle
Sisteron Noyers-sur-Jabron Aubignosc
action filter_type
action find
entity Valbelle
relation shares border with
type type of french administrative division
['Valbelle', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Valbelle property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q271085 Q990107 Q326003
P47
Q20667921
USER
Which french administrative divisions do those ones share a border with ?
(c(Q20667921),P47,Q271085) (c(Q20667921),P47,Q990107) (c(Q20667921),P47,Q326003)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q271085'] [{'concept': 'Q20667921'}, 'P47', 'Q990107'] [{'concept': 'Q20667921'}, 'P47', 'Q326003']
SELECT DISTINCT ?m WHERE { VALUES ( ?g ) { ( resource:Q271085 ) ( resource:Q845285 ) ( resource:Q867232 ) } . ?g property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Sisteron Noyers-sur-Jabron Aubignosc
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', 'Sisteron'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Noyers-sur-Jabron'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Aubignosc']
SELECT DISTINCT ?m WHERE { VALUES ( ?g ) { ( resource:Sisteron ) ( resource:Châteauneuf-Val-Saint-Donat ) ( resource:Bevons ) } . ?g property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1017601 Q1087812 Q1016716
SYSTEM
Valbelle, Éourres, Saint-Étienne-les-Orgues
Q21294455 Q383608 Q936984 Q867232 Q1087584 Q1018593 Q1017601 Q1016938 Q1340843 Q21294455 Q867232 Q865554 Q1017598 Q1087812 Q1016716 Q1017601 Q1340843 Q383608 Q845285 Q326027 Q320205 Q279466 Q1017601
(c(Q20667921),P47,Q271085) (c(Q20667921),P47,Q990107) (c(Q20667921),P47,Q326003)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] those ones share a border with
[{'concept': 'Q20667921'}, 'P47', 'Q271085'] [{'concept': 'Q20667921'}, 'P47', 'Q990107'] [{'concept': 'Q20667921'}, 'P47', 'Q326003']
SELECT DISTINCT ?m WHERE { VALUES ( ?g ) { ( resource:Q271085 ) ( resource:Q845285 ) ( resource:Q867232 ) } . ?g property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Val-Buëch-Méouge Peipin Mison Bevons Le Poët Entrepierres Valbelle Valernes Ribiers Val-Buëch-Méouge Bevons Cruis Saint-Vincent-sur-Jabron Éourres Saint-Étienne-les-Orgues Valbelle Ribiers Peipin Châteauneuf-Val-Saint-Donat Volonne Château-Arnoux-Saint-Auban Salignac Valbelle
Valbelle, Éourres and Saint-Étienne-les-Orgues those ones share a border with
Valbelle Éourres Saint-Étienne-les-Orgues
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', 'Sisteron'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Noyers-sur-Jabron'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Aubignosc']
SELECT DISTINCT ?m WHERE { VALUES ( ?g ) { ( resource:Sisteron ) ( resource:Châteauneuf-Val-Saint-Donat ) ( resource:Bevons ) } . ?g property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1017601 Q1087812 Q1016716
P17
Q15617994
USER
Which administrative territories do Valbelle, Éourres and Saint-Étienne-les-Orgues belong to ?
(Q1017601,P17,c(Q15617994)) (Q1087812,P17,c(Q15617994)) (Q1016716,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1017601
relation P17
type Q15617994
action filter_type
action find
entity Q1087812
relation P17
type Q15617994
action filter_type
action find
entity Q1016716
relation P17
type Q15617994
['Q1017601', 'P17', {'concept': 'Q15617994'}] ['Q1087812', 'P17', {'concept': 'Q15617994'}] ['Q1016716', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?v ) { ( resource:Q1017601 ) ( resource:Q1087812 ) } . ?v property:P17 ?n }
Valbelle Éourres Saint-Étienne-les-Orgues
action union
action filter_type
action find
entity Valbelle
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Éourres
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Étienne-les-Orgues
relation country
type designation for an administrative territorial entity
['Valbelle', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Éourres', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Étienne-les-Orgues', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?v ) { ( resource:Valbelle ) ( resource:Éourres ) } . ?v property:country ?n }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q1017601,P17,c(Q15617994)) (Q1087812,P17,c(Q15617994)) (Q1016716,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1017601
relation P17
type Q15617994
action filter_type
action find
entity Q1087812
relation P17
type Q15617994
action filter_type
action find
entity Q1016716
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] Valbelle, Éourres and Saint-Étienne-les-Orgues belong to
['Q1017601', 'P17', {'concept': 'Q15617994'}] ['Q1087812', 'P17', {'concept': 'Q15617994'}] ['Q1016716', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?v ) { ( resource:Q1017601 ) ( resource:Q1087812 ) } . ?v property:P17 ?n }
France France France
France, France and France Valbelle, Éourres and Saint-Étienne-les-Orgues belong to
France France France
action union
action filter_type
action find
entity Valbelle
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Éourres
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Étienne-les-Orgues
relation country
type designation for an administrative territorial entity
['Valbelle', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Éourres', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Étienne-les-Orgues', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?v ) { ( resource:Valbelle ) ( resource:Éourres ) } . ?v property:country ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1017601
P190
Q15617994
USER
Which administrative territory is a sister city of Valbelle ?
(c(Q15617994),P190,Q1017601)
action filter_type
action find
entity Q1017601
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q1017601']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1017601 property:P190 ?o }
Valbelle
action filter_type
action find
entity Valbelle
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Valbelle']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Valbelle property:sister_city ?o }
[]
designation for an administrative territorial entity
Q39088
SYSTEM
Montesegale
Q39088
(c(Q15617994),P190,Q1017601)
action filter_type
action find
entity Q1017601
relation P190
type Q15617994
[ANSWER] is a sister city of Valbelle
[{'concept': 'Q15617994'}, 'P190', 'Q1017601']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1017601 property:P190 ?o }
Montesegale
Montesegale is a sister city of Valbelle
Montesegale
action filter_type
action find
entity Valbelle
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Valbelle']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Valbelle property:sister_city ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P138
Q271669
USER
Which landform has France as its toponym ?
(c(Q271669),P138,Q142)
action filter_type
action find_reverse
entity Q142
relation P138
type Q271669
[{'concept': 'Q271669'}, 'P138', 'Q142']
SELECT DISTINCT ?f WHERE { ?f property:P138 resource:Q142 . ?f rdf:type ontology:Q271669 }
France
action filter_type
action find_reverse
entity France
relation named after
type landform
[{'concept': 'landform'}, 'named after', 'France']
SELECT DISTINCT ?f WHERE { ?f property:named_after resource:France . ?f rdf:type ontology:landform }
[]
landform
Q2274406
SYSTEM
île de France
Q2274406
(c(Q271669),P138,Q142)
action filter_type
action find_reverse
entity Q142
relation P138
type Q271669
' [ANSWER] has France as its toponym
[{'concept': 'Q271669'}, 'P138', 'Q142']
SELECT DISTINCT ?f WHERE { ?f property:P138 resource:Q142 . ?f rdf:type ontology:Q271669 }
île de France
' île de France has France as its toponym
île de France
action filter_type
action find_reverse
entity France
relation named after
type landform
[{'concept': 'landform'}, 'named after', 'France']
SELECT DISTINCT ?f WHERE { ?f property:named_after resource:France . ?f rdf:type ontology:landform }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P610
Q14524493
USER
What is the highest point of France ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:France property:highest_point ?y . ?y 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
The highest point of France is the [ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Mont Blanc
The highest point of France is the Mont Blanc
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:France property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P194
Q1752346
USER
Which assembly represents France ?
(Q142,P194,c(Q1752346))
action filter_type
action find
entity Q142
relation P194
type Q1752346
['Q142', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?x WHERE { resource:Q142 property:P194 ?x . ?x rdf:type ontology:Q1752346 }
France
action filter_type
action find
entity France
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?x WHERE { resource:France property:legislative_body ?x . ?x rdf:type ontology:assembly }
[]
assembly
Q632552
SYSTEM
French Parliament
Q632552
(Q142,P194,c(Q1752346))
action filter_type
action find
entity Q142
relation P194
type Q1752346
France [ANSWER] represents France
['Q142', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?x WHERE { resource:Q142 property:P194 ?x . ?x rdf:type ontology:Q1752346 }
French Parliament
France French Parliament represents France
French Parliament
action filter_type
action find
entity France
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?x WHERE { resource:France property:legislative_body ?x . ?x rdf:type ontology:assembly }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13896
Q1752346
USER
And also tell me about Markgröningen?
(Q13896,P194,c(Q1752346))
action filter_type
action find
entity Q13896
relation P194
type Q1752346
['Q13896', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?r WHERE { resource:Q13896 property:P194 ?r . ?r rdf:type ontology:Q1752346 }
Markgröningen
action filter_type
action find
entity Markgröningen
relation legislative body
type assembly
['Markgröningen', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?r WHERE { resource:Markgröningen property:legislative_body ?r . ?r rdf:type ontology:assembly }
[]
assembly
Q701632
SYSTEM
municipal council
Q701632
(Q13896,P194,c(Q1752346))
action filter_type
action find
entity Q13896
relation P194
type Q1752346
[ANSWER]
['Q13896', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?r WHERE { resource:Q13896 property:P194 ?r . ?r rdf:type ontology:Q1752346 }
municipal council
municipal council
action filter_type
action find
entity Markgröningen
relation legislative body
type assembly
['Markgröningen', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?r WHERE { resource:Markgröningen property:legislative_body ?r . ?r rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q271085 Q6874
P190
Q15617994
USER
How many administrative territories are twin city of Sisteron or Rastatt ?
(c(Q15617994),P190,Q271085) (c(Q15617994),P190,Q6874)
action count
action union
action filter_type
action find_reverse
entity Q271085
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q6874
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q271085'] [{'concept': 'Q15617994'}, 'P190', 'Q6874']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P190 ?w . VALUES ( ?w ) { ( resource:Q6874 ) ( resource:Q271085 ) } }
Sisteron Rastatt
action count
action union
action filter_type
action find_reverse
entity Sisteron
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Rastatt
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Sisteron'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Rastatt']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:sister_city ?w . VALUES ( ?w ) { ( resource:Rastatt ) ( resource:Sisteron ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q13142 Q100811
(c(Q15617994),P190,Q271085) (c(Q15617994),P190,Q6874)
action count
action union
action filter_type
action find_reverse
entity Q271085
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q6874
relation P190
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q271085'] [{'concept': 'Q15617994'}, 'P190', 'Q6874']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P190 ?w . VALUES ( ?w ) { ( resource:Q6874 ) ( resource:Q271085 ) } }
Fano Fidenza
2
action count
action union
action filter_type
action find_reverse
entity Sisteron
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Rastatt
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Sisteron'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Rastatt']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:sister_city ?w . VALUES ( ?w ) { ( resource:Rastatt ) ( resource:Sisteron ) } }
[]