Simple Question (Direct)
Simple Question
Q667028
P47
Q20667921
USER
Which french administrative divisions share border with Martres-sur-Morge ?
(Q667028,P47,c(Q20667921))
action filter_type
action find
entity Q667028
relation P47
type Q20667921
['Q667028', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q667028 property:P47 ?h . ?h rdf:type ontology:Q20667921 }
Martres-sur-Morge
action filter_type
action find
entity Martres-sur-Morge
relation shares border with
type type of french administrative division
['Martres-sur-Morge', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Martres-sur-Morge property:shares_border_with ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q333441 Q511020 Q646572
SYSTEM
Ennezat, Saint-Ignat, Sardon
Q333441 Q537011 Q646572 Q511020 Q602197 Q735073
(Q667028,P47,c(Q20667921))
action filter_type
action find
entity Q667028
relation P47
type Q20667921
[ANSWERS] share border with Martres-sur-Morge
['Q667028', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q667028 property:P47 ?h . ?h rdf:type ontology:Q20667921 }
Ennezat Clerlande Sardon Saint-Ignat Varennes-sur-Morge Surat
Ennezat, Saint-Ignat and Sardon share border with Martres-sur-Morge
Ennezat Saint-Ignat Sardon
action filter_type
action find
entity Martres-sur-Morge
relation shares border with
type type of french administrative division
['Martres-sur-Morge', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Martres-sur-Morge property:shares_border_with ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q333441 Q511020 Q646572
P47
Q20667921
USER
Which french administrative divisions share border with Ennezat, Saint-Ignat and Sardon ?
(c(Q20667921),P47,Q333441) (c(Q20667921),P47,Q511020) (c(Q20667921),P47,Q646572)
action union
action filter_type
action find
entity Q333441
relation P47
type Q20667921
action filter_type
action find
entity Q511020
relation P47
type Q20667921
action filter_type
action find
entity Q646572
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q333441'] [{'concept': 'Q20667921'}, 'P47', 'Q511020'] [{'concept': 'Q20667921'}, 'P47', 'Q646572']
SELECT DISTINCT ?w WHERE { VALUES ( ?r ) { ( resource:Q333441 ) ( resource:Q511020 ) } . ?r property:P47 ?w }
Ennezat Saint-Ignat Sardon
action union
action filter_type
action find
entity Ennezat
relation shares border with
type type of french administrative division
action filter_type
action find
entity Saint-Ignat
relation shares border with
type type of french administrative division
action filter_type
action find
entity Sardon
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Ennezat'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Ignat'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Sardon']
SELECT DISTINCT ?w WHERE { VALUES ( ?r ) { ( resource:Ennezat ) ( resource:Saint-Ignat ) } . ?r property:shares_border_with ?w }
[]
type of french administrative division
Q207575 Q333441 Q511020
SYSTEM
Riom, Ennezat, Saint-Ignat
Q537011 Q511020 Q667028 Q1098521 Q207575 Q1047751 Q608385 Q735073 Q285305 Q667028 Q686551 Q333441 Q655581 Q608385 Q735073 Q667028 Q530505 Q602197 Q833402 Q663387
(c(Q20667921),P47,Q333441) (c(Q20667921),P47,Q511020) (c(Q20667921),P47,Q646572)
action union
action filter_type
action find
entity Q333441
relation P47
type Q20667921
action filter_type
action find
entity Q511020
relation P47
type Q20667921
action filter_type
action find
entity Q646572
relation P47
type Q20667921
[ANSWERS] share border with Ennezat, Saint-Ignat and Sardon
[{'concept': 'Q20667921'}, 'P47', 'Q333441'] [{'concept': 'Q20667921'}, 'P47', 'Q511020'] [{'concept': 'Q20667921'}, 'P47', 'Q646572']
SELECT DISTINCT ?w WHERE { VALUES ( ?r ) { ( resource:Q333441 ) ( resource:Q511020 ) } . ?r property:P47 ?w }
Clerlande Saint-Ignat Martres-sur-Morge Saint-Beauzire Riom Chappes Entraigues Surat Maringues Martres-sur-Morge Saint-André-le-Coq Ennezat Saint-Laure Entraigues Surat Martres-sur-Morge Le Cheix Varennes-sur-Morge Thuret Aubiat
Riom, Ennezat and Saint-Ignat share border with Ennezat, Saint-Ignat and Sardon
Riom Ennezat Saint-Ignat
action union
action filter_type
action find
entity Ennezat
relation shares border with
type type of french administrative division
action filter_type
action find
entity Saint-Ignat
relation shares border with
type type of french administrative division
action filter_type
action find
entity Sardon
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Ennezat'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Ignat'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Sardon']
SELECT DISTINCT ?w WHERE { VALUES ( ?r ) { ( resource:Ennezat ) ( resource:Saint-Ignat ) } . ?r property:shares_border_with ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q207575
P36
Q13220204
USER
Which administrative country subdivision contains that french administrative division as its capital ?
(c(Q13220204),P36,Q207575)
action filter_type
action find_reverse
entity Q207575
relation P36
type Q13220204
[{'concept': 'Q13220204'}, 'P36', 'Q207575']
SELECT DISTINCT ?l WHERE { ?l property:P36 resource:Q207575 . ?l rdf:type ontology:Q13220204 }
Riom
action filter_type
action find_reverse
entity Riom
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Riom']
SELECT DISTINCT ?l WHERE { ?l property:capital resource:Riom . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Clarification for simple ques.
Q511020
SYSTEM
Did you mean Saint-Ignat ?
Q207575 Q333441 Q511020
(c(Q13220204),P36,Q207575) (c(Q13220204),P36,Q333441) (c(Q13220204),P36,Q511020)
[ANSWER]
[{'concept': 'Q13220204'}, 'P36', 'Q207575'] [{'concept': 'Q13220204'}, 'P36', 'Q333441'] [{'concept': 'Q13220204'}, 'P36', 'Q511020']
SELECT DISTINCT ?l WHERE { ?l property:P36 resource:Q207575 . ?l rdf:type ontology:Q13220204 }
Riom Ennezat Saint-Ignat
Did you mean Saint-Ignat ?
Saint-Ignat
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Riom'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Ennezat'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Saint-Ignat']
SELECT DISTINCT ?l WHERE { ?l property:capital resource:Riom . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
USER
No, I meant Riom. Could you tell me the answer for that?
(c(Q13220204),P36,Q207575)
Q207575
[{'concept': 'Q13220204'}, 'P36', 'Q207575']
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Riom']
[]
Q702214
SYSTEM
arrondissement of Riom
Q702214
(c(Q13220204),P36,Q207575)
action filter_type
action find_reverse
entity Q207575
relation P36
type Q13220204
The [ANSWER] contains that french administrative division as its capital
[{'concept': 'Q13220204'}, 'P36', 'Q207575']
SELECT DISTINCT ?l WHERE { ?l property:P36 resource:Q207575 . ?l rdf:type ontology:Q13220204 }
arrondissement of Riom
The arrondissement of Riom contains that french administrative division as its capital
arrondissement of Riom
action filter_type
action find_reverse
entity Riom
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Riom']
SELECT DISTINCT ?l WHERE { ?l property:capital resource:Riom . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207575
P190
Q56061
USER
Which administrative territories are partner towns of Riom ?
(Q207575,P190,c(Q56061))
action filter_type
action find
entity Q207575
relation P190
type Q56061
['Q207575', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q207575 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Riom
action filter_type
action find
entity Riom
relation sister city
type administrative territorial entity
['Riom', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Riom property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q246554 Q208158 Q770599
SYSTEM
Dolisie, Viana do Castelo, Shoreham-by-Sea
Q246554 Q208158 Q770599
(Q207575,P190,c(Q56061))
action filter_type
action find
entity Q207575
relation P190
type Q56061
[ANSWERS] are partner towns of Riom
['Q207575', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q207575 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Dolisie Viana do Castelo Shoreham-by-Sea
Dolisie, Viana do Castelo and Shoreham-by-Sea are partner towns of Riom
Dolisie Viana do Castelo Shoreham-by-Sea
action filter_type
action find
entity Riom
relation sister city
type administrative territorial entity
['Riom', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Riom property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q246554 Q208158 Q770599
P190
Q20667921
USER
Which french administrative divisions are twin city of those administrative territories ?
(c(Q20667921),P190,Q246554) (c(Q20667921),P190,Q208158) (c(Q20667921),P190,Q770599)
action filter_type
action find
entity prev_answer
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q246554'] [{'concept': 'Q20667921'}, 'P190', 'Q208158'] [{'concept': 'Q20667921'}, 'P190', 'Q770599']
SELECT DISTINCT ?q WHERE { ?l property:P190 ?q . ?q rdf:type ontology:Q20667921 . VALUES ( ?l ) { ( resource:Q246554 ) ( resource:Q208158 ) ( resource:Q770599 ) } }
Dolisie Viana do Castelo Shoreham-by-Sea
action filter_type
action find
entity prev_answer
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Dolisie'] [{'concept': 'type of french administrative division'}, 'sister city', 'Viana do Castelo'] [{'concept': 'type of french administrative division'}, 'sister city', 'Shoreham-by-Sea']
SELECT DISTINCT ?q WHERE { ?l property:sister_city ?q . ?q rdf:type ontology:type_of_french_administrative_division . VALUES ( ?l ) { ( resource:Dolisie ) ( resource:Viana_do_Castelo ) ( resource:Shoreham-by-Sea ) } }
[]
type of french administrative division
Q207575
SYSTEM
Riom
Q207575
(c(Q20667921),P190,Q246554) (c(Q20667921),P190,Q208158) (c(Q20667921),P190,Q770599)
action filter_type
action find
entity prev_answer
relation P190
type Q20667921
[ANSWER] is twin city of those administrative territories
[{'concept': 'Q20667921'}, 'P190', 'Q246554'] [{'concept': 'Q20667921'}, 'P190', 'Q208158'] [{'concept': 'Q20667921'}, 'P190', 'Q770599']
SELECT DISTINCT ?q WHERE { ?l property:P190 ?q . ?q rdf:type ontology:Q20667921 . VALUES ( ?l ) { ( resource:Q246554 ) ( resource:Q208158 ) ( resource:Q770599 ) } }
Riom
Riom is twin city of those administrative territories
Riom
action filter_type
action find
entity prev_answer
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Dolisie'] [{'concept': 'type of french administrative division'}, 'sister city', 'Viana do Castelo'] [{'concept': 'type of french administrative division'}, 'sister city', 'Shoreham-by-Sea']
SELECT DISTINCT ?q WHERE { ?l property:sister_city ?q . ?q rdf:type ontology:type_of_french_administrative_division . VALUES ( ?l ) { ( resource:Dolisie ) ( resource:Viana_do_Castelo ) ( resource:Shoreham-by-Sea ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q702214
P36
Q20667921
USER
Which french administrative division is called the capital of arrondissement of Riom ?
(Q702214,P36,c(Q20667921))
action filter_type
action find
entity Q702214
relation P36
type Q20667921
['Q702214', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q702214 property:P36 ?m . ?m rdf:type ontology:Q20667921 }
arrondissement of Riom
action filter_type
action find
entity arrondissement of Riom
relation capital
type type of french administrative division
['arrondissement of Riom', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:arrondissement_of_Riom property:capital ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q207575
SYSTEM
Riom
Q207575
(Q702214,P36,c(Q20667921))
action filter_type
action find
entity Q702214
relation P36
type Q20667921
[ANSWER] is called the capital of arrondissement of [ANSWER]
['Q702214', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q702214 property:P36 ?m . ?m rdf:type ontology:Q20667921 }
Riom
Riom is called the capital of arrondissement of Riom
Riom
action filter_type
action find
entity arrondissement of Riom
relation capital
type type of french administrative division
['arrondissement of Riom', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:arrondissement_of_Riom property:capital ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207575
P20
Q502895
USER
Which people have that french administrative division as the area of death ?
(c(Q502895),P20,Q207575)
action filter_type
action find_reverse
entity Q207575
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q207575']
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q207575 . ?c rdf:type ontology:Q502895 }
Riom
action filter_type
action find_reverse
entity Riom
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Riom']
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Riom . ?c rdf:type ontology:common_name }
[]
common name
Q3172383 Q3171733 Q2958358
SYSTEM
Jean Grenier, Jean Deval de Guymont, Charles Adam
Q3171733 Q3261822 Q3378916 Q15973530 Q3163703 Q16026827 Q1219274 Q3172383 Q2958358 Q2959434 Q16026476 Q3086277 Q15969277 Q21039009 Q20204053 Q15968009 Q2825216 Q16025774 Q16026239 Q3588650 Q3119614 Q3387313 Q3163710 Q19955906 Q3174295 Q23906115
(c(Q502895),P20,Q207575)
action filter_type
action find_reverse
entity Q207575
relation P20
type Q502895
[ANSWERS] have that french administrative division as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q207575']
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q207575 . ?c rdf:type ontology:Q502895 }
Jean Deval de Guymont Louis Dussour Philibert Besson Jacques Baudet-Lafarge Jean-Antoine Chapsal Félix Grellet de la Deyte Jean Sirmond Jean Grenier Charles Adam Charles Jaffeux Firmin Salvy François de Murat Gaspard Antoine Pagès Junius Verdier de Latour François Armand Simon Camboulas Adrien Mabrut Amédée Girard Jean Oudoul Émile Massé Guillaume-Michel de Chabrol-Tournoël Pierre Virlogeux Jean-Antoine Huguet François Fougère Jean Reynouard Jean-Baptiste Tailhand
Jean Grenier, Jean Deval de Guymont and Charles Adam have that french administrative division as the area of death
Jean Grenier Jean Deval de Guymont Charles Adam
action filter_type
action find_reverse
entity Riom
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Riom']
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Riom . ?c rdf:type ontology:common_name }
[]