Simple Question (Direct)
Simple Question
Q3573823
P20
Q20667921
USER
Where did the expiration of Yves Marchesseau occur ?
(Q3573823,P20,c(Q20667921))
action filter_type
action find
entity Q3573823
relation P20
type Q20667921
['Q3573823', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q3573823 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Yves Marchesseau
action filter_type
action find
entity Yves Marchesseau
relation place of death
type type of french administrative division
['Yves Marchesseau', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Yves_Marchesseau property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q191126
SYSTEM
Saintes
Q191126
(Q3573823,P20,c(Q20667921))
action filter_type
action find
entity Q3573823
relation P20
type Q20667921
The expiration of Yves Marchesseau occurred Les [ANSWER]
['Q3573823', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q3573823 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Saintes
The expiration of Yves Marchesseau occurred Les Saintes
Saintes
action filter_type
action find
entity Yves Marchesseau
relation place of death
type type of french administrative division
['Yves Marchesseau', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Yves_Marchesseau property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191126
P47
Q20667921
USER
Which french administrative divisions are adjacent to that one ?
(Q191126,P47,c(Q20667921))
action filter_type
action find
entity Q191126
relation P47
type Q20667921
['Q191126', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q191126 property:P47 ?w . ?w rdf:type ontology:Q20667921 }
Saintes
action filter_type
action find
entity Saintes
relation shares border with
type type of french administrative division
['Saintes', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Saintes property:shares_border_with ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1349664 Q1144711 Q1144854
SYSTEM
Chaniers, Port-d'Envaux, Pessines
Q660252 Q1080827 Q611954 Q933277 Q665849 Q1144711 Q1144854 Q273758 Q1078578 Q1349664 Q1349927
(Q191126,P47,c(Q20667921))
action filter_type
action find
entity Q191126
relation P47
type Q20667921
[ANSWERS] are adjacent to that one
['Q191126', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q191126 property:P47 ?w . ?w rdf:type ontology:Q20667921 }
Nieul-lès-Saintes Bussac-sur-Charente Saint-Georges-des-Coteaux Les Gonds Chermignac Port-d'Envaux Pessines Écurat Fontcouverte Chaniers Thénac
Chaniers, Port-d'Envaux and Pessines are adjacent to that one
Chaniers Port-d'Envaux Pessines
action filter_type
action find
entity Saintes
relation shares border with
type type of french administrative division
['Saintes', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Saintes property:shares_border_with ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q191126
P47
Q20667921
USER
Do Saintes have an adjacent border with those ones ?
(Q191126,P47,Q1349664) (Q191126,P47,Q1144711) (Q191126,P47,Q1144854)
action is_in
entity prev_answer
action find
entity Q191126
relation P47
['Q191126', 'P47', 'Q1349664'] ['Q191126', 'P47', 'Q1144711'] ['Q191126', 'P47', 'Q1144854']
ASK WHERE { resource:Q191126 property:P47 ?a . VALUES ( ?a ) { ( resource:Q660252 ) ( resource:Q1080827 ) ( resource:Q611954 ) } }
Saintes
action is_in
entity prev_answer
action find
entity Saintes
relation shares border with
['Saintes', 'shares border with', 'Chaniers'] ['Saintes', 'shares border with', "Port-d'Envaux"] ['Saintes', 'shares border with', 'Pessines']
ASK WHERE { resource:Saintes property:shares_border_with ?a . VALUES ( ?a ) { ( resource:Nieul-lès-Saintes ) ( resource:Bussac-sur-Charente ) ( resource:Saint-Georges-des-Coteaux ) } }
[]
type of french administrative division
SYSTEM
YES
(Q191126,P47,Q1349664) (Q191126,P47,Q1144711) (Q191126,P47,Q1144854)
action is_in
entity prev_answer
action find
entity Q191126
relation P47
[ANSWER]
['Q191126', 'P47', 'Q1349664'] ['Q191126', 'P47', 'Q1144711'] ['Q191126', 'P47', 'Q1144854']
ASK WHERE { resource:Q191126 property:P47 ?a . VALUES ( ?a ) { ( resource:Q660252 ) ( resource:Q1080827 ) ( resource:Q611954 ) } }
Yes
action is_in
entity prev_answer
action find
entity Saintes
relation shares border with
['Saintes', 'shares border with', 'Chaniers'] ['Saintes', 'shares border with', "Port-d'Envaux"] ['Saintes', 'shares border with', 'Pessines']
ASK WHERE { resource:Saintes property:shares_border_with ?a . VALUES ( ?a ) { ( resource:Nieul-lès-Saintes ) ( resource:Bussac-sur-Charente ) ( resource:Saint-Georges-des-Coteaux ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1349664
P17
Q15617994
USER
Which administrative territory is Chaniers a part of ?
(Q1349664,P17,c(Q15617994))
action filter_type
action find
entity Q1349664
relation P17
type Q15617994
['Q1349664', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1349664 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Chaniers
action filter_type
action find
entity Chaniers
relation country
type designation for an administrative territorial entity
['Chaniers', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Chaniers property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1349664,P17,c(Q15617994))
action filter_type
action find
entity Q1349664
relation P17
type Q15617994
Which administrative territory is Chaniers a part of
['Q1349664', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1349664 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
France
Which administrative territory is Chaniers a part of
France
action filter_type
action find
entity Chaniers
relation country
type designation for an administrative territorial entity
['Chaniers', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Chaniers property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1349664
P36
Q20667921
USER
Which french administrative division has Chaniers as its administrative centre ?
(c(Q20667921),P36,Q1349664)
action filter_type
action find_reverse
entity Q1349664
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q1349664']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q1349664 . ?u rdf:type ontology:Q20667921 }
Chaniers
action filter_type
action find_reverse
entity Chaniers
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Chaniers']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Chaniers . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q17176052
SYSTEM
canton of Chaniers
Q17176052
(c(Q20667921),P36,Q1349664)
action filter_type
action find_reverse
entity Q1349664
relation P36
type Q20667921
The [ANSWER] has Chaniers as its administrative centre
[{'concept': 'Q20667921'}, 'P36', 'Q1349664']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q1349664 . ?u rdf:type ontology:Q20667921 }
canton of Chaniers
The canton of Chaniers has Chaniers as its administrative centre
canton of Chaniers
action filter_type
action find_reverse
entity Chaniers
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Chaniers']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Chaniers . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9224 Q191126
P47 P17
Q15617994
USER
Which administrative territories are Saintes present in or share the border with Castellamonte ?
OR((Q191126,P17,c(Q15617994)), (Q9224,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q191126
relation P17
action find
entity Q9224
relation P47
type Q15617994
{'OR': [['Q191126', 'P17', {'concept': 'Q15617994'}], ['Q9224', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q191126 property:P17 ?n } UNION { resource:Q9224 property:P47 ?n } } . ?n rdf:type ontology:Q15617994 }
Castellamonte Saintes
action filter_type
action union
action find
entity Saintes
relation country
action find
entity Castellamonte
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Saintes', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Castellamonte', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Saintes property:country ?n } UNION { resource:Castellamonte property:shares_border_with ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q9330 Q9231 Q10248 Q10316 Q10322 Q10349 Q10273 Q10211 Q9435 Q10247
SYSTEM
Some of them are Cuorgnè, Castelnuovo Nigra, Salassa, Torre Canavese, Trausella, Vidracco, San Martino Canavese, Quagliuzzo, Lugnacco, Rueglio
Q9280 Q9435 Q142 Q9529 Q9540 Q10248 Q10226 Q10322 Q10247 Q9014 Q9059 Q9019 Q9231 Q9313 Q9407 Q10273 Q9330 Q9467 Q10335 Q10211 Q10316 Q10349
OR((Q191126,P17,c(Q15617994)), (Q9224,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q191126
relation P17
action find
entity Q9224
relation P47
type Q15617994
Saintes are share of [ANSWERS]
{'OR': [['Q191126', 'P17', {'concept': 'Q15617994'}], ['Q9224', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q191126 property:P17 ?n } UNION { resource:Q9224 property:P47 ?n } } . ?n rdf:type ontology:Q15617994 }
Cintano Lugnacco France Ozegna Parella Salassa Rivarolo Canavese Trausella Rueglio Bairo Borgiallo Baldissero Canavese Castelnuovo Nigra Colleretto Castelnuovo Issiglio San Martino Canavese Cuorgnè Meugliano Valperga Quagliuzzo Torre Canavese Vidracco
Saintes are share of Cuorgnè, Castelnuovo Nigra, Salassa, Torre Canavese, Trausella, Vidracco, San Martino Canavese, Quagliuzzo, Lugnacco and Rueglio
Cuorgnè Castelnuovo Nigra Salassa Torre Canavese Trausella Vidracco San Martino Canavese Quagliuzzo Lugnacco Rueglio
action filter_type
action union
action find
entity Saintes
relation country
action find
entity Castellamonte
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Saintes', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Castellamonte', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Saintes property:country ?n } UNION { resource:Castellamonte property:shares_border_with ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q191126 Q609831
P1376
Q13220204
USER
How many administrative country subdivisions have Saintes or San Pédro, Ivory Coast as their capital ?
(Q191126,P1376,c(Q13220204)) (Q609831,P1376,c(Q13220204))
action count
action union
action filter_type
action find
entity Q191126
relation P1376
type Q13220204
action filter_type
action find
entity Q609831
relation P1376
type Q13220204
['Q191126', 'P1376', {'concept': 'Q13220204'}] ['Q609831', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?p property:P1376 ?q . VALUES ( ?p ) { ( resource:Q191126 ) ( resource:Q609831 ) } }
Saintes San Pédro, Ivory Coast
action count
action union
action filter_type
action find
entity Saintes
relation capital of
type second-level administrative country subdivision
action filter_type
action find
entity San Pédro, Ivory Coast
relation capital of
type second-level administrative country subdivision
['Saintes', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['San Pédro, Ivory Coast', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?p property:capital_of ?q . VALUES ( ?p ) { ( resource:Saintes ) ( resource:San_Pédro,_Ivory_Coast ) } }
[]
second-level administrative country subdivision
SYSTEM
2
Q809733 Q702457
(Q191126,P1376,c(Q13220204)) (Q609831,P1376,c(Q13220204))
action count
action union
action filter_type
action find
entity Q191126
relation P1376
type Q13220204
action filter_type
action find
entity Q609831
relation P1376
type Q13220204
[ANSWER]
['Q191126', 'P1376', {'concept': 'Q13220204'}] ['Q609831', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?p property:P1376 ?q . VALUES ( ?p ) { ( resource:Q191126 ) ( resource:Q609831 ) } }
Bas-Sassandra Region arrondissement of Saintes
2
action count
action union
action filter_type
action find
entity Saintes
relation capital of
type second-level administrative country subdivision
action filter_type
action find
entity San Pédro, Ivory Coast
relation capital of
type second-level administrative country subdivision
['Saintes', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['San Pédro, Ivory Coast', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?p property:capital_of ?q . VALUES ( ?p ) { ( resource:Saintes ) ( resource:San_Pédro,_Ivory_Coast ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q52016 Q10273
P47
Q15617994
USER
Which administrative territories are bordered by San Martino Canavese or Laterza ?
OR((c(Q15617994),P47,Q10273), (c(Q15617994),P47,Q52016))
action filter_type
action union
action find_reverse
entity Q10273
relation P47
action find_reverse
entity Q52016
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q10273'], [{'concept': 'Q15617994'}, 'P47', 'Q52016']]}
SELECT DISTINCT ?q WHERE { { ?q property:P47 ?u . VALUES ( ?u ) { ( resource:Q10273 ) ( resource:Q52016 ) } } . ?q rdf:type ontology:Q15617994 }
Laterza San Martino Canavese
action filter_type
action union
action find_reverse
entity San Martino Canavese
relation shares border with
action find_reverse
entity Laterza
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Martino Canavese'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Laterza']]}
SELECT DISTINCT ?q WHERE { { ?q property:shares_border_with ?u . VALUES ( ?u ) { ( resource:San_Martino_Canavese ) ( resource:Laterza ) } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q9544 Q10299 Q9552 Q10316 Q9224 Q51851 Q9540 Q52013 Q10347 Q13616
SYSTEM
Some of them are Pavone Canavese, Scarmagno, Perosa Canavese, Torre Canavese, Castellamonte, Santeramo in Colle, Parella, Ginosa, Vialfrè, Matera
Q10299 Q10316 Q8971 Q9540 Q9552 Q9315 Q9544 Q51827 Q9224 Q13616 Q52013 Q10347 Q52009 Q51851
OR((c(Q15617994),P47,Q10273), (c(Q15617994),P47,Q52016))
action filter_type
action union
action find_reverse
entity Q10273
relation P47
action find_reverse
entity Q52016
relation P47
type Q15617994
[ANSWERS] are bordered by San Martino Canavese or Laterza
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q10273'], [{'concept': 'Q15617994'}, 'P47', 'Q52016']]}
SELECT DISTINCT ?q WHERE { { ?q property:P47 ?u . VALUES ( ?u ) { ( resource:Q10273 ) ( resource:Q52016 ) } } . ?q rdf:type ontology:Q15617994 }
Scarmagno Torre Canavese Agliè Parella Perosa Canavese Colleretto Giacosa Pavone Canavese Gioia del Colle Castellamonte Matera Ginosa Vialfrè Castellaneta Santeramo in Colle
Pavone Canavese, Scarmagno, Perosa Canavese, Torre Canavese, Castellamonte, Santeramo in Colle, Parella, Ginosa, Vialfrè and Matera are bordered by San Martino Canavese or Laterza
Pavone Canavese Scarmagno Perosa Canavese Torre Canavese Castellamonte Santeramo in Colle Parella Ginosa Vialfrè Matera
action filter_type
action union
action find_reverse
entity San Martino Canavese
relation shares border with
action find_reverse
entity Laterza
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Martino Canavese'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Laterza']]}
SELECT DISTINCT ?q WHERE { { ?q property:shares_border_with ?u . VALUES ( ?u ) { ( resource:San_Martino_Canavese ) ( resource:Laterza ) } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]