Simple Question (Direct)
Simple Question
Q1217859
P17
Q15617994
USER
Which administrative territory is Bourret situated in ?
(Q1217859,P17,c(Q15617994))
action filter_type
action find
entity Q1217859
relation P17
type Q15617994
['Q1217859', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1217859 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Bourret
action filter_type
action find
entity Bourret
relation country
type designation for an administrative territorial entity
['Bourret', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bourret property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1217859,P17,c(Q15617994))
action filter_type
action find
entity Q1217859
relation P17
type Q15617994
Bourret is situated in [ANSWER]
['Q1217859', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1217859 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
France
Bourret is situated in France
France
action filter_type
action find
entity Bourret
relation country
type designation for an administrative territorial entity
['Bourret', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bourret property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1217859
P47
Q20667921
USER
Which french administrative divisions share border with that one ?
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1217859
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . resource:Q1217859 property:P47 ?d }
Bourret
action filter_type
action find
entity Bourret
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . resource:Bourret property:shares_border_with ?d }
[]
type of french administrative division
Q945535 Q917979 Q283624
SYSTEM
Cordes-Tolosannes, Montech, Saint-Sardos
Q917979 Q1430784 Q947055 Q1426939 Q283624 Q945535
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1217859
relation P47
type Q20667921
[ANSWERS] share border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . resource:Q1217859 property:P47 ?d }
Montech Montaïn Escatalens Mas-Grenier Saint-Sardos Cordes-Tolosannes
Cordes-Tolosannes, Montech and Saint-Sardos share border with that one
Cordes-Tolosannes Montech Saint-Sardos
action filter_type
action find
entity Bourret
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . resource:Bourret property:shares_border_with ?d }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1334992
P47
Q20667921
USER
Does Roye-sur-Matz share border with those ones ?
(Q1334992,P47,Q945535) (Q1334992,P47,Q917979) (Q1334992,P47,Q283624)
action is_in
entity prev_answer
action find
entity Q1334992
relation P47
['Q1334992', 'P47', 'Q945535'] ['Q1334992', 'P47', 'Q917979'] ['Q1334992', 'P47', 'Q283624']
ASK WHERE { VALUES ( ?d ) { ( resource:Q917979 ) ( resource:Q1430784 ) ( resource:Q947055 ) } . resource:Q1334992 property:P47 ?d }
Roye-sur-Matz
action is_in
entity prev_answer
action find
entity Roye-sur-Matz
relation shares border with
['Roye-sur-Matz', 'shares border with', 'Cordes-Tolosannes'] ['Roye-sur-Matz', 'shares border with', 'Montech'] ['Roye-sur-Matz', 'shares border with', 'Saint-Sardos']
ASK WHERE { VALUES ( ?d ) { ( resource:Montech ) ( resource:Montaïn ) ( resource:Escatalens ) } . resource:Roye-sur-Matz property:shares_border_with ?d }
[]
type of french administrative division
SYSTEM
NO
(Q1334992,P47,Q945535) (Q1334992,P47,Q917979) (Q1334992,P47,Q283624)
action is_in
entity prev_answer
action find
entity Q1334992
relation P47
[ANSWER]
['Q1334992', 'P47', 'Q945535'] ['Q1334992', 'P47', 'Q917979'] ['Q1334992', 'P47', 'Q283624']
ASK WHERE { VALUES ( ?d ) { ( resource:Q917979 ) ( resource:Q1430784 ) ( resource:Q947055 ) } . resource:Q1334992 property:P47 ?d }
No
action is_in
entity prev_answer
action find
entity Roye-sur-Matz
relation shares border with
['Roye-sur-Matz', 'shares border with', 'Cordes-Tolosannes'] ['Roye-sur-Matz', 'shares border with', 'Montech'] ['Roye-sur-Matz', 'shares border with', 'Saint-Sardos']
ASK WHERE { VALUES ( ?d ) { ( resource:Montech ) ( resource:Montaïn ) ( resource:Escatalens ) } . resource:Roye-sur-Matz property:shares_border_with ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q917979 Q625868
P17
Q15617994
USER
Is Montech situated in Planetal ?
(Q917979,P17,Q625868)
action is_in
entity Q625868
action find
entity Q917979
relation P17
['Q917979', 'P17', 'Q625868']
ASK WHERE { resource:Q917979 property:P17 resource:Q625868 }
Montech Planetal
action is_in
entity Planetal
action find
entity Montech
relation country
['Montech', 'country', 'Planetal']
ASK WHERE { resource:Montech property:country resource:Planetal }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q917979,P17,Q625868)
action is_in
entity Q625868
action find
entity Q917979
relation P17
[ANSWER]
['Q917979', 'P17', 'Q625868']
ASK WHERE { resource:Q917979 property:P17 resource:Q625868 }
No
action is_in
entity Planetal
action find
entity Montech
relation country
['Montech', 'country', 'Planetal']
ASK WHERE { resource:Montech property:country resource:Planetal }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q917979
P20
Q502895
USER
Who died in that french administrative division ?
action filter_type
action find_reverse
entity Q917979
relation P20
type Q502895
SELECT DISTINCT ?m WHERE { ?m property:P20 resource:Q917979 . ?m rdf:type ontology:Q502895 }
Montech
action filter_type
action find_reverse
entity Montech
relation place of death
type common name
SELECT DISTINCT ?m WHERE { ?m property:place_of_death resource:Montech . ?m rdf:type ontology:common_name }
[]
common name
Q15302973
SYSTEM
Jean-Pierre Abrial
Q15302973
action filter_type
action find_reverse
entity Q917979
relation P20
type Q502895
[ANSWER] died in that french administrative division
SELECT DISTINCT ?m WHERE { ?m property:P20 resource:Q917979 . ?m rdf:type ontology:Q502895 }
Jean-Pierre Abrial
Jean-Pierre Abrial died in that french administrative division
Jean-Pierre Abrial
action filter_type
action find_reverse
entity Montech
relation place of death
type common name
SELECT DISTINCT ?m WHERE { ?m property:place_of_death resource:Montech . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q917979
P36
Q20667921
USER
Which french administrative division has Montech as its capital ?
(c(Q20667921),P36,Q917979)
action filter_type
action find_reverse
entity Q917979
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q917979']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q917979 . ?e rdf:type ontology:Q20667921 }
Montech
action filter_type
action find_reverse
entity Montech
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Montech']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Montech . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q576262
SYSTEM
canton of Montech
Q576262
(c(Q20667921),P36,Q917979)
action filter_type
action find_reverse
entity Q917979
relation P36
type Q20667921
The [ANSWER] has Montech as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q917979']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q917979 . ?e rdf:type ontology:Q20667921 }
canton of Montech
The canton of Montech has Montech as its capital
canton of Montech
action filter_type
action find_reverse
entity Montech
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Montech']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Montech . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q576262
P1376
Q20667921
USER
Which french administrative division is the capital of that one ?
(c(Q20667921),P1376,Q576262)
action filter_type
action find_reverse
entity Q576262
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q576262']
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q576262 . ?t rdf:type ontology:Q20667921 }
canton of Montech
action filter_type
action find_reverse
entity canton of Montech
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Montech']
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:canton_of_Montech . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q917979
SYSTEM
Montech
Q917979
(c(Q20667921),P1376,Q576262)
action filter_type
action find_reverse
entity Q576262
relation P1376
type Q20667921
[ANSWER] is the capital of that one
[{'concept': 'Q20667921'}, 'P1376', 'Q576262']
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q576262 . ?t rdf:type ontology:Q20667921 }
Montech
Montech is the capital of that one
Montech
action filter_type
action find_reverse
entity canton of Montech
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Montech']
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:canton_of_Montech . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q917979 Q743454
P47
Q20667921
USER
Does Villaz share border with that one ?
(Q917979,P47,Q743454)
action is_in
entity Q743454
action find
entity Q917979
relation P47
['Q917979', 'P47', 'Q743454']
ASK WHERE { resource:Q917979 property:P47 resource:Q743454 }
Montech Villaz
action is_in
entity Villaz
action find
entity Montech
relation shares border with
['Montech', 'shares border with', 'Villaz']
ASK WHERE { resource:Montech property:shares_border_with resource:Villaz }
[]
type of french administrative division
SYSTEM
NO
(Q917979,P47,Q743454)
action is_in
entity Q743454
action find
entity Q917979
relation P47
[ANSWER]
['Q917979', 'P47', 'Q743454']
ASK WHERE { resource:Q917979 property:P47 resource:Q743454 }
No
action is_in
entity Villaz
action find
entity Montech
relation shares border with
['Montech', 'shares border with', 'Villaz']
ASK WHERE { resource:Montech property:shares_border_with resource:Villaz }
[]