Simple Question (Direct)
Simple Question
Q3830897
P54
Q12973014
USER
What is Lesli Myrthil a member of ?
(Q3830897,P54,c(Q12973014))
action filter_type
action find
entity Q3830897
relation P54
type Q12973014
['Q3830897', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?t WHERE { resource:Q3830897 property:P54 ?t . ?t rdf:type ontology:Q12973014 }
Lesli Myrthil
action filter_type
action find
entity Lesli Myrthil
relation member of sports team
type sports team
['Lesli Myrthil', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?t WHERE { resource:Lesli_Myrthil property:member_of_sports_team ?t . ?t rdf:type ontology:sports_team }
[]
sports team
Q2605832
SYSTEM
Solna Vikings
Q2605832
(Q3830897,P54,c(Q12973014))
action filter_type
action find
entity Q3830897
relation P54
type Q12973014
Lesli Myrthil a member of is [ANSWER]
['Q3830897', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?t WHERE { resource:Q3830897 property:P54 ?t . ?t rdf:type ontology:Q12973014 }
Solna Vikings
Lesli Myrthil a member of is Solna Vikings
Solna Vikings
action filter_type
action find
entity Lesli Myrthil
relation member of sports team
type sports team
['Lesli Myrthil', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?t WHERE { resource:Lesli_Myrthil property:member_of_sports_team ?t . ?t rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3830897
P21
Q290
USER
Which sex does Lesli Myrthil possess ?
(Q3830897,P21,c(Q290))
action filter_type
action find
entity Q3830897
relation P21
type Q290
['Q3830897', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3830897 property:P21 ?s . ?s rdf:type ontology:Q290 }
Lesli Myrthil
action filter_type
action find
entity Lesli Myrthil
relation gender
type sex
['Lesli Myrthil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Lesli_Myrthil property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3830897,P21,c(Q290))
action filter_type
action find
entity Q3830897
relation P21
type Q290
Lesli Myrthil possesses 1 [ANSWER]
['Q3830897', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3830897 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Lesli Myrthil possesses 1 male
male
action filter_type
action find
entity Lesli Myrthil
relation gender
type sex
['Lesli Myrthil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Lesli_Myrthil property:gender ?s . ?s rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q5288912
P21
Q502895
USER
Does Dole Chadee have the gender as that sex ?
(Q5288912,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5288912
relation P21
['Q5288912', 'P21', 'Q6581097']
ASK WHERE { resource:Q5288912 property:P21 resource:Q6581097 }
male Dole Chadee
action is_in
entity male
action find
entity Dole Chadee
relation gender
['Dole Chadee', 'gender', 'male']
ASK WHERE { resource:Dole_Chadee property:gender resource:male }
[]
common name
SYSTEM
YES
(Q5288912,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5288912
relation P21
[ANSWER]
['Q5288912', 'P21', 'Q6581097']
ASK WHERE { resource:Q5288912 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Dole Chadee
relation gender
['Dole Chadee', 'gender', 'male']
ASK WHERE { resource:Dole_Chadee property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3830897
P641
Q349
USER
What did Lesli Myrthil participate in ?
(Q3830897,P641,c(Q349))
action filter_type
action find
entity Q3830897
relation P641
type Q349
['Q3830897', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q3830897 property:P641 ?d . ?d rdf:type ontology:Q349 }
Lesli Myrthil
action filter_type
action find
entity Lesli Myrthil
relation sport
type sport
['Lesli Myrthil', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Lesli_Myrthil property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3830897,P641,c(Q349))
action filter_type
action find
entity Q3830897
relation P641
type Q349
Lesli Myrthil participated in [ANSWER]
['Q3830897', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q3830897 property:P641 ?d . ?d rdf:type ontology:Q349 }
basketball
Lesli Myrthil participated in basketball
basketball
action filter_type
action find
entity Lesli Myrthil
relation sport
type sport
['Lesli Myrthil', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Lesli_Myrthil property:sport ?d . ?d rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2497787 Q3830897
P641
Q349
USER
Or Dragan Jovanović?
OR((Q3830897,P641,c(Q349)), (Q2497787,P641,c(Q349)))
action filter_type
action union
action find
entity Q3830897
relation P641
action find
entity Q2497787
relation P641
type Q349
{'OR': [['Q3830897', 'P641', {'concept': 'Q349'}], ['Q2497787', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3830897 property:P641 ?y } UNION { resource:Q2497787 property:P641 ?y } } . ?y rdf:type ontology:Q349 }
Dragan Jovanović Lesli Myrthil
action filter_type
action union
action find
entity Lesli Myrthil
relation sport
action find
entity Dragan Jovanović
relation sport
type sport
{'OR': [['Lesli Myrthil', 'sport', {'concept': 'sport'}], ['Dragan Jovanović', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Lesli_Myrthil property:sport ?y } UNION { resource:Dragan_Jovanović property:sport ?y } } . ?y rdf:type ontology:sport }
[]
sport
Q5372 Q2736
SYSTEM
basketball, association football
Q5372 Q2736
OR((Q3830897,P641,c(Q349)), (Q2497787,P641,c(Q349)))
action filter_type
action union
action find
entity Q3830897
relation P641
action find
entity Q2497787
relation P641
type Q349
[ANSWERS]
{'OR': [['Q3830897', 'P641', {'concept': 'Q349'}], ['Q2497787', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3830897 property:P641 ?y } UNION { resource:Q2497787 property:P641 ?y } } . ?y rdf:type ontology:Q349 }
basketball association football
basketball association football
action filter_type
action union
action find
entity Lesli Myrthil
relation sport
action find
entity Dragan Jovanović
relation sport
type sport
{'OR': [['Lesli Myrthil', 'sport', {'concept': 'sport'}], ['Dragan Jovanović', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Lesli_Myrthil property:sport ?y } UNION { resource:Dragan_Jovanović property:sport ?y } } . ?y rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3830897
P106
Q12737077
USER
What is the profession of Lesli Myrthil ?
(Q3830897,P106,c(Q12737077))
action filter_type
action find
entity Q3830897
relation P106
type Q12737077
['Q3830897', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3830897 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Lesli Myrthil
action filter_type
action find
entity Lesli Myrthil
relation occupation
type occupation
['Lesli Myrthil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Lesli_Myrthil property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q3830897,P106,c(Q12737077))
action filter_type
action find
entity Q3830897
relation P106
type Q12737077
The profession of Lesli Myrthil is a [ANSWER]
['Q3830897', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3830897 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
basketball player
The profession of Lesli Myrthil is a basketball player
basketball player
action filter_type
action find
entity Lesli Myrthil
relation occupation
type occupation
['Lesli Myrthil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Lesli_Myrthil property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21833044
Q12737077
USER
And what about Umberto Serristori?
(Q21833044,P106,c(Q12737077))
action filter_type
action find
entity Q21833044
relation P106
type Q12737077
['Q21833044', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q21833044 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Umberto Serristori
action filter_type
action find
entity Umberto Serristori
relation occupation
type occupation
['Umberto Serristori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Umberto_Serristori property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q193391 Q82955
SYSTEM
diplomat, politician
Q193391 Q82955
(Q21833044,P106,c(Q12737077))
action filter_type
action find
entity Q21833044
relation P106
type Q12737077
[ANSWERS]
['Q21833044', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q21833044 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
diplomat politician
diplomat politician
action filter_type
action find
entity Umberto Serristori
relation occupation
type occupation
['Umberto Serristori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Umberto_Serristori property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21833044
P27
Q7275
USER
Which state is the native country of that person ?
(Q193391,P27,c(Q7275)) (Q82955,P27,c(Q7275))
action filter_type
action find
entity Q21833044
relation P27
type Q7275
['Q193391', 'P27', {'concept': 'Q7275'}] ['Q82955', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q21833044 property:P27 ?s . ?s rdf:type ontology:Q7275 }
Umberto Serristori
action filter_type
action find
entity Umberto Serristori
relation country of citizenship
type state
['diplomat', 'country of citizenship', {'concept': 'state'}] ['politician', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:Umberto_Serristori property:country_of_citizenship ?s . ?s rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q193391,P27,c(Q7275)) (Q82955,P27,c(Q7275))
action filter_type
action find
entity Q21833044
relation P27
type Q7275
The [ANSWER] is the native country of that person
['Q193391', 'P27', {'concept': 'Q7275'}] ['Q82955', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q21833044 property:P27 ?s . ?s rdf:type ontology:Q7275 }
Kingdom of Italy
The Kingdom of Italy is the native country of that person
Kingdom of Italy
action filter_type
action find
entity Umberto Serristori
relation country of citizenship
type state
['diplomat', 'country of citizenship', {'concept': 'state'}] ['politician', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:Umberto_Serristori property:country_of_citizenship ?s . ?s rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21833044
P20
Q56061
USER
Where did that person die ?
(Q172579,P20,c(Q56061))
action filter_type
action find
entity Q21833044
relation P20
type Q56061
['Q172579', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q21833044 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Umberto Serristori
action filter_type
action find
entity Umberto Serristori
relation place of death
type administrative territorial entity
['Kingdom of Italy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Umberto_Serristori property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q172579,P20,c(Q56061))
action filter_type
action find
entity Q21833044
relation P20
type Q56061
That person died in [ANSWER]
['Q172579', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q21833044 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Florence
That person died in Florence
Florence
action filter_type
action find
entity Umberto Serristori
relation place of death
type administrative territorial entity
['Kingdom of Italy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Umberto_Serristori property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q847668 Q2044
P190
Q56061
USER
Which administrative territories are partner towns of Florence or Qeqertarsuaq ?
OR((Q2044,P190,c(Q56061)), (Q847668,P190,c(Q56061)))
action filter_type
action union
action find
entity Q2044
relation P190
action find
entity Q847668
relation P190
type Q56061
{'OR': [['Q2044', 'P190', {'concept': 'Q56061'}], ['Q847668', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { ?d property:P190 ?y . VALUES ( ?d ) { ( resource:Q2044 ) ( resource:Q847668 ) } } . ?y rdf:type ontology:Q56061 }
Qeqertarsuaq Florence
action filter_type
action union
action find
entity Florence
relation sister city
action find
entity Qeqertarsuaq
relation sister city
type administrative territorial entity
{'OR': [['Florence', 'sister city', {'concept': 'administrative territorial entity'}], ['Qeqertarsuaq', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?d property:sister_city ?y . VALUES ( ?d ) { ( resource:Florence ) ( resource:Qeqertarsuaq ) } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q80985 Q41876 Q3766 Q5776 Q406 Q3130 Q42053 Q81137 Q219417 Q93347
SYSTEM
Some of them are Fes, Reims, Damascus, Bethlehem, Istanbul, Sydney, Isfahan, Olomouc, Húsavík, Mostar
Q185134 Q93347 Q3766 Q3130 Q42053 Q430776 Q81137 Q214178 Q23436 Q406 Q1524 Q93338 Q1781 Q35178 Q8356 Q219417 Q80985 Q38511 Q41876 Q51103 Q3642 Q159273 Q5776
OR((Q2044,P190,c(Q56061)), (Q847668,P190,c(Q56061)))
action filter_type
action union
action find
entity Q2044
relation P190
action find
entity Q847668
relation P190
type Q56061
[ANSWERS] are partner towns of Florence or Qeqertarsuaq
{'OR': [['Q2044', 'P190', {'concept': 'Q56061'}], ['Q847668', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { ?d property:P190 ?y . VALUES ( ?d ) { ( resource:Q2044 ) ( resource:Q847668 ) } } . ?y rdf:type ontology:Q56061 }
Tlemcen Mostar Damascus Sydney Isfahan Nazareth Olomouc Nablus Edinburgh Istanbul Athens Gaziantep Budapest Kuwait City Valladolid Húsavík Fes Turku Reims Cali Asmara Arequipa Bethlehem
Fes, Reims, Damascus, Bethlehem, Istanbul, Sydney, Isfahan, Olomouc, Húsavík and Mostar are partner towns of Florence or Qeqertarsuaq
Fes Reims Damascus Bethlehem Istanbul Sydney Isfahan Olomouc Húsavík Mostar
action filter_type
action union
action find
entity Florence
relation sister city
action find
entity Qeqertarsuaq
relation sister city
type administrative territorial entity
{'OR': [['Florence', 'sister city', {'concept': 'administrative territorial entity'}], ['Qeqertarsuaq', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?d property:sister_city ?y . VALUES ( ?d ) { ( resource:Florence ) ( resource:Qeqertarsuaq ) } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41876
P36
Q20667921
USER
Which french administrative divisions consists of Reims as their capital ?
(c(Q20667921),P36,Q41876)
action filter_type
action find_reverse
entity Q41876
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q41876']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q41876 . ?o rdf:type ontology:Q20667921 }
Reims
action filter_type
action find_reverse
entity Reims
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Reims']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Reims . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q824764 Q545199 Q824775
SYSTEM
canton of Reims-6, canton of Reims-10, canton of Reims-7
Q824764 Q545199 Q824775 Q783557 Q824782 Q827690 Q827699 Q828049 Q828059 Q828065
(c(Q20667921),P36,Q41876)
action filter_type
action find_reverse
entity Q41876
relation P36
type Q20667921
[ANSWERS] consist of Reims as their capital
[{'concept': 'Q20667921'}, 'P36', 'Q41876']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q41876 . ?o rdf:type ontology:Q20667921 }
canton of Reims-6 canton of Reims-10 canton of Reims-7 canton of Reims-8 canton of Reims-5 canton of Reims-1 canton of Reims-9 canton of Reims-3 canton of Reims-4 canton of Reims-2
Canton of Reims-6, canton of Reims-10 and canton of Reims-7 consist of Reims as their capital
canton of Reims-6 canton of Reims-10 canton of Reims-7
action filter_type
action find_reverse
entity Reims
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Reims']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Reims . ?o rdf:type ontology:type_of_french_administrative_division }
[]