Simple Question (Direct)
Simple Question
Q2670176
P22
Q502895
USER
Which person was the father of Stephen, Count of Tréguier ?
(Q2670176,P22,c(Q502895))
action filter_type
action find
entity Q2670176
relation P22
type Q502895
['Q2670176', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2670176 property:P22 ?d . ?d rdf:type ontology:Q502895 }
Stephen, Count of Tréguier
action filter_type
action find
entity Stephen, Count of Tréguier
relation father
type common name
['Stephen, Count of Tréguier', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Stephen,_Count_of_Tréguier property:father ?d . ?d rdf:type ontology:common_name }
[]
common name
Q2441684
SYSTEM
Odo, Count of Penthièvre
Q2441684
(Q2670176,P22,c(Q502895))
action filter_type
action find
entity Q2670176
relation P22
type Q502895
[ANSWER] was the father of Stephen, Count of Tréguier
['Q2670176', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2670176 property:P22 ?d . ?d rdf:type ontology:Q502895 }
Odo, Count of Penthièvre
Odo, Count of Penthièvre was the father of Stephen, Count of Tréguier
Odo, Count of Penthièvre
action filter_type
action find
entity Stephen, Count of Tréguier
relation father
type common name
['Stephen, Count of Tréguier', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Stephen,_Count_of_Tréguier property:father ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2670176
P40
Q502895
USER
Who has Stephen, Count of Tréguier as an offspring ?
(c(Q502895),P40,Q2670176)
action filter_type
action find_reverse
entity Q2670176
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2670176']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q2670176 . ?l rdf:type ontology:Q502895 }
Stephen, Count of Tréguier
action filter_type
action find_reverse
entity Stephen, Count of Tréguier
relation child
type common name
[{'concept': 'common name'}, 'child', 'Stephen, Count of Tréguier']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Stephen,_Count_of_Tréguier . ?l rdf:type ontology:common_name }
[]
common name
Q2441684
SYSTEM
Odo, Count of Penthièvre
Q2441684
(c(Q502895),P40,Q2670176)
action filter_type
action find_reverse
entity Q2670176
relation P40
type Q502895
[ANSWER] has Stephen, Count of Tréguier as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q2670176']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q2670176 . ?l rdf:type ontology:Q502895 }
Odo, Count of Penthièvre
Odo, Count of Penthièvre has Stephen, Count of Tréguier as an offspring
Odo, Count of Penthièvre
action filter_type
action find_reverse
entity Stephen, Count of Tréguier
relation child
type common name
[{'concept': 'common name'}, 'child', 'Stephen, Count of Tréguier']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Stephen,_Count_of_Tréguier . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2441684
P7
Q502895
USER
Which person had that one as brother ?
(c(Q502895),P7,Q2441684)
action filter_type
action find
entity Q2441684
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2441684']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q2441684 property:P7 ?a }
Odo, Count of Penthièvre
action filter_type
action find
entity Odo, Count of Penthièvre
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Odo, Count of Penthièvre']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Odo,_Count_of_Penthièvre property:brother ?a }
[]
common name
Q465203
SYSTEM
Alan III, Duke of Brittany
Q465203
(c(Q502895),P7,Q2441684)
action filter_type
action find
entity Q2441684
relation P7
type Q502895
[ANSWER] had that one as brother
[{'concept': 'Q502895'}, 'P7', 'Q2441684']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q2441684 property:P7 ?a }
Alan III, Duke of Brittany
Alan III, Duke of Brittany had that one as brother
Alan III, Duke of Brittany
action filter_type
action find
entity Odo, Count of Penthièvre
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Odo, Count of Penthièvre']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Odo,_Count_of_Penthièvre property:brother ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q465203
P20
Q20667921
USER
Where did the demise of that person occur ?
(Q465203,P20,c(Q20667921))
action filter_type
action find
entity Q465203
relation P20
type Q20667921
['Q465203', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q465203 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
Alan III, Duke of Brittany
action filter_type
action find
entity Alan III, Duke of Brittany
relation place of death
type type of french administrative division
['Alan III, Duke of Brittany', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Alan_III,_Duke_of_Brittany property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q729239
SYSTEM
Vimoutiers
Q729239
(Q465203,P20,c(Q20667921))
action filter_type
action find
entity Q465203
relation P20
type Q20667921
The demise of that person occurred at [ANSWER]
['Q465203', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q465203 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
Vimoutiers
The demise of that person occurred at Vimoutiers
Vimoutiers
action filter_type
action find
entity Alan III, Duke of Brittany
relation place of death
type type of french administrative division
['Alan III, Duke of Brittany', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Alan_III,_Duke_of_Brittany property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q729239 Q142
P17
Q15617994
USER
Does that french administrative division belong to France ?
(Q729239,P17,Q142)
action is_in
entity Q142
action find
entity Q729239
relation P17
['Q729239', 'P17', 'Q142']
ASK WHERE { resource:Q729239 property:P17 resource:Q142 }
Vimoutiers France
action is_in
entity France
action find
entity Vimoutiers
relation country
['Vimoutiers', 'country', 'France']
ASK WHERE { resource:Vimoutiers property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q729239,P17,Q142)
action is_in
entity Q142
action find
entity Q729239
relation P17
[ANSWER]
['Q729239', 'P17', 'Q142']
ASK WHERE { resource:Q729239 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Vimoutiers
relation country
['Vimoutiers', 'country', 'France']
ASK WHERE { resource:Vimoutiers property:country resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q729239
P138
Q34442
USER
Which road has that french administrative division as its namesake ?
action filter_type
action find_reverse
entity Q729239
relation P138
type Q34442
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q729239 . ?t rdf:type ontology:Q34442 }
Vimoutiers
action filter_type
action find_reverse
entity Vimoutiers
relation named after
type road
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Vimoutiers . ?t rdf:type ontology:road }
[]
road
Q3451136
SYSTEM
rue de Vimoutiers
Q3451136
action filter_type
action find_reverse
entity Q729239
relation P138
type Q34442
[ANSWER] has that french administrative division as its namesake
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q729239 . ?t rdf:type ontology:Q34442 }
rue de Vimoutiers
Rue de Vimoutiers has that french administrative division as its namesake
rue de Vimoutiers
action filter_type
action find_reverse
entity Vimoutiers
relation named after
type road
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Vimoutiers . ?t rdf:type ontology:road }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P559
Q56061 Q34442
USER
Which administrative territories are the terminus for atleast 1 road ?
(c(Q34442),P559,c(Q56061))
action atleast
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
value 1
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { ?a rdf:type ontology:Q56061 . ?h rdf:type ontology:Q34442 . ?h property:P559 ?a } GROUP BY ?a } . FILTER ( ?e >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
value 1
[{'concept': 'road'}, 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:road . ?h property:terminus ?a } GROUP BY ?a } . FILTER ( ?e >= 1 ) }
[]
administrative territorial entity road
Q3812238 Q5032535
SYSTEM
Bronygarth, Cann River
Q3812238 Q5032535
(c(Q34442),P559,c(Q56061))
action atleast
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
value 1
[ANSWERS] are the terminus for atleast 1 road
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { ?a rdf:type ontology:Q56061 . ?h rdf:type ontology:Q34442 . ?h property:P559 ?a } GROUP BY ?a } . FILTER ( ?e >= 1 ) }
Bronygarth Cann River
Bronygarth and Cann River are the terminus for atleast 1 road
Bronygarth Cann River
action atleast
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
value 1
[{'concept': 'road'}, 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:road . ?h property:terminus ?a } GROUP BY ?a } . FILTER ( ?e >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q729239
P1376
Q20667921
USER
Which french administrative division has Vimoutiers as its county seat ?
(Q729239,P1376,c(Q20667921))
action filter_type
action find
entity Q729239
relation P1376
type Q20667921
['Q729239', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q729239 property:P1376 ?j . ?j rdf:type ontology:Q20667921 }
Vimoutiers
action filter_type
action find
entity Vimoutiers
relation capital of
type type of french administrative division
['Vimoutiers', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Vimoutiers property:capital_of ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1727932
SYSTEM
canton of Vimoutiers
Q1727932
(Q729239,P1376,c(Q20667921))
action filter_type
action find
entity Q729239
relation P1376
type Q20667921
The [ANSWER] has Vimoutiers as its county seat
['Q729239', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q729239 property:P1376 ?j . ?j rdf:type ontology:Q20667921 }
canton of Vimoutiers
The canton of Vimoutiers has Vimoutiers as its county seat
canton of Vimoutiers
action filter_type
action find
entity Vimoutiers
relation capital of
type type of french administrative division
['Vimoutiers', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Vimoutiers property:capital_of ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1727932
P36
Q20667921
USER
What is the capital of that one ?
(Q1727932,P36,c(Q20667921))
action filter_type
action find
entity Q1727932
relation P36
type Q20667921
['Q1727932', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q1727932 property:P36 ?q . ?q rdf:type ontology:Q20667921 }
canton of Vimoutiers
action filter_type
action find
entity canton of Vimoutiers
relation capital
type type of french administrative division
['canton of Vimoutiers', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:canton_of_Vimoutiers property:capital ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q729239
SYSTEM
Vimoutiers
Q729239
(Q1727932,P36,c(Q20667921))
action filter_type
action find
entity Q1727932
relation P36
type Q20667921
The capital of that one is the [ANSWER]
['Q1727932', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q1727932 property:P36 ?q . ?q rdf:type ontology:Q20667921 }
Vimoutiers
The capital of that one is the Vimoutiers
Vimoutiers
action filter_type
action find
entity canton of Vimoutiers
relation capital
type type of french administrative division
['canton of Vimoutiers', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:canton_of_Vimoutiers property:capital ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q729239
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(Q729239,P47,c(Q20667921))
action filter_type
action find
entity Q729239
relation P47
type Q20667921
['Q729239', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q729239 property:P47 ?e . ?e rdf:type ontology:Q20667921 }
Vimoutiers
action filter_type
action find
entity Vimoutiers
relation shares border with
type type of french administrative division
['Vimoutiers', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Vimoutiers property:shares_border_with ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1013603 Q1095057 Q217077
SYSTEM
Lisores, Crouttes, Camembert
Q1013603 Q1347297 Q251209 Q248824 Q324055 Q217077 Q1095057 Q1347071
(Q729239,P47,c(Q20667921))
action filter_type
action find
entity Q729239
relation P47
type Q20667921
[ANSWERS] are bordered by that one
['Q729239', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q729239 property:P47 ?e . ?e rdf:type ontology:Q20667921 }
Lisores Canapville Ticheville Pontchardon Saint-Germain-de-Montgommery Camembert Crouttes Guerquesalles
Lisores, Crouttes and Camembert are bordered by that one
Lisores Crouttes Camembert
action filter_type
action find
entity Vimoutiers
relation shares border with
type type of french administrative division
['Vimoutiers', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Vimoutiers property:shares_border_with ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q729239
P47
Q20667921
USER
Do those ones share a border with Vimoutiers ?
(Q729239,P47,Q1013603) (Q729239,P47,Q1095057) (Q729239,P47,Q217077)
action is_in
entity prev_answer
action find
entity Q729239
relation P47
['Q729239', 'P47', 'Q1013603'] ['Q729239', 'P47', 'Q1095057'] ['Q729239', 'P47', 'Q217077']
ASK WHERE { resource:Q729239 property:P47 ?e . VALUES ( ?e ) { ( resource:Q1013603 ) ( resource:Q1347297 ) ( resource:Q251209 ) } }
Vimoutiers
action is_in
entity prev_answer
action find
entity Vimoutiers
relation shares border with
['Vimoutiers', 'shares border with', 'Lisores'] ['Vimoutiers', 'shares border with', 'Crouttes'] ['Vimoutiers', 'shares border with', 'Camembert']
ASK WHERE { resource:Vimoutiers property:shares_border_with ?e . VALUES ( ?e ) { ( resource:Lisores ) ( resource:Canapville ) ( resource:Ticheville ) } }
[]
type of french administrative division
SYSTEM
YES
(Q729239,P47,Q1013603) (Q729239,P47,Q1095057) (Q729239,P47,Q217077)
action is_in
entity prev_answer
action find
entity Q729239
relation P47
[ANSWER]
['Q729239', 'P47', 'Q1013603'] ['Q729239', 'P47', 'Q1095057'] ['Q729239', 'P47', 'Q217077']
ASK WHERE { resource:Q729239 property:P47 ?e . VALUES ( ?e ) { ( resource:Q1013603 ) ( resource:Q1347297 ) ( resource:Q251209 ) } }
Yes
action is_in
entity prev_answer
action find
entity Vimoutiers
relation shares border with
['Vimoutiers', 'shares border with', 'Lisores'] ['Vimoutiers', 'shares border with', 'Crouttes'] ['Vimoutiers', 'shares border with', 'Camembert']
ASK WHERE { resource:Vimoutiers property:shares_border_with ?e . VALUES ( ?e ) { ( resource:Lisores ) ( resource:Canapville ) ( resource:Ticheville ) } }
[]