Simple Question (Direct)
Simple Question
Q7911135
P21
Q290
USER
Which sex does Valeri Georgiev belong to ?
(Q7911135,P21,c(Q290))
action filter_type
action find
entity Q7911135
relation P21
type Q290
['Q7911135', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7911135 property:P21 ?j . ?j rdf:type ontology:Q290 }
Valeri Georgiev
action filter_type
action find
entity Valeri Georgiev
relation gender
type sex
['Valeri Georgiev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Valeri_Georgiev property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7911135,P21,c(Q290))
action filter_type
action find
entity Q7911135
relation P21
type Q290
Valeri Georgiev belongs to [ANSWER]
['Q7911135', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7911135 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Valeri Georgiev belongs to male
male
action filter_type
action find
entity Valeri Georgiev
relation gender
type sex
['Valeri Georgiev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Valeri_Georgiev property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7911135
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q7911135
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7911135 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Valeri Georgiev
action filter_type
action find
entity Valeri Georgiev
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Valeri_Georgiev property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q7911135
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7911135 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Bulgaria
The Bulgaria is that person a civilian of
Bulgaria
action filter_type
action find
entity Valeri Georgiev
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Valeri_Georgiev property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16235378 Q7911135
P19
Q56061
USER
Which administrative territories are the birthplace of Valeri Georgiev or Abraham Frimpong ?
OR((Q7911135,P19,c(Q56061)), (Q16235378,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7911135
relation P19
action find
entity Q16235378
relation P19
type Q56061
{'OR': [['Q7911135', 'P19', {'concept': 'Q56061'}], ['Q16235378', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { ?u property:P19 ?z . VALUES ( ?u ) { ( resource:Q7911135 ) ( resource:Q16235378 ) } } . ?z rdf:type ontology:Q56061 }
Abraham Frimpong Valeri Georgiev
action filter_type
action union
action find
entity Valeri Georgiev
relation place of birth
action find
entity Abraham Frimpong
relation place of birth
type administrative territorial entity
{'OR': [['Valeri Georgiev', 'place of birth', {'concept': 'administrative territorial entity'}], ['Abraham Frimpong', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?u property:place_of_birth ?z . VALUES ( ?u ) { ( resource:Valeri_Georgiev ) ( resource:Abraham_Frimpong ) } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q173277 Q3761
SYSTEM
Blagoevgrad, Accra
Q173277 Q3761
OR((Q7911135,P19,c(Q56061)), (Q16235378,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7911135
relation P19
action find
entity Q16235378
relation P19
type Q56061
[ANSWERS] are the birthplace of Valeri Georgiev or Abraham Frimpong
{'OR': [['Q7911135', 'P19', {'concept': 'Q56061'}], ['Q16235378', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { ?u property:P19 ?z . VALUES ( ?u ) { ( resource:Q7911135 ) ( resource:Q16235378 ) } } . ?z rdf:type ontology:Q56061 }
Blagoevgrad Accra
Blagoevgrad and Accra are the birthplace of Valeri Georgiev or Abraham Frimpong
Blagoevgrad Accra
action filter_type
action union
action find
entity Valeri Georgiev
relation place of birth
action find
entity Abraham Frimpong
relation place of birth
type administrative territorial entity
{'OR': [['Valeri Georgiev', 'place of birth', {'concept': 'administrative territorial entity'}], ['Abraham Frimpong', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?u property:place_of_birth ?z . VALUES ( ?u ) { ( resource:Valeri_Georgiev ) ( resource:Abraham_Frimpong ) } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q173277 Q3761
P190
Q56061
USER
Which administrative territories are sister town of those ones ?
(c(Q56061),P190,Q173277) (c(Q56061),P190,Q3761)
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q173277'] [{'concept': 'Q56061'}, 'P190', 'Q3761']
SELECT DISTINCT ?k WHERE { VALUES ( ?f ) { ( resource:Q173277 ) ( resource:Q3761 ) } . ?f property:P190 ?k . ?k rdf:type ontology:Q56061 }
Blagoevgrad Accra
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Blagoevgrad'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Accra']
SELECT DISTINCT ?k WHERE { VALUES ( ?f ) { ( resource:Blagoevgrad ) ( resource:Accra ) } . ?f property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1297 Q61 Q130212
SYSTEM
Chicago, Washington, D.C., Székesfehérvár
Q157738 Q206957 Q25797 Q13386 Q130212 Q1297 Q34647 Q61
(c(Q56061),P190,Q173277) (c(Q56061),P190,Q3761)
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS] are sister town of those ones
[{'concept': 'Q56061'}, 'P190', 'Q173277'] [{'concept': 'Q56061'}, 'P190', 'Q3761']
SELECT DISTINCT ?k WHERE { VALUES ( ?f ) { ( resource:Q173277 ) ( resource:Q3761 ) } . ?f property:P190 ?k . ?k rdf:type ontology:Q56061 }
Delčevo Serres Žilina Lecce Székesfehérvár Chicago Johannesburg Washington, D.C.
Chicago, Washington, D.C. and Székesfehérvár are sister town of those ones
Chicago Washington, D.C. Székesfehérvár
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Blagoevgrad'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Accra']
SELECT DISTINCT ?k WHERE { VALUES ( ?f ) { ( resource:Blagoevgrad ) ( resource:Accra ) } . ?f property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q130212
P47
Q56061
USER
Which administrative territory is adjacent to that one ?
(Q130212,P47,c(Q56061))
action filter_type
action find
entity Q130212
relation P47
type Q56061
['Q130212', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q130212 property:P47 ?r . ?r rdf:type ontology:Q56061 }
Székesfehérvár
action filter_type
action find
entity Székesfehérvár
relation shares border with
type administrative territorial entity
['Székesfehérvár', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Székesfehérvár property:shares_border_with ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q1297
SYSTEM
Did you mean Chicago ?
Q1297 Q61 Q130212
(Q1297,P47,c(Q56061)) (Q61,P47,c(Q56061)) (Q130212,P47,c(Q56061))
[ANSWER]
['Q1297', 'P47', {'concept': 'Q56061'}] ['Q61', 'P47', {'concept': 'Q56061'}] ['Q130212', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q130212 property:P47 ?r . ?r rdf:type ontology:Q56061 }
Chicago Washington, D.C. Székesfehérvár
Did you mean Chicago ?
Chicago
['Chicago', 'shares border with', {'concept': 'administrative territorial entity'}] ['Washington, D.C.', 'shares border with', {'concept': 'administrative territorial entity'}] ['Székesfehérvár', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Székesfehérvár property:shares_border_with ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Székesfehérvár. Could you tell me the answer for that?
(Q130212,P47,c(Q56061))
Q130212
['Q130212', 'P47', {'concept': 'Q56061'}]
['Székesfehérvár', 'shares border with', {'concept': 'administrative territorial entity'}]
[]
Q202162
SYSTEM
Aba
Q202162
(Q130212,P47,c(Q56061))
action filter_type
action find
entity Q130212
relation P47
type Q56061
[ANSWER] is adjacent to that one
['Q130212', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q130212 property:P47 ?r . ?r rdf:type ontology:Q56061 }
Aba
Aba is adjacent to that one
Aba
action filter_type
action find
entity Székesfehérvár
relation shares border with
type administrative territorial entity
['Székesfehérvár', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Székesfehérvár property:shares_border_with ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q202162 Q5776571 Q130212
P47
Q56061
USER
Is Aba bordered by Sarzeh, Jiroft and Székesfehérvár ?
(Q202162,P47,Q5776571) (Q202162,P47,Q130212)
action is_in
entity Q202162
action intersection
action find_reverse
entity Q5776571
relation P47
action find_reverse
entity Q130212
relation P47
['Q202162', 'P47', 'Q5776571'] ['Q202162', 'P47', 'Q130212']
ASK WHERE { resource:Q202162 property:P47 resource:Q5776571 . resource:Q202162 property:P47 resource:Q130212 }
Aba Sarzeh, Jiroft Székesfehérvár
action is_in
entity Aba
action intersection
action find_reverse
entity Sarzeh, Jiroft
relation shares border with
action find_reverse
entity Székesfehérvár
relation shares border with
['Aba', 'shares border with', 'Sarzeh, Jiroft'] ['Aba', 'shares border with', 'Székesfehérvár']
ASK WHERE { resource:Aba property:shares_border_with resource:Sarzeh,_Jiroft . resource:Aba property:shares_border_with resource:Székesfehérvár }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q202162,P47,Q5776571) (Q202162,P47,Q130212)
action is_in
entity Q202162
action intersection
action find_reverse
entity Q5776571
relation P47
action find_reverse
entity Q130212
relation P47
[ANSWER]
['Q202162', 'P47', 'Q5776571'] ['Q202162', 'P47', 'Q130212']
ASK WHERE { resource:Q202162 property:P47 resource:Q5776571 . resource:Q202162 property:P47 resource:Q130212 }
NO and YES respectively
action is_in
entity Aba
action intersection
action find_reverse
entity Sarzeh, Jiroft
relation shares border with
action find_reverse
entity Székesfehérvár
relation shares border with
['Aba', 'shares border with', 'Sarzeh, Jiroft'] ['Aba', 'shares border with', 'Székesfehérvár']
ASK WHERE { resource:Aba property:shares_border_with resource:Sarzeh,_Jiroft . resource:Aba property:shares_border_with resource:Székesfehérvár }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q61 Q23
P138
Q502895
USER
Is George Washington Washington, D.C. named after ?
(Q61,P138,Q23)
action is_in
entity Q23
action find
entity Q61
relation P138
['Q61', 'P138', 'Q23']
ASK WHERE { resource:Q61 property:P138 resource:Q23 }
Washington, D.C. George Washington
action is_in
entity George Washington
action find
entity Washington, D.C.
relation named after
['Washington, D.C.', 'named after', 'George Washington']
ASK WHERE { resource:Washington,_D.C. property:named_after resource:George_Washington }
[]
common name
SYSTEM
YES
(Q61,P138,Q23)
action is_in
entity Q23
action find
entity Q61
relation P138
[ANSWER]
['Q61', 'P138', 'Q23']
ASK WHERE { resource:Q61 property:P138 resource:Q23 }
Yes
action is_in
entity George Washington
action find
entity Washington, D.C.
relation named after
['Washington, D.C.', 'named after', 'George Washington']
ASK WHERE { resource:Washington,_D.C. property:named_after resource:George_Washington }
[]