Simple Question (Direct)
Simple Question
Q3314554
P512
Q3412758
USER
What degree or diploma was awarded to Milutin Uskoković ?
(Q3314554,P512,c(Q3412758))
action filter_type
action find
entity Q3314554
relation P512
type Q3412758
['Q3314554', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?a WHERE { resource:Q3314554 property:P512 ?a . ?a rdf:type ontology:Q3412758 }
Milutin Uskoković
action filter_type
action find
entity Milutin Uskoković
relation academic degree
type qualification
['Milutin Uskoković', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?a WHERE { resource:Milutin_Uskoković property:academic_degree ?a . ?a rdf:type ontology:qualification }
[]
qualification
Q959320
SYSTEM
Doctor of Law
Q959320
(Q3314554,P512,c(Q3412758))
action filter_type
action find
entity Q3314554
relation P512
type Q3412758
[ANSWER] was awarded to Milutin Uskoković
['Q3314554', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?a WHERE { resource:Q3314554 property:P512 ?a . ?a rdf:type ontology:Q3412758 }
Doctor of Law
Doctor of Law was awarded to Milutin Uskoković
Doctor of Law
action filter_type
action find
entity Milutin Uskoković
relation academic degree
type qualification
['Milutin Uskoković', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?a WHERE { resource:Milutin_Uskoković property:academic_degree ?a . ?a rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3314554
P27
Q15617994
USER
Which administrative territory is Milutin Uskoković a civilian of ?
(Q3314554,P27,c(Q15617994))
action filter_type
action find
entity Q3314554
relation P27
type Q15617994
['Q3314554', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3314554 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Milutin Uskoković
action filter_type
action find
entity Milutin Uskoković
relation country of citizenship
type designation for an administrative territorial entity
['Milutin Uskoković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Milutin_Uskoković property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q3314554,P27,c(Q15617994))
action filter_type
action find
entity Q3314554
relation P27
type Q15617994
[ANSWER] is Milutin Uskoković a civilian of
['Q3314554', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3314554 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Serbia
Serbia is Milutin Uskoković a civilian of
Serbia
action filter_type
action find
entity Milutin Uskoković
relation country of citizenship
type designation for an administrative territorial entity
['Milutin Uskoković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Milutin_Uskoković property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3314554
P19
Q56061
USER
Where was that person born ?
(Q403,P19,c(Q56061))
action filter_type
action find
entity Q3314554
relation P19
type Q56061
['Q403', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3314554 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Milutin Uskoković
action filter_type
action find
entity Milutin Uskoković
relation place of birth
type administrative territorial entity
['Serbia', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Milutin_Uskoković property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q59473
SYSTEM
Užice
Q59473
(Q403,P19,c(Q56061))
action filter_type
action find
entity Q3314554
relation P19
type Q56061
That person was born in [ANSWER]
['Q403', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3314554 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Užice
That person was born in Užice
Užice
action filter_type
action find
entity Milutin Uskoković
relation place of birth
type administrative territorial entity
['Serbia', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Milutin_Uskoković property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1333051 Q3314554
P19
Q56061
USER
Or Elmo Hope?
OR((Q3314554,P19,c(Q56061)), (Q1333051,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3314554
relation P19
action find
entity Q1333051
relation P19
type Q56061
{'OR': [['Q3314554', 'P19', {'concept': 'Q56061'}], ['Q1333051', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3314554 property:P19 ?j } UNION { resource:Q1333051 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Elmo Hope Milutin Uskoković
action filter_type
action union
action find
entity Milutin Uskoković
relation place of birth
action find
entity Elmo Hope
relation place of birth
type administrative territorial entity
{'OR': [['Milutin Uskoković', 'place of birth', {'concept': 'administrative territorial entity'}], ['Elmo Hope', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Milutin_Uskoković property:place_of_birth ?j } UNION { resource:Elmo_Hope property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q59473
SYSTEM
New York City, Užice
Q60 Q59473
OR((Q3314554,P19,c(Q56061)), (Q1333051,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3314554
relation P19
action find
entity Q1333051
relation P19
type Q56061
Elmo Hope in [ANSWERS] Or
{'OR': [['Q3314554', 'P19', {'concept': 'Q56061'}], ['Q1333051', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3314554 property:P19 ?j } UNION { resource:Q1333051 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
New York City Užice
Elmo Hope in New York City and Užice Or
New York City Užice
action filter_type
action union
action find
entity Milutin Uskoković
relation place of birth
action find
entity Elmo Hope
relation place of birth
type administrative territorial entity
{'OR': [['Milutin Uskoković', 'place of birth', {'concept': 'administrative territorial entity'}], ['Elmo Hope', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Milutin_Uskoković property:place_of_birth ?j } UNION { resource:Elmo_Hope property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q59473
P127
Q483110
USER
Which stadium is owned by that administrative territory ?
(c(Q483110),P127,Q59473)
action filter_type
action find_reverse
entity Q59473
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q59473']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q59473 . ?x rdf:type ontology:Q483110 }
Užice
action filter_type
action find_reverse
entity Užice
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Užice']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Užice . ?x rdf:type ontology:stadium }
[]
stadium
Clarification for simple ques.
Q59473
SYSTEM
Did you mean Užice ?
Q60 Q59473
(c(Q483110),P127,Q60) (c(Q483110),P127,Q59473)
[ANSWER]
[{'concept': 'Q483110'}, 'P127', 'Q60'] [{'concept': 'Q483110'}, 'P127', 'Q59473']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q59473 . ?x rdf:type ontology:Q483110 }
New York City Užice
Did you mean Užice ?
Užice
[{'concept': 'stadium'}, 'owned by', 'New York City'] [{'concept': 'stadium'}, 'owned by', 'Užice']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Užice . ?x rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q483110),P127,Q59473)
[{'concept': 'Q483110'}, 'P127', 'Q59473']
[{'concept': 'stadium'}, 'owned by', 'Užice']
[]
Q6591266
SYSTEM
Užice City Stadium
Q6591266
(c(Q483110),P127,Q59473)
action filter_type
action find_reverse
entity Q59473
relation P127
type Q483110
[ANSWER] is owned by that administrative territory
[{'concept': 'Q483110'}, 'P127', 'Q59473']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q59473 . ?x rdf:type ontology:Q483110 }
Užice City Stadium
Užice City Stadium is owned by that administrative territory
Užice City Stadium
action filter_type
action find_reverse
entity Užice
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Užice']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Užice . ?x rdf:type ontology:stadium }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6591266 Q403
P17
Q15617994
USER
Is Užice City Stadium situated in Serbia ?
(Q6591266,P17,Q403)
action is_in
entity Q403
action find
entity Q6591266
relation P17
['Q6591266', 'P17', 'Q403']
ASK WHERE { resource:Q6591266 property:P17 resource:Q403 }
Užice City Stadium Serbia
action is_in
entity Serbia
action find
entity Užice City Stadium
relation country
['Užice City Stadium', 'country', 'Serbia']
ASK WHERE { resource:Užice_City_Stadium property:country resource:Serbia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6591266,P17,Q403)
action is_in
entity Q403
action find
entity Q6591266
relation P17
[ANSWER]
['Q6591266', 'P17', 'Q403']
ASK WHERE { resource:Q6591266 property:P17 resource:Q403 }
Yes
action is_in
entity Serbia
action find
entity Užice City Stadium
relation country
['Užice City Stadium', 'country', 'Serbia']
ASK WHERE { resource:Užice_City_Stadium property:country resource:Serbia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6591266
P127
Q56061
USER
Who is the owner of Užice City Stadium ?
(Q6591266,P127,c(Q56061))
action filter_type
action find
entity Q6591266
relation P127
type Q56061
['Q6591266', 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q6591266 property:P127 ?q . ?q rdf:type ontology:Q56061 }
Užice City Stadium
action filter_type
action find
entity Užice City Stadium
relation owned by
type administrative territorial entity
['Užice City Stadium', 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Užice_City_Stadium property:owned_by ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q59473
SYSTEM
Užice
Q59473
(Q6591266,P127,c(Q56061))
action filter_type
action find
entity Q6591266
relation P127
type Q56061
The owner of [ANSWER] City Stadium is also [ANSWER]
['Q6591266', 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q6591266 property:P127 ?q . ?q rdf:type ontology:Q56061 }
Užice
The owner of Užice City Stadium is also Užice
Užice
action filter_type
action find
entity Užice City Stadium
relation owned by
type administrative territorial entity
['Užice City Stadium', 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Užice_City_Stadium property:owned_by ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q59473
P190
Q56061
USER
Which administrative territories are sister towns of that one ?
(Q59473,P190,c(Q56061))
action filter_type
action find
entity Q59473
relation P190
type Q56061
['Q59473', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q59473 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Užice
action filter_type
action find
entity Užice
relation sister city
type administrative territorial entity
['Užice', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Užice property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3159 Q496567 Q201722
SYSTEM
Kursk, Eibar, Veroia
Q201722 Q3159 Q496567 Q157050
(Q59473,P190,c(Q56061))
action filter_type
action find
entity Q59473
relation P190
type Q56061
[ANSWERS] are sister towns of that one
['Q59473', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q59473 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Veroia Kursk Eibar Veles
Kursk, Eibar and Veroia are sister towns of that one
Kursk Eibar Veroia
action filter_type
action find
entity Užice
relation sister city
type administrative territorial entity
['Užice', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Užice property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q201722
P706
Q207299
USER
Which administrative region of Greece is that administrative territory located on ?
(Q201722,P706,c(Q207299))
action filter_type
action find
entity Q201722
relation P706
type Q207299
['Q201722', 'P706', {'concept': 'Q207299'}]
SELECT DISTINCT ?y WHERE { resource:Q201722 property:P706 ?y . ?y rdf:type ontology:Q207299 }
Veroia
action filter_type
action find
entity Veroia
relation located on terrain feature
type administrative region of Greece
['Veroia', 'located on terrain feature', {'concept': 'administrative region of Greece'}]
SELECT DISTINCT ?y WHERE { resource:Veroia property:located_on_terrain_feature ?y . ?y rdf:type ontology:administrative_region_of_Greece }
[]
administrative region of Greece
Clarification for simple ques.
Q496567
SYSTEM
Did you mean Eibar ?
Q3159 Q496567 Q201722
(Q3159,P706,c(Q207299)) (Q496567,P706,c(Q207299)) (Q201722,P706,c(Q207299))
[ANSWER]
['Q3159', 'P706', {'concept': 'Q207299'}] ['Q496567', 'P706', {'concept': 'Q207299'}] ['Q201722', 'P706', {'concept': 'Q207299'}]
SELECT DISTINCT ?y WHERE { resource:Q201722 property:P706 ?y . ?y rdf:type ontology:Q207299 }
Kursk Eibar Veroia
Did you mean Eibar ?
Eibar
['Kursk', 'located on terrain feature', {'concept': 'administrative region of Greece'}] ['Eibar', 'located on terrain feature', {'concept': 'administrative region of Greece'}] ['Veroia', 'located on terrain feature', {'concept': 'administrative region of Greece'}]
SELECT DISTINCT ?y WHERE { resource:Veroia property:located_on_terrain_feature ?y . ?y rdf:type ontology:administrative_region_of_Greece }
[]
Simple Question (Coreferenced)
USER
No, I meant Veroia. Could you tell me the answer for that?
(Q201722,P706,c(Q207299))
Q201722
['Q201722', 'P706', {'concept': 'Q207299'}]
['Veroia', 'located on terrain feature', {'concept': 'administrative region of Greece'}]
[]
Q17152
SYSTEM
Central Macedonia Region
Q17152
(Q201722,P706,c(Q207299))
action filter_type
action find
entity Q201722
relation P706
type Q207299
Which administrative region of Greece is that administrative territory located on
['Q201722', 'P706', {'concept': 'Q207299'}]
SELECT DISTINCT ?y WHERE { resource:Q201722 property:P706 ?y . ?y rdf:type ontology:Q207299 }
Central Macedonia Region
Which administrative region of Greece is that administrative territory located on
Central Macedonia Region
action filter_type
action find
entity Veroia
relation located on terrain feature
type administrative region of Greece
['Veroia', 'located on terrain feature', {'concept': 'administrative region of Greece'}]
SELECT DISTINCT ?y WHERE { resource:Veroia property:located_on_terrain_feature ?y . ?y rdf:type ontology:administrative_region_of_Greece }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12996
P6
Q502895
USER
Which person is Ostend the head of goverment of ?
(Q12996,P6,c(Q502895))
action filter_type
action find
entity Q12996
relation P6
type Q502895
['Q12996', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q12996 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Ostend
action filter_type
action find
entity Ostend
relation head of government
type common name
['Ostend', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Ostend property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
common name
Q2397200
SYSTEM
Jean Vandecasteele
Q2397200
(Q12996,P6,c(Q502895))
action filter_type
action find
entity Q12996
relation P6
type Q502895
[ANSWER] is Ostend the head of goverment of
['Q12996', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q12996 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Jean Vandecasteele
Jean Vandecasteele is Ostend the head of goverment of
Jean Vandecasteele
action filter_type
action find
entity Ostend
relation head of government
type common name
['Ostend', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Ostend property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q165459
Q502895
USER
And also tell me about Satu Mare County?
(Q165459,P6,c(Q502895))
action filter_type
action find
entity Q165459
relation P6
type Q502895
['Q165459', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q165459 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Satu Mare County
action filter_type
action find
entity Satu Mare County
relation head of government
type common name
['Satu Mare County', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Satu_Mare_County property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
common name
Q21539096
SYSTEM
Csaba Pataki
Q21539096
(Q165459,P6,c(Q502895))
action filter_type
action find
entity Q165459
relation P6
type Q502895
[ANSWER]
['Q165459', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q165459 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Csaba Pataki
Csaba Pataki
action filter_type
action find
entity Satu Mare County
relation head of government
type common name
['Satu Mare County', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Satu_Mare_County property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2397200 Q3753803
P27
Q15617994
USER
How many administrative territories are the native countriesof Jean Vandecasteele or President of Navarre ?
(Q2397200,P27,c(Q15617994)) (Q3753803,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2397200
relation P27
type Q15617994
action filter_type
action find
entity Q3753803
relation P27
type Q15617994
['Q2397200', 'P27', {'concept': 'Q15617994'}] ['Q3753803', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { resource:Q2397200 property:P27 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q3753803 property:P27 ?p . ?p rdf:type ontology:Q15617994 } }
Jean Vandecasteele President of Navarre
action count
action union
action filter_type
action find
entity Jean Vandecasteele
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity President of Navarre
relation country of citizenship
type designation for an administrative territorial entity
['Jean Vandecasteele', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['President of Navarre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { resource:Jean_Vandecasteele property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:President_of_Navarre property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q29 Q31
(Q2397200,P27,c(Q15617994)) (Q3753803,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2397200
relation P27
type Q15617994
action filter_type
action find
entity Q3753803
relation P27
type Q15617994
[ANSWER]
['Q2397200', 'P27', {'concept': 'Q15617994'}] ['Q3753803', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { resource:Q2397200 property:P27 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q3753803 property:P27 ?p . ?p rdf:type ontology:Q15617994 } }
Spain Belgium
2
action count
action union
action filter_type
action find
entity Jean Vandecasteele
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity President of Navarre
relation country of citizenship
type designation for an administrative territorial entity
['Jean Vandecasteele', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['President of Navarre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { resource:Jean_Vandecasteele property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:President_of_Navarre property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]