Simple Question (Direct)
Simple Question
Q16025544
P21
Q290
USER
Which sex does Eugène Delaroue possess ?
(Q16025544,P21,c(Q290))
action filter_type
action find
entity Q16025544
relation P21
type Q290
['Q16025544', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q16025544 property:P21 ?l . ?l rdf:type ontology:Q290 }
Eugène Delaroue
action filter_type
action find
entity Eugène Delaroue
relation gender
type sex
['Eugène Delaroue', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Eugène_Delaroue property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16025544,P21,c(Q290))
action filter_type
action find
entity Q16025544
relation P21
type Q290
Eugène Delaroue possesses un [ANSWER]
['Q16025544', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q16025544 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Eugène Delaroue possesses un male
male
action filter_type
action find
entity Eugène Delaroue
relation gender
type sex
['Eugène Delaroue', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Eugène_Delaroue property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q3977918
USER
Which mineral supergroups is the eponym of that sex ?
(c(Q3977918),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
[{'concept': 'Q3977918'}, 'P138', 'Q6581097']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q6581097 . ?l rdf:type ontology:Q3977918 }
male
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'named after', 'male']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:male . ?l rdf:type ontology:mineral_supergroups }
[]
mineral supergroups
Q19861994
SYSTEM
tazzoliite
Q19861994
(c(Q3977918),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
[ANSWER] is the eponym of that sex
[{'concept': 'Q3977918'}, 'P138', 'Q6581097']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q6581097 . ?l rdf:type ontology:Q3977918 }
tazzoliite
Tazzoliite is the eponym of that sex
tazzoliite
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'named after', 'male']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:male . ?l rdf:type ontology:mineral_supergroups }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q19861994 Q24339989
P138
Q502895
USER
Is Vittorio Tazzoli the origin of that mineral supergroups ?
(Q19861994,P138,Q24339989)
action is_in
entity Q24339989
action find
entity Q19861994
relation P138
['Q19861994', 'P138', 'Q24339989']
ASK WHERE { resource:Q19861994 property:P138 resource:Q24339989 }
tazzoliite Vittorio Tazzoli
action is_in
entity Vittorio Tazzoli
action find
entity tazzoliite
relation named after
['tazzoliite', 'named after', 'Vittorio Tazzoli']
ASK WHERE { resource:tazzoliite property:named_after resource:Vittorio_Tazzoli }
[]
common name
SYSTEM
YES
(Q19861994,P138,Q24339989)
action is_in
entity Q24339989
action find
entity Q19861994
relation P138
[ANSWER]
['Q19861994', 'P138', 'Q24339989']
ASK WHERE { resource:Q19861994 property:P138 resource:Q24339989 }
Yes
action is_in
entity Vittorio Tazzoli
action find
entity tazzoliite
relation named after
['tazzoliite', 'named after', 'Vittorio Tazzoli']
ASK WHERE { resource:tazzoliite property:named_after resource:Vittorio_Tazzoli }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16025544 Q90
P20
Q56061
USER
Did Eugène Delaroue die Paris ?
(Q16025544,P20,Q90)
action is_in
entity Q90
action find
entity Q16025544
relation P20
['Q16025544', 'P20', 'Q90']
ASK WHERE { resource:Q16025544 property:P20 resource:Q90 }
Eugène Delaroue Paris
action is_in
entity Paris
action find
entity Eugène Delaroue
relation place of death
['Eugène Delaroue', 'place of death', 'Paris']
ASK WHERE { resource:Eugène_Delaroue property:place_of_death resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q16025544,P20,Q90)
action is_in
entity Q90
action find
entity Q16025544
relation P20
[ANSWER]
['Q16025544', 'P20', 'Q90']
ASK WHERE { resource:Q16025544 property:P20 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Eugène Delaroue
relation place of death
['Eugène Delaroue', 'place of death', 'Paris']
ASK WHERE { resource:Eugène_Delaroue property:place_of_death resource:Paris }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1323438 Q16025544
P47 P19
Q20667921
USER
Which french administrative divisions were Eugène Delaroue born at or are bordered by Séron ?
OR((Q16025544,P19,c(Q20667921)), (Q1323438,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q16025544
relation P19
action find
entity Q1323438
relation P47
type Q20667921
{'OR': [['Q16025544', 'P19', {'concept': 'Q20667921'}], ['Q1323438', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q16025544 property:P19 ?m } UNION { resource:Q1323438 property:P47 ?m } } . ?m rdf:type ontology:Q20667921 }
Séron Eugène Delaroue
action filter_type
action union
action find
entity Eugène Delaroue
relation place of birth
action find
entity Séron
relation shares border with
type type of french administrative division
{'OR': [['Eugène Delaroue', 'place of birth', {'concept': 'type of french administrative division'}], ['Séron', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Eugène_Delaroue property:place_of_birth ?m } UNION { resource:Séron property:shares_border_with ?m } } . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q197559 Q774511 Q635391 Q198483 Q766858 Q1327159 Q690349 Q34427
SYSTEM
Ponson-Dessus, Saubole, Ponson-Debat-Pouts, Aast, Bédeille, Escaunets, Lombia, Saint-Dié-des-Vosges
Q197559 Q774511 Q635391 Q198483 Q766858 Q1327159 Q690349 Q34427
OR((Q16025544,P19,c(Q20667921)), (Q1323438,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q16025544
relation P19
action find
entity Q1323438
relation P47
type Q20667921
[ANSWERS] were Eugène Delaroue born at or are bordered by Séron
{'OR': [['Q16025544', 'P19', {'concept': 'Q20667921'}], ['Q1323438', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q16025544 property:P19 ?m } UNION { resource:Q1323438 property:P47 ?m } } . ?m rdf:type ontology:Q20667921 }
Ponson-Dessus Saubole Ponson-Debat-Pouts Aast Bédeille Escaunets Lombia Saint-Dié-des-Vosges
Ponson-Dessus, Saubole, Ponson-Debat-Pouts, Aast, Bédeille, Escaunets, Lombia and Saint-Dié-des-Vosges were Eugène Delaroue born at or are bordered by Séron
Ponson-Dessus Saubole Ponson-Debat-Pouts Aast Bédeille Escaunets Lombia Saint-Dié-des-Vosges
action filter_type
action union
action find
entity Eugène Delaroue
relation place of birth
action find
entity Séron
relation shares border with
type type of french administrative division
{'OR': [['Eugène Delaroue', 'place of birth', {'concept': 'type of french administrative division'}], ['Séron', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Eugène_Delaroue property:place_of_birth ?m } UNION { resource:Séron property:shares_border_with ?m } } . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q605410 Q635391
P47
Q20667921
USER
Which french administrative divisions are bordered by Ponson-Debat-Pouts or Farges-en-Septaine ?
OR((Q635391,P47,c(Q20667921)), (Q605410,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q635391
relation P47
action find
entity Q605410
relation P47
type Q20667921
{'OR': [['Q635391', 'P47', {'concept': 'Q20667921'}], ['Q605410', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q605410 property:P47 ?u } UNION { resource:Q635391 property:P47 ?u } } . ?u rdf:type ontology:Q20667921 }
Farges-en-Septaine Ponson-Debat-Pouts
action filter_type
action union
action find
entity Ponson-Debat-Pouts
relation shares border with
action find
entity Farges-en-Septaine
relation shares border with
type type of french administrative division
{'OR': [['Ponson-Debat-Pouts', 'shares border with', {'concept': 'type of french administrative division'}], ['Farges-en-Septaine', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Farges-en-Septaine property:shares_border_with ?u } UNION { resource:Ponson-Debat-Pouts property:shares_border_with ?u } } . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q197559 Q927201 Q1423764 Q686445 Q688046 Q1423648 Q1323438 Q1081465 Q928061 Q1327159
SYSTEM
Some of them are Ponson-Dessus, Tarasteix, Villabon, Montaner, Avord, Savigny-en-Septaine, Séron, Baugy, Brécy, Escaunets
Q197559 Q1423764 Q927201 Q635031 Q686445 Q1423648 Q1323438 Q688046 Q1327159 Q928061 Q1081465
OR((Q635391,P47,c(Q20667921)), (Q605410,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q635391
relation P47
action find
entity Q605410
relation P47
type Q20667921
[ANSWERS] are bordered by Ponson-Debat-Pouts or Farges-en-Septaine
{'OR': [['Q635391', 'P47', {'concept': 'Q20667921'}], ['Q605410', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q605410 property:P47 ?u } UNION { resource:Q635391 property:P47 ?u } } . ?u rdf:type ontology:Q20667921 }
Ponson-Dessus Villabon Tarasteix Nohant-en-Goût Montaner Savigny-en-Septaine Séron Avord Escaunets Brécy Baugy
Ponson-Dessus, Tarasteix, Villabon, Montaner, Avord, Savigny-en-Septaine, Séron, Baugy, Brécy and Escaunets are bordered by Ponson-Debat-Pouts or Farges-en-Septaine
Ponson-Dessus Tarasteix Villabon Montaner Avord Savigny-en-Septaine Séron Baugy Brécy Escaunets
action filter_type
action union
action find
entity Ponson-Debat-Pouts
relation shares border with
action find
entity Farges-en-Septaine
relation shares border with
type type of french administrative division
{'OR': [['Ponson-Debat-Pouts', 'shares border with', {'concept': 'type of french administrative division'}], ['Farges-en-Septaine', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Farges-en-Septaine property:shares_border_with ?u } UNION { resource:Ponson-Debat-Pouts property:shares_border_with ?u } } . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q20667921
USER
How many french administrative divisions have an adjacent border with that french administrative division ?
(c(Q20667921),P47,Q688046)
[{'concept': 'Q20667921'}, 'P47', 'Q688046']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q688046 . ?z rdf:type ontology:Q20667921 }
[{'concept': 'type of french administrative division'}, 'shares border with', 'Avord']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Avord . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Quantitative|Count|Single entity type|Clarification
Q928061
SYSTEM
Did you mean Brécy ?
(c(Q20667921),P47,Q197559) (c(Q20667921),P47,Q927201) (c(Q20667921),P47,Q1423764) (c(Q20667921),P47,Q686445) (c(Q20667921),P47,Q688046) (c(Q20667921),P47,Q1423648) (c(Q20667921),P47,Q1323438) (c(Q20667921),P47,Q1081465) (c(Q20667921),P47,Q928061) (c(Q20667921),P47,Q1327159)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q197559'] [{'concept': 'Q20667921'}, 'P47', 'Q927201'] [{'concept': 'Q20667921'}, 'P47', 'Q1423764'] [{'concept': 'Q20667921'}, 'P47', 'Q686445'] [{'concept': 'Q20667921'}, 'P47', 'Q688046'] [{'concept': 'Q20667921'}, 'P47', 'Q1423648'] [{'concept': 'Q20667921'}, 'P47', 'Q1323438'] [{'concept': 'Q20667921'}, 'P47', 'Q1081465'] [{'concept': 'Q20667921'}, 'P47', 'Q928061'] [{'concept': 'Q20667921'}, 'P47', 'Q1327159']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q688046 . ?z rdf:type ontology:Q20667921 }
Did you mean Brécy ?
Brécy
[{'concept': 'type of french administrative division'}, 'shares border with', 'Ponson-Dessus'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Tarasteix'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Villabon'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Montaner'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Avord'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Savigny-en-Septaine'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Séron'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Baugy'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Brécy'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Escaunets']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Avord . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Avord. Could you tell me the answer for that?
(c(Q20667921),P47,Q688046)
Q688046
[{'concept': 'Q20667921'}, 'P47', 'Q688046']
[{'concept': 'type of french administrative division'}, 'shares border with', 'Avord']
[]
SYSTEM
7
Q1139270 Q605410 Q1423678 Q1423648 Q1139987 Q1172274 Q1081465
(c(Q20667921),P47,Q688046)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q688046']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q688046 . ?z rdf:type ontology:Q20667921 }
Bengy-sur-Craon Farges-en-Septaine Jussy-Champagne Savigny-en-Septaine Crosses Saligny-le-Vif Baugy
7
[{'concept': 'type of french administrative division'}, 'shares border with', 'Avord']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Avord . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q244451 Q688046
P17
Q15617994
USER
Which administrative territories are Avord and Amazon basin located in ?
AND((Q688046,P17,c(Q15617994)), (Q244451,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q688046
relation P17
action find
entity Q244451
relation P17
type Q15617994
{'AND': [['Q688046', 'P17', {'concept': 'Q15617994'}], ['Q244451', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q244451 property:P17 ?k . resource:Q688046 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Amazon basin Avord
action filter_type
action intersection
action find
entity Avord
relation country
action find
entity Amazon basin
relation country
type designation for an administrative territorial entity
{'AND': [['Avord', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Amazon basin', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Amazon_basin property:country ?k . resource:Avord property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q688046,P17,c(Q15617994)), (Q244451,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q688046
relation P17
action find
entity Q244451
relation P17
type Q15617994
Avord and Amazon basin are located in [ANSWER]
{'AND': [['Q688046', 'P17', {'concept': 'Q15617994'}], ['Q244451', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q244451 property:P17 ?k . resource:Q688046 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
France
Avord and Amazon basin are located in France
France
action filter_type
action intersection
action find
entity Avord
relation country
action find
entity Amazon basin
relation country
type designation for an administrative territorial entity
{'AND': [['Avord', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Amazon basin', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Amazon_basin property:country ?k . resource:Avord property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q228 Q159
P530
Q15617994
USER
Does that administrative territory have ambassadorial relations with Andorra and Russia ?
(Q142,P530,Q228) (Q142,P530,Q159)
action is_in
entity Q142
action intersection
action find_reverse
entity Q228
relation P530
action find_reverse
entity Q159
relation P530
['Q142', 'P530', 'Q228'] ['Q142', 'P530', 'Q159']
ASK WHERE { resource:Q142 property:P530 resource:Q228 . resource:Q142 property:P530 resource:Q159 }
France Andorra Russia
action is_in
entity France
action intersection
action find_reverse
entity Andorra
relation diplomatic relation
action find_reverse
entity Russia
relation diplomatic relation
['France', 'diplomatic relation', 'Andorra'] ['France', 'diplomatic relation', 'Russia']
ASK WHERE { resource:France property:diplomatic_relation resource:Andorra . resource:France property:diplomatic_relation resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P530,Q228) (Q142,P530,Q159)
action is_in
entity Q142
action intersection
action find_reverse
entity Q228
relation P530
action find_reverse
entity Q159
relation P530
[ANSWER]
['Q142', 'P530', 'Q228'] ['Q142', 'P530', 'Q159']
ASK WHERE { resource:Q142 property:P530 resource:Q228 . resource:Q142 property:P530 resource:Q159 }
Yes
action is_in
entity France
action intersection
action find_reverse
entity Andorra
relation diplomatic relation
action find_reverse
entity Russia
relation diplomatic relation
['France', 'diplomatic relation', 'Andorra'] ['France', 'diplomatic relation', 'Russia']
ASK WHERE { resource:France property:diplomatic_relation resource:Andorra . resource:France property:diplomatic_relation resource:Russia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P1532
Q502895 Q6979593
USER
How many people or national association football teams represent France ?
(c(Q502895),P1532,Q142) (c(Q6979593),P1532,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q142
relation P1532
type Q6979593
[{'concept': 'Q502895'}, 'P1532', 'Q142'] [{'concept': 'Q6979593'}, 'P1532', 'Q142']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:P1532 resource:Q142 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P1532 resource:Q142 . ?z rdf:type ontology:Q6979593 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation country for sport
type common name
action filter_type
action find_reverse
entity France
relation country for sport
type national association football team
[{'concept': 'common name'}, 'country for sport', 'France'] [{'concept': 'national association football team'}, 'country for sport', 'France']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:country_for_sport resource:France . ?z rdf:type ontology:common_name } UNION { ?z property:country_for_sport resource:France . ?z rdf:type ontology:national_association_football_team } }
[]
common name national association football team
SYSTEM
20
Q22667577 Q3590145 Q3358507 Q24152306 Q20524784 Q751670 Q273561 Q16647692 Q20630283 Q22083801 Q25435269 Q25435278 Q20993695 Q4534660 Q32970 Q25911245 Q3590215 Q273422 Q26780559 Q21936459
(c(Q502895),P1532,Q142) (c(Q6979593),P1532,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q142
relation P1532
type Q6979593
[ANSWER]
[{'concept': 'Q502895'}, 'P1532', 'Q142'] [{'concept': 'Q6979593'}, 'P1532', 'Q142']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:P1532 resource:Q142 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P1532 resource:Q142 . ?z rdf:type ontology:Q6979593 } }
Gérald Baudouin France women's national under-17 football team Ousmane Diarra Stanley Joseph Bernard Picone France women's national football team Anne-Marie Colchen Justine Fedronic Djamel Aïteur Dylan Barbier Carolle Zahi Floriane Gnafoua Agnès Teppe France national youth football team France women's national under-19 football team Aurel Manga France Olympic football team Nicole Duclos Rodica Nagel Maeva Danois
20
action count
action union
action filter_type
action find_reverse
entity France
relation country for sport
type common name
action filter_type
action find_reverse
entity France
relation country for sport
type national association football team
[{'concept': 'common name'}, 'country for sport', 'France'] [{'concept': 'national association football team'}, 'country for sport', 'France']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:country_for_sport resource:France . ?z rdf:type ontology:common_name } UNION { ?z property:country_for_sport resource:France . ?z rdf:type ontology:national_association_football_team } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q1327159
P47 P17
Q20667921
USER
Which french administrative divisions are next to the border of Escaunets and are located in France ?
AND((c(Q20667921),P47,Q1327159), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q1327159
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q1327159'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?s WHERE { ?s property:P47 resource:Q1327159 . ?s property:P17 resource:Q142 . ?s rdf:type ontology:Q20667921 }
France Escaunets
action filter_type
action intersection
action find_reverse
entity Escaunets
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Escaunets'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?s WHERE { ?s property:shares_border_with resource:Escaunets . ?s property:country resource:France . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q959092 Q686445 Q944126 Q635391 Q857551 Q766858 Q1323438
SYSTEM
Villenave-près-Béarn, Montaner, Maure, Ponson-Debat-Pouts, Pontiacq-Viellepinte, Bédeille, Séron
Q959092 Q686445 Q944126 Q635391 Q857551 Q766858 Q1323438
AND((c(Q20667921),P47,Q1327159), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q1327159
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWERS] are next to the border of Escaunets and are located in France
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q1327159'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?s WHERE { ?s property:P47 resource:Q1327159 . ?s property:P17 resource:Q142 . ?s rdf:type ontology:Q20667921 }
Villenave-près-Béarn Montaner Maure Ponson-Debat-Pouts Pontiacq-Viellepinte Bédeille Séron
Villenave-près-Béarn, Montaner, Maure, Ponson-Debat-Pouts, Pontiacq-Viellepinte, Bédeille and Séron are next to the border of Escaunets and are located in France
Villenave-près-Béarn Montaner Maure Ponson-Debat-Pouts Pontiacq-Viellepinte Bédeille Séron
action filter_type
action intersection
action find_reverse
entity Escaunets
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Escaunets'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?s WHERE { ?s property:shares_border_with resource:Escaunets . ?s property:country resource:France . ?s rdf:type ontology:type_of_french_administrative_division }
[]