Simple Question (Direct)
Simple Question
Q3098936
P19
Q20667921
USER
Which french administrative division is the birthplace of Gaston Cabannes ?
(Q3098936,P19,c(Q20667921))
action filter_type
action find
entity Q3098936
relation P19
type Q20667921
['Q3098936', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q3098936 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
Gaston Cabannes
action filter_type
action find
entity Gaston Cabannes
relation place of birth
type type of french administrative division
['Gaston Cabannes', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Gaston_Cabannes property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6625
SYSTEM
Agen
Q6625
(Q3098936,P19,c(Q20667921))
action filter_type
action find
entity Q3098936
relation P19
type Q20667921
[ANSWER] is the birthplace of Gaston Cabannes
['Q3098936', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q3098936 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
Agen
Agen is the birthplace of Gaston Cabannes
Agen
action filter_type
action find
entity Gaston Cabannes
relation place of birth
type type of french administrative division
['Gaston Cabannes', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Gaston_Cabannes property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6625
P1376
Q20667921
USER
Which french administrative divisions have that one have their center of administration ?
(Q6625,P1376,c(Q20667921))
action filter_type
action find
entity Q6625
relation P1376
type Q20667921
['Q6625', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q6625 property:P1376 ?i . ?i rdf:type ontology:Q20667921 }
Agen
action filter_type
action find
entity Agen
relation capital of
type type of french administrative division
['Agen', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Agen property:capital_of ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1724027 Q1724026 Q182962
SYSTEM
canton of Agen-Nord, canton of Agen-Centre, canton of Agen-Nord-Est
Q1724027 Q1724026 Q182962 Q1724030 Q953608
(Q6625,P1376,c(Q20667921))
action filter_type
action find
entity Q6625
relation P1376
type Q20667921
[ANSWERS] have that one have their center of administration
['Q6625', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q6625 property:P1376 ?i . ?i rdf:type ontology:Q20667921 }
canton of Agen-Nord canton of Agen-Centre canton of Agen-Nord-Est canton of Agen-Ouest canton of Agen-Sud-Est
Canton of Agen-Nord, canton of Agen-Centre and canton of Agen-Nord-Est have that one have their center of administration
canton of Agen-Nord canton of Agen-Centre canton of Agen-Nord-Est
action filter_type
action find
entity Agen
relation capital of
type type of french administrative division
['Agen', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Agen property:capital_of ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q192657 Q6625
P47 P1376
Q20667921
USER
Which french administrative divisions have Agen as their county seat or are adjacent to Le Pont-de-Montvert ?
OR((Q6625,P1376,c(Q20667921)), (Q192657,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q6625
relation P1376
action find
entity Q192657
relation P47
type Q20667921
{'OR': [['Q6625', 'P1376', {'concept': 'Q20667921'}], ['Q192657', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q192657 property:P47 ?u } UNION { resource:Q6625 property:P1376 ?u } } . ?u rdf:type ontology:Q20667921 }
Le Pont-de-Montvert Agen
action filter_type
action union
action find
entity Agen
relation capital of
action find
entity Le Pont-de-Montvert
relation shares border with
type type of french administrative division
{'OR': [['Agen', 'capital of', {'concept': 'type of french administrative division'}], ['Le Pont-de-Montvert', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Le_Pont-de-Montvert property:shares_border_with ?u } UNION { resource:Agen property:capital_of ?u } } . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q473707 Q192684 Q379976 Q454159 Q1018425 Q1724030 Q953608 Q378349 Q475813 Q441262
SYSTEM
Some of them are Saint-Maurice-de-Ventalon, Cubiérettes, Pourcharesses, Saint-Julien-d'Arpaon, Cassagnas, canton of Agen-Ouest, canton of Agen-Sud-Est, Concoules, Bédouès, Altier
Q379976 Q475813 Q192684 Q494118 Q182962 Q475805 Q953608 Q475842 Q454159 Q924224 Q473707 Q378349 Q1724026 Q1018425 Q1724027 Q441262 Q1724030 Q626286
OR((Q6625,P1376,c(Q20667921)), (Q192657,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q6625
relation P1376
action find
entity Q192657
relation P47
type Q20667921
[ANSWERS] have Agen as their county seat or are adjacent to Le Pont-de-Montvert
{'OR': [['Q6625', 'P1376', {'concept': 'Q20667921'}], ['Q192657', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q192657 property:P47 ?u } UNION { resource:Q6625 property:P1376 ?u } } . ?u rdf:type ontology:Q20667921 }
Pourcharesses Bédouès Cubiérettes Cubières canton of Agen-Nord-Est Fraissinet-de-Lozère canton of Agen-Sud-Est Mas-d'Orcières Saint-Julien-d'Arpaon La Salle-Prunet Saint-Maurice-de-Ventalon Concoules canton of Agen-Centre Cassagnas canton of Agen-Nord Altier canton of Agen-Ouest Vialas
Saint-Maurice-de-Ventalon, Cubiérettes, Pourcharesses, Saint-Julien-d'Arpaon, Cassagnas, canton of Agen-Ouest, canton of Agen-Sud-Est, Concoules, Bédouès and Altier have Agen as their county seat or are adjacent to Le Pont-de-Montvert
Saint-Maurice-de-Ventalon Cubiérettes Pourcharesses Saint-Julien-d'Arpaon Cassagnas canton of Agen-Ouest canton of Agen-Sud-Est Concoules Bédouès Altier
action filter_type
action union
action find
entity Agen
relation capital of
action find
entity Le Pont-de-Montvert
relation shares border with
type type of french administrative division
{'OR': [['Agen', 'capital of', {'concept': 'type of french administrative division'}], ['Le Pont-de-Montvert', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Le_Pont-de-Montvert property:shares_border_with ?u } UNION { resource:Agen property:capital_of ?u } } . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1724030
P36
Q20667921
USER
Which french administrative division is associated to that one as the capital ?
(Q1724030,P36,c(Q20667921))
action filter_type
action find
entity Q1724030
relation P36
type Q20667921
['Q1724030', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q1724030 property:P36 ?e . ?e rdf:type ontology:Q20667921 }
canton of Agen-Ouest
action filter_type
action find
entity canton of Agen-Ouest
relation capital
type type of french administrative division
['canton of Agen-Ouest', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:canton_of_Agen-Ouest property:capital ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q953608
SYSTEM
Did you mean canton of Agen-Sud-Est ?
Q473707 Q192684 Q379976 Q454159 Q1018425 Q1724030 Q953608 Q378349 Q475813 Q441262
(Q473707,P36,c(Q20667921)) (Q192684,P36,c(Q20667921)) (Q379976,P36,c(Q20667921)) (Q454159,P36,c(Q20667921)) (Q1018425,P36,c(Q20667921)) (Q1724030,P36,c(Q20667921)) (Q953608,P36,c(Q20667921)) (Q378349,P36,c(Q20667921)) (Q475813,P36,c(Q20667921)) (Q441262,P36,c(Q20667921))
[ANSWER]
['Q473707', 'P36', {'concept': 'Q20667921'}] ['Q192684', 'P36', {'concept': 'Q20667921'}] ['Q379976', 'P36', {'concept': 'Q20667921'}] ['Q454159', 'P36', {'concept': 'Q20667921'}] ['Q1018425', 'P36', {'concept': 'Q20667921'}] ['Q1724030', 'P36', {'concept': 'Q20667921'}] ['Q953608', 'P36', {'concept': 'Q20667921'}] ['Q378349', 'P36', {'concept': 'Q20667921'}] ['Q475813', 'P36', {'concept': 'Q20667921'}] ['Q441262', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q1724030 property:P36 ?e . ?e rdf:type ontology:Q20667921 }
Saint-Maurice-de-Ventalon Cubiérettes Pourcharesses Saint-Julien-d'Arpaon Cassagnas canton of Agen-Ouest canton of Agen-Sud-Est Concoules Bédouès Altier
Did you mean canton of Agen-Sud-Est ?
canton of Agen-Sud-Est
['Saint-Maurice-de-Ventalon', 'capital', {'concept': 'type of french administrative division'}] ['Cubiérettes', 'capital', {'concept': 'type of french administrative division'}] ['Pourcharesses', 'capital', {'concept': 'type of french administrative division'}] ["Saint-Julien-d'Arpaon", 'capital', {'concept': 'type of french administrative division'}] ['Cassagnas', 'capital', {'concept': 'type of french administrative division'}] ['canton of Agen-Ouest', 'capital', {'concept': 'type of french administrative division'}] ['canton of Agen-Sud-Est', 'capital', {'concept': 'type of french administrative division'}] ['Concoules', 'capital', {'concept': 'type of french administrative division'}] ['Bédouès', 'capital', {'concept': 'type of french administrative division'}] ['Altier', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:canton_of_Agen-Ouest property:capital ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant canton of Agen-Ouest. Could you tell me the answer for that?
(Q1724030,P36,c(Q20667921))
Q1724030
['Q1724030', 'P36', {'concept': 'Q20667921'}]
['canton of Agen-Ouest', 'capital', {'concept': 'type of french administrative division'}]
[]
Q6625
SYSTEM
Agen
Q6625
(Q1724030,P36,c(Q20667921))
action filter_type
action find
entity Q1724030
relation P36
type Q20667921
[ANSWER] is associated to that one as the capital
['Q1724030', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q1724030 property:P36 ?e . ?e rdf:type ontology:Q20667921 }
Agen
Agen is associated to that one as the capital
Agen
action filter_type
action find
entity canton of Agen-Ouest
relation capital
type type of french administrative division
['canton of Agen-Ouest', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:canton_of_Agen-Ouest property:capital ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q182962
P1376 P17
Q20667921
USER
Which french administrative divisions are the county seat for canton of Agen-Nord-Est and are present in France ?
AND((c(Q20667921),P1376,Q182962), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q182962
relation P1376
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P1376', 'Q182962'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?f WHERE { ?f property:P17 resource:Q142 . ?f property:P1376 resource:Q182962 . ?f rdf:type ontology:Q20667921 }
France canton of Agen-Nord-Est
action filter_type
action intersection
action find_reverse
entity canton of Agen-Nord-Est
relation capital of
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Agen-Nord-Est'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?f WHERE { ?f property:country resource:France . ?f property:capital_of resource:canton_of_Agen-Nord-Est . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6625
SYSTEM
Agen
Q6625
AND((c(Q20667921),P1376,Q182962), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q182962
relation P1376
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWER] is the county seat for canton of [ANSWER]-Nord-Est and is present in France
{'AND': [[{'concept': 'Q20667921'}, 'P1376', 'Q182962'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?f WHERE { ?f property:P17 resource:Q142 . ?f property:P1376 resource:Q182962 . ?f rdf:type ontology:Q20667921 }
Agen
Agen is the county seat for canton of Agen-Nord-Est and is present in France
Agen
action filter_type
action intersection
action find_reverse
entity canton of Agen-Nord-Est
relation capital of
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Agen-Nord-Est'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?f WHERE { ?f property:country resource:France . ?f property:capital_of resource:canton_of_Agen-Nord-Est . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6625 Q3169278
P19
Q502895
USER
Was Jean-Pierre Fabre born at that french administrative division ?
(Q3169278,P19,Q6625)
action is_in
entity Q3169278
action find
entity Q6625
relation P19
['Q3169278', 'P19', 'Q6625']
ASK WHERE { resource:Q6625 property:P19 resource:Q3169278 }
Agen Jean-Pierre Fabre
action is_in
entity Jean-Pierre Fabre
action find
entity Agen
relation place of birth
['Jean-Pierre Fabre', 'place of birth', 'Agen']
ASK WHERE { resource:Agen property:place_of_birth resource:Jean-Pierre_Fabre }
[]
common name
SYSTEM
NO
(Q3169278,P19,Q6625)
action is_in
entity Q3169278
action find
entity Q6625
relation P19
[ANSWER]
['Q3169278', 'P19', 'Q6625']
ASK WHERE { resource:Q6625 property:P19 resource:Q3169278 }
No
action is_in
entity Jean-Pierre Fabre
action find
entity Agen
relation place of birth
['Jean-Pierre Fabre', 'place of birth', 'Agen']
ASK WHERE { resource:Agen property:place_of_birth resource:Jean-Pierre_Fabre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6625
P551
Q502895
USER
Who resides at Agen ?
(c(Q502895),P551,Q6625)
action filter_type
action find_reverse
entity Q6625
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q6625']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q6625 . ?g rdf:type ontology:Q502895 }
Agen
action filter_type
action find_reverse
entity Agen
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Agen']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Agen . ?g rdf:type ontology:common_name }
[]
common name
Q19266718
SYSTEM
Pierre de La Coste
Q19266718
(c(Q502895),P551,Q6625)
action filter_type
action find_reverse
entity Q6625
relation P551
type Q502895
De [ANSWER] resides at Agen
[{'concept': 'Q502895'}, 'P551', 'Q6625']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q6625 . ?g rdf:type ontology:Q502895 }
Pierre de La Coste
De Pierre de La Coste resides at Agen
Pierre de La Coste
action filter_type
action find_reverse
entity Agen
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Agen']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Agen . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19266718
P140
Q879146
USER
Which Christian denomination does that person correspond to ?
(Q19266718,P140,c(Q879146))
action filter_type
action find
entity Q19266718
relation P140
type Q879146
['Q19266718', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?l WHERE { resource:Q19266718 property:P140 ?l . ?l rdf:type ontology:Q879146 }
Pierre de La Coste
action filter_type
action find
entity Pierre de La Coste
relation religion
type Christian denomination
['Pierre de La Coste', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?l WHERE { resource:Pierre_de_La_Coste property:religion ?l . ?l rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q19266718,P140,c(Q879146))
action filter_type
action find
entity Q19266718
relation P140
type Q879146
That person corresponds to [ANSWER]
['Q19266718', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?l WHERE { resource:Q19266718 property:P140 ?l . ?l rdf:type ontology:Q879146 }
Roman Catholic Church
That person corresponds to Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Pierre de La Coste
relation religion
type Christian denomination
['Pierre de La Coste', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?l WHERE { resource:Pierre_de_La_Coste property:religion ?l . ?l rdf:type ontology:Christian_denomination }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9592 Q1226466
P140
Q502895
USER
Does Publius Cornelius M.f. Maluginensis have that Christian denomination as religious affiliation ?
(Q1226466,P140,Q9592)
action is_in
entity Q1226466
action find
entity Q9592
relation P140
['Q1226466', 'P140', 'Q9592']
ASK WHERE { resource:Q9592 property:P140 resource:Q1226466 }
Roman Catholic Church Publius Cornelius M.f. Maluginensis
action is_in
entity Publius Cornelius M.f. Maluginensis
action find
entity Roman Catholic Church
relation religion
['Publius Cornelius M.f. Maluginensis', 'religion', 'Roman Catholic Church']
ASK WHERE { resource:Roman_Catholic_Church property:religion resource:Publius_Cornelius_M.f._Maluginensis }
[]
common name
SYSTEM
NO
(Q1226466,P140,Q9592)
action is_in
entity Q1226466
action find
entity Q9592
relation P140
[ANSWER]
['Q1226466', 'P140', 'Q9592']
ASK WHERE { resource:Q9592 property:P140 resource:Q1226466 }
No
action is_in
entity Publius Cornelius M.f. Maluginensis
action find
entity Roman Catholic Church
relation religion
['Publius Cornelius M.f. Maluginensis', 'religion', 'Roman Catholic Church']
ASK WHERE { resource:Roman_Catholic_Church property:religion resource:Publius_Cornelius_M.f._Maluginensis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6625
P127
Q1076486
USER
Which sports venue is owned by Agen ?
(c(Q1076486),P127,Q6625)
action filter_type
action find_reverse
entity Q6625
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q6625']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q6625 . ?h rdf:type ontology:Q1076486 }
Agen
action filter_type
action find_reverse
entity Agen
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Agen']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:Agen . ?h rdf:type ontology:sports_venue }
[]
sports venue
Q1164911
SYSTEM
Stade Armandie
Q1164911
(c(Q1076486),P127,Q6625)
action filter_type
action find_reverse
entity Q6625
relation P127
type Q1076486
La [ANSWER] is owned by Agen
[{'concept': 'Q1076486'}, 'P127', 'Q6625']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q6625 . ?h rdf:type ontology:Q1076486 }
Stade Armandie
La Stade Armandie is owned by Agen
Stade Armandie
action filter_type
action find_reverse
entity Agen
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Agen']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:Agen . ?h rdf:type ontology:sports_venue }
[]