Simple Question (Direct)
Simple Question
Q4665154
P21
Q290
USER
Which sex does Abdoul Coulibaly belong to ?
(Q4665154,P21,c(Q290))
action filter_type
action find
entity Q4665154
relation P21
type Q290
['Q4665154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4665154 property:P21 ?n . ?n rdf:type ontology:Q290 }
Abdoul Coulibaly
action filter_type
action find
entity Abdoul Coulibaly
relation gender
type sex
['Abdoul Coulibaly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Abdoul_Coulibaly property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4665154,P21,c(Q290))
action filter_type
action find
entity Q4665154
relation P21
type Q290
Abdoul Coulibaly belongs to [ANSWER]
['Q4665154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4665154 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Abdoul Coulibaly belongs to male
male
action filter_type
action find
entity Abdoul Coulibaly
relation gender
type sex
['Abdoul Coulibaly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Abdoul_Coulibaly property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has the profession of that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?t WHERE { ?t property:P106 resource:Q6581097 . ?t rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?t WHERE { ?t property:occupation resource:male . ?t rdf:type ontology:common_name }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has the profession of that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?t WHERE { ?t property:P106 resource:Q6581097 . ?t rdf:type ontology:Q502895 }
Antonín Straka
Antonín Straka has the profession of that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?t WHERE { ?t property:occupation resource:male . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24877298
P19
Q486972
USER
Which human settlement is the birthplace of that person ?
(Q24877298,P19,c(Q486972))
action filter_type
action find
entity Q24877298
relation P19
type Q486972
['Q24877298', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q24877298 property:P19 ?n . ?n rdf:type ontology:Q486972 }
Antonín Straka
action filter_type
action find
entity Antonín Straka
relation place of birth
type human settlement
['Antonín Straka', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Antonín_Straka property:place_of_birth ?n . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q888865
SYSTEM
Bobrová
Q888865
(Q24877298,P19,c(Q486972))
action filter_type
action find
entity Q24877298
relation P19
type Q486972
[ANSWER] is the birthplace of that person
['Q24877298', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q24877298 property:P19 ?n . ?n rdf:type ontology:Q486972 }
Bobrová
Bobrová is the birthplace of that person
Bobrová
action filter_type
action find
entity Antonín Straka
relation place of birth
type human settlement
['Antonín Straka', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Antonín_Straka property:place_of_birth ?n . ?n rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q888865 Q5337628 Q7304270
P17
Q15617994
USER
Is that human settlement situated in Edgcumbe, Cornwall and Red Hill Community Unit School District 10 ?
(Q888865,P17,Q5337628) (Q888865,P17,Q7304270)
action is_in
entity Q888865
action intersection
action find_reverse
entity Q5337628
relation P17
action find_reverse
entity Q7304270
relation P17
['Q888865', 'P17', 'Q5337628'] ['Q888865', 'P17', 'Q7304270']
ASK WHERE { resource:Q888865 property:P17 resource:Q7304270 . resource:Q888865 property:P17 resource:Q5337628 }
Bobrová Edgcumbe, Cornwall Red Hill Community Unit School District 10
action is_in
entity Bobrová
action intersection
action find_reverse
entity Edgcumbe, Cornwall
relation country
action find_reverse
entity Red Hill Community Unit School District 10
relation country
['Bobrová', 'country', 'Edgcumbe, Cornwall'] ['Bobrová', 'country', 'Red Hill Community Unit School District 10']
ASK WHERE { resource:Bobrová property:country resource:Red_Hill_Community_Unit_School_District_10 . resource:Bobrová property:country resource:Edgcumbe,_Cornwall }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q888865,P17,Q5337628) (Q888865,P17,Q7304270)
action is_in
entity Q888865
action intersection
action find_reverse
entity Q5337628
relation P17
action find_reverse
entity Q7304270
relation P17
[ANSWER]
['Q888865', 'P17', 'Q5337628'] ['Q888865', 'P17', 'Q7304270']
ASK WHERE { resource:Q888865 property:P17 resource:Q7304270 . resource:Q888865 property:P17 resource:Q5337628 }
No
action is_in
entity Bobrová
action intersection
action find_reverse
entity Edgcumbe, Cornwall
relation country
action find_reverse
entity Red Hill Community Unit School District 10
relation country
['Bobrová', 'country', 'Edgcumbe, Cornwall'] ['Bobrová', 'country', 'Red Hill Community Unit School District 10']
ASK WHERE { resource:Bobrová property:country resource:Red_Hill_Community_Unit_School_District_10 . resource:Bobrová property:country resource:Edgcumbe,_Cornwall }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3102676 Q5337628
P27 P17
Q15617994
USER
Which administrative territories do Edgcumbe, Cornwall belong to or are the countries of citizenship of Georges Emmanuel Beuret ?
OR((Q5337628,P17,c(Q15617994)), (Q3102676,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5337628
relation P17
action find
entity Q3102676
relation P27
type Q15617994
{'OR': [['Q5337628', 'P17', {'concept': 'Q15617994'}], ['Q3102676', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q5337628 property:P17 ?g } UNION { resource:Q3102676 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Georges Emmanuel Beuret Edgcumbe, Cornwall
action filter_type
action union
action find
entity Edgcumbe, Cornwall
relation country
action find
entity Georges Emmanuel Beuret
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Edgcumbe, Cornwall', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georges Emmanuel Beuret', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Edgcumbe,_Cornwall property:country ?g } UNION { resource:Georges_Emmanuel_Beuret property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
OR((Q5337628,P17,c(Q15617994)), (Q3102676,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5337628
relation P17
action find
entity Q3102676
relation P27
type Q15617994
Edgcumbe , Cornwall belong to the [ANSWERS] or are the countries of citizenship of Georges Emmanuel Beuret
{'OR': [['Q5337628', 'P17', {'concept': 'Q15617994'}], ['Q3102676', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q5337628 property:P17 ?g } UNION { resource:Q3102676 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
France United Kingdom
Edgcumbe , Cornwall belong to the France and United Kingdom or are the countries of citizenship of Georges Emmanuel Beuret
France United Kingdom
action filter_type
action union
action find
entity Edgcumbe, Cornwall
relation country
action find
entity Georges Emmanuel Beuret
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Edgcumbe, Cornwall', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georges Emmanuel Beuret', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Edgcumbe,_Cornwall property:country ?g } UNION { resource:Georges_Emmanuel_Beuret property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q145
P47
Q15617994
USER
Which administrative territories are bordered by France and United Kingdom ?
(Q142,P47,c(Q15617994)) (Q145,P47,c(Q15617994))
action union
action filter_type
action find
entity Q142
relation P47
type Q15617994
action filter_type
action find
entity Q145
relation P47
type Q15617994
['Q142', 'P47', {'concept': 'Q15617994'}] ['Q145', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { resource:Q145 property:P47 ?i . ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q15617994 . resource:Q142 property:P47 ?i } }
France United Kingdom
action union
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United Kingdom
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { resource:United_Kingdom property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France property:shares_border_with ?i } }
[]
designation for an administrative territorial entity
Q38 Q155 Q142
SYSTEM
Italy, Brazil, France
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38 Q142 Q717 Q27
(Q142,P47,c(Q15617994)) (Q145,P47,c(Q15617994))
action union
action filter_type
action find
entity Q142
relation P47
type Q15617994
action filter_type
action find
entity Q145
relation P47
type Q15617994
And [ANSWERS] are bordered by France and United Kingdom
['Q142', 'P47', {'concept': 'Q15617994'}] ['Q145', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { resource:Q145 property:P47 ?i . ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q15617994 . resource:Q142 property:P47 ?i } }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy France Venezuela Ireland
And Italy, Brazil and France are bordered by France and United Kingdom
Italy Brazil France
action union
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United Kingdom
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { resource:United_Kingdom property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France property:shares_border_with ?i } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q38
P417
Q502895
USER
What people are the patron saint of that administrative territory ?
(Q38,P417,c(Q502895))
action filter_type
action find
entity Q38
relation P417
type Q502895
['Q38', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q38 property:P417 ?i . ?i rdf:type ontology:Q502895 }
Italy
action filter_type
action find
entity Italy
relation patron saint
type common name
['Italy', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Italy property:patron_saint ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q38 Q155 Q142
(Q38,P417,c(Q502895)) (Q155,P417,c(Q502895)) (Q142,P417,c(Q502895))
[ANSWER]
['Q38', 'P417', {'concept': 'Q502895'}] ['Q155', 'P417', {'concept': 'Q502895'}] ['Q142', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q38 property:P417 ?i . ?i rdf:type ontology:Q502895 }
Italy Brazil France
Did you mean Italy ?
Italy
['Italy', 'patron saint', {'concept': 'common name'}] ['Brazil', 'patron saint', {'concept': 'common name'}] ['France', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Italy property:patron_saint ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q38,P417,c(Q502895))
['Q38', 'P417', {'concept': 'Q502895'}]
['Italy', 'patron saint', {'concept': 'common name'}]
[]
Q676555 Q229190
SYSTEM
Francis of Assisi, Catherine of Siena
Q676555 Q229190
(Q38,P417,c(Q502895))
action filter_type
action find
entity Q38
relation P417
type Q502895
Are the patron saint of that administrative territory Saint [ANSWERS]
['Q38', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q38 property:P417 ?i . ?i rdf:type ontology:Q502895 }
Francis of Assisi Catherine of Siena
Are the patron saint of that administrative territory Saint Francis of Assisi and Catherine of Siena
Francis of Assisi Catherine of Siena
action filter_type
action find
entity Italy
relation patron saint
type common name
['Italy', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Italy property:patron_saint ?i . ?i rdf:type ontology:common_name }
[]