Simple Question (Direct)
Simple Question
Q16237681
P20
Q20667921
USER
Where did Roger Veillard die ?
(Q16237681,P20,c(Q20667921))
action filter_type
action find
entity Q16237681
relation P20
type Q20667921
['Q16237681', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q16237681 property:P20 ?z . ?z rdf:type ontology:Q20667921 }
Roger Veillard
action filter_type
action find
entity Roger Veillard
relation place of death
type type of french administrative division
['Roger Veillard', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Roger_Veillard property:place_of_death ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q831444
SYSTEM
Duravel
Q831444
(Q16237681,P20,c(Q20667921))
action filter_type
action find
entity Q16237681
relation P20
type Q20667921
Roger Veillard died at [ANSWER]
['Q16237681', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q16237681 property:P20 ?z . ?z rdf:type ontology:Q20667921 }
Duravel
Roger Veillard died at Duravel
Duravel
action filter_type
action find
entity Roger Veillard
relation place of death
type type of french administrative division
['Roger Veillard', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Roger_Veillard property:place_of_death ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q831444
P47
Q20667921
USER
Which french administrative divisions share border with that one ?
(Q831444,P47,c(Q20667921))
action filter_type
action find
entity Q831444
relation P47
type Q20667921
['Q831444', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q831444 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Duravel
action filter_type
action find
entity Duravel
relation shares border with
type type of french administrative division
['Duravel', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Duravel property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q135478 Q1329124 Q950432
SYSTEM
Puy-l'Évêque, Soturac, Montcabrier
Q135478 Q1329124 Q950432 Q1382527 Q1361061 Q922210
(Q831444,P47,c(Q20667921))
action filter_type
action find
entity Q831444
relation P47
type Q20667921
[ANSWERS] share border with that one
['Q831444', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q831444 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Puy-l'Évêque Soturac Montcabrier Touzac Saint-Martin-le-Redon Vire-sur-Lot
Puy-l'Évêque, Soturac and Montcabrier share border with that one
Puy-l'Évêque Soturac Montcabrier
action filter_type
action find
entity Duravel
relation shares border with
type type of french administrative division
['Duravel', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Duravel property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q831444
P47
Q20667921
USER
Does Duravel share border with those ones ?
(Q831444,P47,Q135478) (Q831444,P47,Q1329124) (Q831444,P47,Q950432)
action is_in
entity prev_answer
action find
entity Q831444
relation P47
['Q831444', 'P47', 'Q135478'] ['Q831444', 'P47', 'Q1329124'] ['Q831444', 'P47', 'Q950432']
ASK WHERE { resource:Q831444 property:P47 ?m . VALUES ( ?m ) { ( resource:Q135478 ) ( resource:Q1329124 ) ( resource:Q950432 ) } }
Duravel
action is_in
entity prev_answer
action find
entity Duravel
relation shares border with
['Duravel', 'shares border with', "Puy-l'Évêque"] ['Duravel', 'shares border with', 'Soturac'] ['Duravel', 'shares border with', 'Montcabrier']
ASK WHERE { resource:Duravel property:shares_border_with ?m . VALUES ( ?m ) { ( resource:Puy-l'Évêque ) ( resource:Soturac ) ( resource:Montcabrier ) } }
[]
type of french administrative division
SYSTEM
YES
(Q831444,P47,Q135478) (Q831444,P47,Q1329124) (Q831444,P47,Q950432)
action is_in
entity prev_answer
action find
entity Q831444
relation P47
[ANSWER]
['Q831444', 'P47', 'Q135478'] ['Q831444', 'P47', 'Q1329124'] ['Q831444', 'P47', 'Q950432']
ASK WHERE { resource:Q831444 property:P47 ?m . VALUES ( ?m ) { ( resource:Q135478 ) ( resource:Q1329124 ) ( resource:Q950432 ) } }
Yes
action is_in
entity prev_answer
action find
entity Duravel
relation shares border with
['Duravel', 'shares border with', "Puy-l'Évêque"] ['Duravel', 'shares border with', 'Soturac'] ['Duravel', 'shares border with', 'Montcabrier']
ASK WHERE { resource:Duravel property:shares_border_with ?m . VALUES ( ?m ) { ( resource:Puy-l'Évêque ) ( resource:Soturac ) ( resource:Montcabrier ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16237681 Q142
P27
Q15617994
USER
Is France the native country of Roger Veillard ?
(Q16237681,P27,Q142)
action is_in
entity Q142
action find
entity Q16237681
relation P27
['Q16237681', 'P27', 'Q142']
ASK WHERE { resource:Q16237681 property:P27 resource:Q142 }
Roger Veillard France
action is_in
entity France
action find
entity Roger Veillard
relation country of citizenship
['Roger Veillard', 'country of citizenship', 'France']
ASK WHERE { resource:Roger_Veillard property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16237681,P27,Q142)
action is_in
entity Q142
action find
entity Q16237681
relation P27
[ANSWER]
['Q16237681', 'P27', 'Q142']
ASK WHERE { resource:Q16237681 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Roger Veillard
relation country of citizenship
['Roger Veillard', 'country of citizenship', 'France']
ASK WHERE { resource:Roger_Veillard property:country_of_citizenship resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16237681
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q16237681
relation P21
type Q290
SELECT DISTINCT ?m WHERE { resource:Q16237681 property:P21 ?m . ?m rdf:type ontology:Q290 }
Roger Veillard
action filter_type
action find
entity Roger Veillard
relation gender
type sex
SELECT DISTINCT ?m WHERE { resource:Roger_Veillard property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q16237681
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?m WHERE { resource:Q16237681 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Roger Veillard
relation gender
type sex
SELECT DISTINCT ?m WHERE { resource:Roger_Veillard property:gender ?m . ?m rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q11596502
P21
Q502895
USER
Does Masao Inagaki have the gender as that sex ?
(Q11596502,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11596502
relation P21
['Q11596502', 'P21', 'Q6581097']
ASK WHERE { resource:Q11596502 property:P21 resource:Q6581097 }
male Masao Inagaki
action is_in
entity male
action find
entity Masao Inagaki
relation gender
['Masao Inagaki', 'gender', 'male']
ASK WHERE { resource:Masao_Inagaki property:gender resource:male }
[]
common name
SYSTEM
YES
(Q11596502,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11596502
relation P21
[ANSWER]
['Q11596502', 'P21', 'Q6581097']
ASK WHERE { resource:Q11596502 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Masao Inagaki
relation gender
['Masao Inagaki', 'gender', 'male']
ASK WHERE { resource:Masao_Inagaki property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1329124 Q20247 Q142
P17
Q15617994
USER
Is Soturac located in Narzole and France ?
(Q1329124,P17,Q20247) (Q1329124,P17,Q142)
action is_in
entity Q1329124
action intersection
action find_reverse
entity Q20247
relation P17
action find_reverse
entity Q142
relation P17
['Q1329124', 'P17', 'Q20247'] ['Q1329124', 'P17', 'Q142']
ASK WHERE { resource:Q1329124 property:P17 resource:Q20247 . resource:Q1329124 property:P17 resource:Q142 }
Soturac Narzole France
action is_in
entity Soturac
action intersection
action find_reverse
entity Narzole
relation country
action find_reverse
entity France
relation country
['Soturac', 'country', 'Narzole'] ['Soturac', 'country', 'France']
ASK WHERE { resource:Soturac property:country resource:Narzole . resource:Soturac property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1329124,P17,Q20247) (Q1329124,P17,Q142)
action is_in
entity Q1329124
action intersection
action find_reverse
entity Q20247
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q1329124', 'P17', 'Q20247'] ['Q1329124', 'P17', 'Q142']
ASK WHERE { resource:Q1329124 property:P17 resource:Q20247 . resource:Q1329124 property:P17 resource:Q142 }
NO and YES respectively
action is_in
entity Soturac
action intersection
action find_reverse
entity Narzole
relation country
action find_reverse
entity France
relation country
['Soturac', 'country', 'Narzole'] ['Soturac', 'country', 'France']
ASK WHERE { resource:Soturac property:country resource:Narzole . resource:Soturac property:country resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q135478
P36
Q20667921
USER
Which french administrative division is Puy-l'Évêque the capital of ?
(c(Q20667921),P36,Q135478)
action filter_type
action find_reverse
entity Q135478
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q135478']
SELECT DISTINCT ?x WHERE { ?x property:P36 resource:Q135478 . ?x rdf:type ontology:Q20667921 }
Puy-l'Évêque
action filter_type
action find_reverse
entity Puy-l'Évêque
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', "Puy-l'Évêque"]
SELECT DISTINCT ?x WHERE { ?x property:capital resource:Puy-l'Évêque . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1726839
SYSTEM
canton of Puy-l'Évêque
Q1726839
(c(Q20667921),P36,Q135478)
action filter_type
action find_reverse
entity Q135478
relation P36
type Q20667921
The [ANSWER] is Puy-l'Évêque the capital of
[{'concept': 'Q20667921'}, 'P36', 'Q135478']
SELECT DISTINCT ?x WHERE { ?x property:P36 resource:Q135478 . ?x rdf:type ontology:Q20667921 }
canton of Puy-l'Évêque
The canton of Puy-l'Évêque is Puy-l'Évêque the capital of
canton of Puy-l'Évêque
action filter_type
action find_reverse
entity Puy-l'Évêque
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', "Puy-l'Évêque"]
SELECT DISTINCT ?x WHERE { ?x property:capital resource:Puy-l'Évêque . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q135478
P47
Q20667921
USER
How many french administrative divisions share border with Puy-l'Évêque ?
(c(Q20667921),P47,Q135478)
action count
action filter_type
action find_reverse
entity Q135478
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q135478']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:Q20667921 . ?t property:P47 resource:Q135478 }
Puy-l'Évêque
action count
action filter_type
action find_reverse
entity Puy-l'Évêque
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', "Puy-l'Évêque"]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:type_of_french_administrative_division . ?t property:shares_border_with resource:Puy-l'Évêque }
[]
type of french administrative division
SYSTEM
9
Q1471242 Q1377958 Q922210 Q518570 Q831444 Q1377932 Q950432 Q1104530 Q1104605
(c(Q20667921),P47,Q135478)
action count
action filter_type
action find_reverse
entity Q135478
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q135478']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:Q20667921 . ?t property:P47 resource:Q135478 }
Prayssac Grézels Vire-sur-Lot Cassagnes Duravel Floressas Montcabrier Pomarède Pescadoires
9
action count
action filter_type
action find_reverse
entity Puy-l'Évêque
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', "Puy-l'Évêque"]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:type_of_french_administrative_division . ?t property:shares_border_with resource:Puy-l'Évêque }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q135478
P1376
Q20667921
USER
Which french administrative division has that one has its first city ?
action filter_type
action find
entity Q135478
relation P1376
type Q20667921
SELECT DISTINCT ?g WHERE { resource:Q135478 property:P1376 ?g . ?g rdf:type ontology:Q20667921 }
Puy-l'Évêque
action filter_type
action find
entity Puy-l'Évêque
relation capital of
type type of french administrative division
SELECT DISTINCT ?g WHERE { resource:Puy-l'Évêque property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1726839
SYSTEM
canton of Puy-l'Évêque
Q1726839
action filter_type
action find
entity Q135478
relation P1376
type Q20667921
The [ANSWER] has that one has its first city
SELECT DISTINCT ?g WHERE { resource:Q135478 property:P1376 ?g . ?g rdf:type ontology:Q20667921 }
canton of Puy-l'Évêque
The canton of Puy-l'Évêque has that one has its first city
canton of Puy-l'Évêque
action filter_type
action find
entity Puy-l'Évêque
relation capital of
type type of french administrative division
SELECT DISTINCT ?g WHERE { resource:Puy-l'Évêque property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]