Simple Question (Direct)
Simple Question
Q4055431
P21
Q290
USER
What is the sex of Nikolay Avvakumov ?
(Q4055431,P21,c(Q290))
action filter_type
action find
entity Q4055431
relation P21
type Q290
['Q4055431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4055431 property:P21 ?c . ?c rdf:type ontology:Q290 }
Nikolay Avvakumov
action filter_type
action find
entity Nikolay Avvakumov
relation gender
type sex
['Nikolay Avvakumov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Nikolay_Avvakumov property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4055431,P21,c(Q290))
action filter_type
action find
entity Q4055431
relation P21
type Q290
The sex of Nikolay Avvakumov is the [ANSWER]
['Q4055431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4055431 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of Nikolay Avvakumov is the male
male
action filter_type
action find
entity Nikolay Avvakumov
relation gender
type sex
['Nikolay Avvakumov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Nikolay_Avvakumov property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4055431
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q4055431
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q4055431 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Nikolay Avvakumov
action filter_type
action find
entity Nikolay Avvakumov
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nikolay_Avvakumov property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q4055431
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q4055431 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Russia
The Russia is the country of citizenship of that person
Russia
action filter_type
action find
entity Nikolay Avvakumov
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nikolay_Avvakumov property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5218065 Q4055431
P19
Q56061
USER
Which administrative territories are the places of birth of Nikolay Avvakumov or Daniel Marín ?
OR((Q4055431,P19,c(Q56061)), (Q5218065,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4055431
relation P19
action find
entity Q5218065
relation P19
type Q56061
{'OR': [['Q4055431', 'P19', {'concept': 'Q56061'}], ['Q5218065', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { VALUES ( ?e ) { ( resource:Q4055431 ) ( resource:Q5218065 ) } . ?e property:P19 ?a } }
Daniel Marín Nikolay Avvakumov
action filter_type
action union
action find
entity Nikolay Avvakumov
relation place of birth
action find
entity Daniel Marín
relation place of birth
type administrative territorial entity
{'OR': [['Nikolay Avvakumov', 'place of birth', {'concept': 'administrative territorial entity'}], ['Daniel Marín', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { VALUES ( ?e ) { ( resource:Nikolay_Avvakumov ) ( resource:Daniel_Marín ) } . ?e property:place_of_birth ?a } }
[]
administrative territorial entity
Q1492 Q649
SYSTEM
Barcelona, Moscow
Q1492 Q649
OR((Q4055431,P19,c(Q56061)), (Q5218065,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4055431
relation P19
action find
entity Q5218065
relation P19
type Q56061
[ANSWERS] are the places of birth of Nikolay Avvakumov or Daniel Marín
{'OR': [['Q4055431', 'P19', {'concept': 'Q56061'}], ['Q5218065', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { VALUES ( ?e ) { ( resource:Q4055431 ) ( resource:Q5218065 ) } . ?e property:P19 ?a } }
Barcelona Moscow
Barcelona and Moscow are the places of birth of Nikolay Avvakumov or Daniel Marín
Barcelona Moscow
action filter_type
action union
action find
entity Nikolay Avvakumov
relation place of birth
action find
entity Daniel Marín
relation place of birth
type administrative territorial entity
{'OR': [['Nikolay Avvakumov', 'place of birth', {'concept': 'administrative territorial entity'}], ['Daniel Marín', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { VALUES ( ?e ) { ( resource:Nikolay_Avvakumov ) ( resource:Daniel_Marín ) } . ?e property:place_of_birth ?a } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q649
P608
Q80071
USER
Which symbol was displayed at that administrative territory ?
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?x WHERE { ?x property:P608 resource:Q649 . ?x rdf:type ontology:Q80071 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?x WHERE { ?x property:exhibition_history resource:Moscow . ?x rdf:type ontology:symbol }
[]
symbol
Clarification for simple ques.
Q1492
SYSTEM
Did you mean Barcelona ?
Q1492 Q649
(c(Q80071),P608,Q1492) (c(Q80071),P608,Q649)
[ANSWER]
[{'concept': 'Q80071'}, 'P608', 'Q1492'] [{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?x WHERE { ?x property:P608 resource:Q649 . ?x rdf:type ontology:Q80071 }
Barcelona Moscow
Did you mean Barcelona ?
Barcelona
[{'concept': 'symbol'}, 'exhibition history', 'Barcelona'] [{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?x WHERE { ?x property:exhibition_history resource:Moscow . ?x rdf:type ontology:symbol }
[]
Simple Question (Coreferenced)
USER
No, I meant Moscow. Could you tell me the answer for that?
(c(Q80071),P608,Q649)
Q649
[{'concept': 'Q80071'}, 'P608', 'Q649']
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
[]
Q2635667
SYSTEM
Cross of Saint Euphrosyne
Q2635667
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[ANSWER] was displayed at that administrative territory
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?x WHERE { ?x property:P608 resource:Q649 . ?x rdf:type ontology:Q80071 }
Cross of Saint Euphrosyne
Cross of Saint Euphrosyne was displayed at that administrative territory
Cross of Saint Euphrosyne
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?x WHERE { ?x property:exhibition_history resource:Moscow . ?x rdf:type ontology:symbol }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2635667
P186
Q16521
USER
Which taxon is used to construct that symbol ?
(Q2635667,P186,c(Q16521))
action filter_type
action find
entity Q2635667
relation P186
type Q16521
['Q2635667', 'P186', {'concept': 'Q16521'}]
SELECT DISTINCT ?l WHERE { resource:Q2635667 property:P186 ?l . ?l rdf:type ontology:Q16521 }
Cross of Saint Euphrosyne
action filter_type
action find
entity Cross of Saint Euphrosyne
relation material used
type taxon
['Cross of Saint Euphrosyne', 'material used', {'concept': 'taxon'}]
SELECT DISTINCT ?l WHERE { resource:Cross_of_Saint_Euphrosyne property:material_used ?l . ?l rdf:type ontology:taxon }
[]
taxon
Q146911
SYSTEM
Cupressus
Q146911
(Q2635667,P186,c(Q16521))
action filter_type
action find
entity Q2635667
relation P186
type Q16521
[ANSWER] is used to construct that symbol
['Q2635667', 'P186', {'concept': 'Q16521'}]
SELECT DISTINCT ?l WHERE { resource:Q2635667 property:P186 ?l . ?l rdf:type ontology:Q16521 }
Cupressus
Cupressus is used to construct that symbol
Cupressus
action filter_type
action find
entity Cross of Saint Euphrosyne
relation material used
type taxon
['Cross of Saint Euphrosyne', 'material used', {'concept': 'taxon'}]
SELECT DISTINCT ?l WHERE { resource:Cross_of_Saint_Euphrosyne property:material_used ?l . ?l rdf:type ontology:taxon }
[]