Simple Question (Direct)
Simple Question
Q1065910
P17
Q15617994
USER
Which administrative territory is Cronce present in ?
(Q1065910,P17,c(Q15617994))
action filter_type
action find
entity Q1065910
relation P17
type Q15617994
['Q1065910', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1065910 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Cronce
action filter_type
action find
entity Cronce
relation country
type designation for an administrative territorial entity
['Cronce', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Cronce property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1065910,P17,c(Q15617994))
action filter_type
action find
entity Q1065910
relation P17
type Q15617994
Cronce is in [ANSWER]
['Q1065910', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1065910 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
France
Cronce is in France
France
action filter_type
action find
entity Cronce
relation country
type designation for an administrative territorial entity
['Cronce', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Cronce property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1065910
P47
Q20667921
USER
Which french administrative divisions have an adjacent border with that one ?
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1065910
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?t WHERE { resource:Q1065910 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Cronce
action filter_type
action find
entity Cronce
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?t WHERE { resource:Cronce property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q270994 Q1064464 Q1065922
SYSTEM
Pinols, Chastel, Arlet
Q1065922 Q1064464 Q653106 Q273364 Q270994 Q272832
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1065910
relation P47
type Q20667921
[ANSWERS] have an adjacent border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?t WHERE { resource:Q1065910 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Arlet Chastel Chazelles Saint-Austremoine Pinols Ferrussac
Pinols, Chastel and Arlet have an adjacent border with that one
Pinols Chastel Arlet
action filter_type
action find
entity Cronce
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?t WHERE { resource:Cronce property:shares_border_with ?t . ?t 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,Q1064464)
[{'concept': 'Q20667921'}, 'P47', 'Q1064464']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q344533 . ?z rdf:type ontology:Q20667921 }
[{'concept': 'type of french administrative division'}, 'shares border with', 'Chastel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Chastel . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Quantitative|Count|Single entity type|Clarification
Q1065922
SYSTEM
Did you mean Arlet ?
(c(Q20667921),P47,Q270994) (c(Q20667921),P47,Q1064464) (c(Q20667921),P47,Q1065922)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q270994'] [{'concept': 'Q20667921'}, 'P47', 'Q1064464'] [{'concept': 'Q20667921'}, 'P47', 'Q1065922']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q344533 . ?z rdf:type ontology:Q20667921 }
Did you mean Arlet ?
Arlet
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pinols'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Chastel'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Arlet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Chastel . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Chastel. Could you tell me the answer for that?
(c(Q20667921),P47,Q1064464)
Q1064464
[{'concept': 'Q20667921'}, 'P47', 'Q1064464']
[{'concept': 'type of french administrative division'}, 'shares border with', 'Chastel']
[]
SYSTEM
7
Q268730 Q805084 Q242391 Q653106 Q270994 Q1065910 Q665533
(c(Q20667921),P47,Q1064464)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q1064464']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q344533 . ?z rdf:type ontology:Q20667921 }
Soulages Clavières Védrines-Saint-Loup Chazelles Pinols Cronce Rageade
7
[{'concept': 'type of french administrative division'}, 'shares border with', 'Chastel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Chastel . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q981684 Q1064464
P27 P17
Q15617994
USER
Which administrative territories are Chastel present in and are the native countriesof Serge Akakpo ?
AND((Q1064464,P17,c(Q15617994)), (Q981684,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1064464
relation P17
action find
entity Q981684
relation P27
type Q15617994
{'AND': [['Q1064464', 'P17', {'concept': 'Q15617994'}], ['Q981684', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q1064464 property:P17 ?y . resource:Q981684 property:P27 ?y }
Serge Akakpo Chastel
action filter_type
action intersection
action find
entity Chastel
relation country
action find
entity Serge Akakpo
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Chastel', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Serge Akakpo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chastel property:country ?y . resource:Serge_Akakpo property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q1064464,P17,c(Q15617994)), (Q981684,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1064464
relation P17
action find
entity Q981684
relation P27
type Q15617994
Chastel are from [ANSWER] and are the native countriesof Serge Akakpo
{'AND': [['Q1064464', 'P17', {'concept': 'Q15617994'}], ['Q981684', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q1064464 property:P17 ?y . resource:Q981684 property:P27 ?y }
France
Chastel are from France and are the native countriesof Serge Akakpo
France
action filter_type
action intersection
action find
entity Chastel
relation country
action find
entity Serge Akakpo
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Chastel', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Serge Akakpo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chastel property:country ?y . resource:Serge_Akakpo property:country_of_citizenship ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q18414054
P27
Q502895
USER
Is Daniel Keller a citizen of that administrative territory ?
(Q18414054,P27,Q142)
action is_in
entity Q142
action find
entity Q18414054
relation P27
['Q18414054', 'P27', 'Q142']
ASK WHERE { resource:Q18414054 property:P27 resource:Q142 }
France Daniel Keller
action is_in
entity France
action find
entity Daniel Keller
relation country of citizenship
['Daniel Keller', 'country of citizenship', 'France']
ASK WHERE { resource:Daniel_Keller property:country_of_citizenship resource:France }
[]
common name
SYSTEM
YES
(Q18414054,P27,Q142)
action is_in
entity Q142
action find
entity Q18414054
relation P27
[ANSWER]
['Q18414054', 'P27', 'Q142']
ASK WHERE { resource:Q18414054 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Daniel Keller
relation country of citizenship
['Daniel Keller', 'country of citizenship', 'France']
ASK WHERE { resource:Daniel_Keller property:country_of_citizenship resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P276
Q15259995
USER
What is situated at that administrative territory ?
action filter_type
action find_reverse
entity Q142
relation P276
type Q15259995
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15259995 . ?g property:P276 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation location
type recurring tournament
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:recurring_tournament . ?g property:location resource:France }
[]
recurring tournament
Q542737
SYSTEM
2017 World Men's Handball Championship
Q542737
action filter_type
action find_reverse
entity Q142
relation P276
type Q15259995
[ANSWER] is situated at that administrative territory
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15259995 . ?g property:P276 resource:Q142 }
2017 World Men's Handball Championship
2017 World Men's Handball Championship is situated at that administrative territory
2017 World Men's Handball Championship
action filter_type
action find_reverse
entity France
relation location
type recurring tournament
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:recurring_tournament . ?g property:location resource:France }
[]