Simple Question (Direct)
Simple Question
Q1233885
P1376
Q20667921
USER
Which french administrative division has Malicorne-sur-Sarthe has its first city ?
(Q1233885,P1376,c(Q20667921))
action filter_type
action find
entity Q1233885
relation P1376
type Q20667921
['Q1233885', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . resource:Q1233885 property:P1376 ?e }
Malicorne-sur-Sarthe
action filter_type
action find
entity Malicorne-sur-Sarthe
relation capital of
type type of french administrative division
['Malicorne-sur-Sarthe', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . resource:Malicorne-sur-Sarthe property:capital_of ?e }
[]
type of french administrative division
Q1726048
SYSTEM
canton of Malicorne-sur-Sarthe
Q1726048
(Q1233885,P1376,c(Q20667921))
action filter_type
action find
entity Q1233885
relation P1376
type Q20667921
The [ANSWER] has Malicorne-sur-Sarthe has its first city
['Q1233885', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . resource:Q1233885 property:P1376 ?e }
canton of Malicorne-sur-Sarthe
The canton of Malicorne-sur-Sarthe has Malicorne-sur-Sarthe has its first city
canton of Malicorne-sur-Sarthe
action filter_type
action find
entity Malicorne-sur-Sarthe
relation capital of
type type of french administrative division
['Malicorne-sur-Sarthe', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . resource:Malicorne-sur-Sarthe property:capital_of ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1233885
P47
Q20667921
USER
How many french administrative divisions are adjacent to Malicorne-sur-Sarthe ?
(Q1233885,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1233885
relation P47
type Q20667921
['Q1233885', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q1233885 property:P47 ?l . ?l rdf:type ontology:Q20667921 }
Malicorne-sur-Sarthe
action count
action filter_type
action find
entity Malicorne-sur-Sarthe
relation shares border with
type type of french administrative division
['Malicorne-sur-Sarthe', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Malicorne-sur-Sarthe property:shares_border_with ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
7
Q549943 Q643756 Q1222978 Q645339 Q1226714 Q912273 Q640794
(Q1233885,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1233885
relation P47
type Q20667921
[ANSWER]
['Q1233885', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q1233885 property:P47 ?l . ?l rdf:type ontology:Q20667921 }
Dureil Bousse, Sarthe Courcelles-la-Forêt Arthezé Mézeray Parcé-sur-Sarthe Noyen-sur-Sarthe
7
action count
action filter_type
action find
entity Malicorne-sur-Sarthe
relation shares border with
type type of french administrative division
['Malicorne-sur-Sarthe', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Malicorne-sur-Sarthe property:shares_border_with ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1233885
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
action filter_type
action find
entity Q1233885
relation P47
type Q20667921
SELECT DISTINCT ?n WHERE { resource:Q1233885 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Malicorne-sur-Sarthe
action filter_type
action find
entity Malicorne-sur-Sarthe
relation shares border with
type type of french administrative division
SELECT DISTINCT ?n WHERE { resource:Malicorne-sur-Sarthe property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q912273 Q643756 Q640794
SYSTEM
Parcé-sur-Sarthe, Bousse, Sarthe, Noyen-sur-Sarthe
Q549943 Q643756 Q640794 Q645339 Q1226714 Q912273 Q1222978
action filter_type
action find
entity Q1233885
relation P47
type Q20667921
[ANSWERS] are bordered by that one
SELECT DISTINCT ?n WHERE { resource:Q1233885 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Dureil Bousse, Sarthe Noyen-sur-Sarthe Arthezé Mézeray Parcé-sur-Sarthe Courcelles-la-Forêt
Parcé-sur-Sarthe, Bousse, Sarthe and Noyen-sur-Sarthe are bordered by that one
Parcé-sur-Sarthe Bousse, Sarthe Noyen-sur-Sarthe
action filter_type
action find
entity Malicorne-sur-Sarthe
relation shares border with
type type of french administrative division
SELECT DISTINCT ?n WHERE { resource:Malicorne-sur-Sarthe property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1233885
P47
Q20667921
USER
Are Malicorne-sur-Sarthe next to the border of those ones ?
(Q1233885,P47,Q912273) (Q1233885,P47,Q643756) (Q1233885,P47,Q640794)
action is_in
entity prev_answer
action find
entity Q1233885
relation P47
['Q1233885', 'P47', 'Q912273'] ['Q1233885', 'P47', 'Q643756'] ['Q1233885', 'P47', 'Q640794']
ASK WHERE { resource:Q1233885 property:P47 ?e . VALUES ( ?e ) { ( resource:Q549943 ) ( resource:Q643756 ) ( resource:Q640794 ) } }
Malicorne-sur-Sarthe
action is_in
entity prev_answer
action find
entity Malicorne-sur-Sarthe
relation shares border with
['Malicorne-sur-Sarthe', 'shares border with', 'Parcé-sur-Sarthe'] ['Malicorne-sur-Sarthe', 'shares border with', 'Bousse, Sarthe'] ['Malicorne-sur-Sarthe', 'shares border with', 'Noyen-sur-Sarthe']
ASK WHERE { resource:Malicorne-sur-Sarthe property:shares_border_with ?e . VALUES ( ?e ) { ( resource:Dureil ) ( resource:Bousse,_Sarthe ) ( resource:Noyen-sur-Sarthe ) } }
[]
type of french administrative division
SYSTEM
YES
(Q1233885,P47,Q912273) (Q1233885,P47,Q643756) (Q1233885,P47,Q640794)
action is_in
entity prev_answer
action find
entity Q1233885
relation P47
[ANSWER]
['Q1233885', 'P47', 'Q912273'] ['Q1233885', 'P47', 'Q643756'] ['Q1233885', 'P47', 'Q640794']
ASK WHERE { resource:Q1233885 property:P47 ?e . VALUES ( ?e ) { ( resource:Q549943 ) ( resource:Q643756 ) ( resource:Q640794 ) } }
Yes
action is_in
entity prev_answer
action find
entity Malicorne-sur-Sarthe
relation shares border with
['Malicorne-sur-Sarthe', 'shares border with', 'Parcé-sur-Sarthe'] ['Malicorne-sur-Sarthe', 'shares border with', 'Bousse, Sarthe'] ['Malicorne-sur-Sarthe', 'shares border with', 'Noyen-sur-Sarthe']
ASK WHERE { resource:Malicorne-sur-Sarthe property:shares_border_with ?e . VALUES ( ?e ) { ( resource:Dureil ) ( resource:Bousse,_Sarthe ) ( resource:Noyen-sur-Sarthe ) } }
[]