Simple Question (Direct)
Simple Question
Q7438681
P172
Q2472587
USER
What is the race of Nikola Selaković ?
(Q7438681,P172,c(Q2472587))
action filter_type
action find
entity Q7438681
relation P172
type Q2472587
['Q7438681', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { resource:Q7438681 property:P172 ?g . ?g rdf:type ontology:Q2472587 }
Nikola Selaković
action filter_type
action find
entity Nikola Selaković
relation ethnic group
type people
['Nikola Selaković', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { resource:Nikola_Selaković property:ethnic_group ?g . ?g rdf:type ontology:people }
[]
people
Q127885
SYSTEM
Serbs
Q127885
(Q7438681,P172,c(Q2472587))
action filter_type
action find
entity Q7438681
relation P172
type Q2472587
The race of Nikola Selaković is of [ANSWER]
['Q7438681', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { resource:Q7438681 property:P172 ?g . ?g rdf:type ontology:Q2472587 }
Serbs
The race of Nikola Selaković is of Serbs
Serbs
action filter_type
action find
entity Nikola Selaković
relation ethnic group
type people
['Nikola Selaković', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { resource:Nikola_Selaković property:ethnic_group ?g . ?g rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7438681
P140
Q879146
USER
Which Christian denomination does Nikola Selaković relate to ?
(Q7438681,P140,c(Q879146))
action filter_type
action find
entity Q7438681
relation P140
type Q879146
['Q7438681', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?f WHERE { resource:Q7438681 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Nikola Selaković
action filter_type
action find
entity Nikola Selaković
relation religion
type Christian denomination
['Nikola Selaković', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?f WHERE { resource:Nikola_Selaković property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q188814
SYSTEM
Serbian Orthodox Church
Q188814
(Q7438681,P140,c(Q879146))
action filter_type
action find
entity Q7438681
relation P140
type Q879146
Nikola Selaković relates to [ANSWER]
['Q7438681', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?f WHERE { resource:Q7438681 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Serbian Orthodox Church
Nikola Selaković relates to Serbian Orthodox Church
Serbian Orthodox Church
action filter_type
action find
entity Nikola Selaković
relation religion
type Christian denomination
['Nikola Selaković', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?f WHERE { resource:Nikola_Selaković property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7438681
P69
Q3918
USER
Which university is Nikola Selaković an alumni of ?
(Q7438681,P69,c(Q3918))
action filter_type
action find
entity Q7438681
relation P69
type Q3918
['Q7438681', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q3918 . resource:Q7438681 property:P69 ?q }
Nikola Selaković
action filter_type
action find
entity Nikola Selaković
relation educated at
type university
['Nikola Selaković', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:university . resource:Nikola_Selaković property:educated_at ?q }
[]
university
Q1517780
SYSTEM
University of Belgrade Faculty of Law
Q1517780
(Q7438681,P69,c(Q3918))
action filter_type
action find
entity Q7438681
relation P69
type Q3918
Which university is Nikola Selaković an alumni of
['Q7438681', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q3918 . resource:Q7438681 property:P69 ?q }
University of Belgrade Faculty of Law
Which university is Nikola Selaković an alumni of
University of Belgrade Faculty of Law
action filter_type
action find
entity Nikola Selaković
relation educated at
type university
['Nikola Selaković', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:university . resource:Nikola_Selaković property:educated_at ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q705048
Q3918
USER
And what about Christopher Hansteen?
(Q705048,P69,c(Q3918))
action filter_type
action find
entity Q705048
relation P69
type Q3918
['Q705048', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q3918 . resource:Q705048 property:P69 ?d }
Christopher Hansteen
action filter_type
action find
entity Christopher Hansteen
relation educated at
type university
['Christopher Hansteen', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:university . resource:Christopher_Hansteen property:educated_at ?d }
[]
university
Q186285
SYSTEM
University of Copenhagen
Q186285
(Q705048,P69,c(Q3918))
action filter_type
action find
entity Q705048
relation P69
type Q3918
[ANSWER]
['Q705048', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q3918 . resource:Q705048 property:P69 ?d }
University of Copenhagen
University of Copenhagen
action filter_type
action find
entity Christopher Hansteen
relation educated at
type university
['Christopher Hansteen', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:university . resource:Christopher_Hansteen property:educated_at ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q186285
P159
Q43229
USER
Which organization has HQ at that university ?
(c(Q43229),P159,Q186285)
action filter_type
action find_reverse
entity Q186285
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q186285']
SELECT DISTINCT ?k WHERE { ?k property:P159 resource:Q186285 . ?k rdf:type ontology:Q43229 }
University of Copenhagen
action filter_type
action find_reverse
entity University of Copenhagen
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'University of Copenhagen']
SELECT DISTINCT ?k WHERE { ?k property:headquarters_location resource:University_of_Copenhagen . ?k rdf:type ontology:organization }
[]
organization
Q21855029
SYSTEM
Sonning Foundation
Q21855029
(c(Q43229),P159,Q186285)
action filter_type
action find_reverse
entity Q186285
relation P159
type Q43229
[ANSWER] has HQ at that university
[{'concept': 'Q43229'}, 'P159', 'Q186285']
SELECT DISTINCT ?k WHERE { ?k property:P159 resource:Q186285 . ?k rdf:type ontology:Q43229 }
Sonning Foundation
Sonning Foundation has HQ at that university
Sonning Foundation
action filter_type
action find_reverse
entity University of Copenhagen
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'University of Copenhagen']
SELECT DISTINCT ?k WHERE { ?k property:headquarters_location resource:University_of_Copenhagen . ?k rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21855029
P1454
Q874405
USER
Which social group is the type of legal form of that organization ?
(Q21855029,P1454,c(Q874405))
action filter_type
action find
entity Q21855029
relation P1454
type Q874405
['Q21855029', 'P1454', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q21855029 property:P1454 ?w . ?w rdf:type ontology:Q874405 }
Sonning Foundation
action filter_type
action find
entity Sonning Foundation
relation legal form
type social group
['Sonning Foundation', 'legal form', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Sonning_Foundation property:legal_form ?w . ?w rdf:type ontology:social_group }
[]
social group
Q157031
SYSTEM
foundation
Q157031
(Q21855029,P1454,c(Q874405))
action filter_type
action find
entity Q21855029
relation P1454
type Q874405
[ANSWER] is the type of legal form of that organization
['Q21855029', 'P1454', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q21855029 property:P1454 ?w . ?w rdf:type ontology:Q874405 }
foundation
Foundation is the type of legal form of that organization
foundation
action filter_type
action find
entity Sonning Foundation
relation legal form
type social group
['Sonning Foundation', 'legal form', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Sonning_Foundation property:legal_form ?w . ?w rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21855029
P1027
Q618779
USER
Which award is granted by Sonning Foundation ?
(c(Q618779),P1027,Q21855029)
action filter_type
action find_reverse
entity Q21855029
relation P1027
type Q618779
[{'concept': 'Q618779'}, 'P1027', 'Q21855029']
SELECT DISTINCT ?b WHERE { ?b property:P1027 resource:Q21855029 . ?b rdf:type ontology:Q618779 }
Sonning Foundation
action filter_type
action find_reverse
entity Sonning Foundation
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Sonning Foundation']
SELECT DISTINCT ?b WHERE { ?b property:conferred_by resource:Sonning_Foundation . ?b rdf:type ontology:award }
[]
award
Q963068
SYSTEM
Sonning Prize
Q963068
(c(Q618779),P1027,Q21855029)
action filter_type
action find_reverse
entity Q21855029
relation P1027
type Q618779
The [ANSWER] is granted by Sonning Foundation
[{'concept': 'Q618779'}, 'P1027', 'Q21855029']
SELECT DISTINCT ?b WHERE { ?b property:P1027 resource:Q21855029 . ?b rdf:type ontology:Q618779 }
Sonning Prize
The Sonning Prize is granted by Sonning Foundation
Sonning Prize
action filter_type
action find_reverse
entity Sonning Foundation
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Sonning Foundation']
SELECT DISTINCT ?b WHERE { ?b property:conferred_by resource:Sonning_Foundation . ?b rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q963068
P1346
Q502895
USER
Which people emerged victorious in that award ?
(Q963068,P1346,c(Q502895))
action filter_type
action find
entity Q963068
relation P1346
type Q502895
['Q963068', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q963068 property:P1346 ?u }
Sonning Prize
action filter_type
action find
entity Sonning Prize
relation winner
type common name
['Sonning Prize', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Sonning_Prize property:winner ?u }
[]
common name
Q8016 Q7085 Q33760
SYSTEM
Winston Churchill, Niels Bohr, Bertrand Russell
Q33760 Q49325 Q78525 Q55245 Q82840 Q7085 Q8016 Q107473 Q158850
(Q963068,P1346,c(Q502895))
action filter_type
action find
entity Q963068
relation P1346
type Q502895
[ANSWERS] emerged victorious in that award
['Q963068', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q963068 property:P1346 ?u }
Bertrand Russell Albert Schweitzer Richard Nikolaus von Coudenhove-Kalergi Laurence Olivier Hugo Alvar Henrik Aalto Niels Bohr Winston Churchill Karl Barth Dominique Pire
Winston Churchill, Niels Bohr and Bertrand Russell emerged victorious in that award
Winston Churchill Niels Bohr Bertrand Russell
action filter_type
action find
entity Sonning Prize
relation winner
type common name
['Sonning Prize', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Sonning_Prize property:winner ?u }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P22
Q502895
USER
How many people have that person as a parent ?
(c(Q502895),P22,Q8016)
[{'concept': 'Q502895'}, 'P22', 'Q8016']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q2916076 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'father', 'Winston Churchill']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:Winston_Churchill . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q33760
SYSTEM
Did you mean Bertrand Russell ?
(c(Q502895),P22,Q8016) (c(Q502895),P22,Q7085) (c(Q502895),P22,Q33760)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q8016'] [{'concept': 'Q502895'}, 'P22', 'Q7085'] [{'concept': 'Q502895'}, 'P22', 'Q33760']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q2916076 . ?z rdf:type ontology:Q502895 }
Did you mean Bertrand Russell ?
Bertrand Russell
[{'concept': 'common name'}, 'father', 'Winston Churchill'] [{'concept': 'common name'}, 'father', 'Niels Bohr'] [{'concept': 'common name'}, 'father', 'Bertrand Russell']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:Winston_Churchill . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Winston Churchill. Could you tell me the answer for that?
(c(Q502895),P22,Q8016)
Q8016
[{'concept': 'Q502895'}, 'P22', 'Q8016']
[{'concept': 'common name'}, 'father', 'Winston Churchill']
[]
SYSTEM
5
Q5271122 Q2405785 Q183105 Q13408289 Q508525
(c(Q502895),P22,Q8016)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q8016']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q2916076 . ?z rdf:type ontology:Q502895 }
Diana Churchill Sarah Churchill Randolph Churchill Marigold Frances Churchill Mary Soames
5
[{'concept': 'common name'}, 'father', 'Winston Churchill']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:Winston_Churchill . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2544561
P725
Q502895 Q95074
USER
Which fictional characters did lesser number of people dub for than Ike ?
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2544561
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?j ) WHERE { ?a rdf:type ontology:Q95074 . ?h rdf:type ontology:Q502895 . ?a property:P725 ?h } GROUP BY ?a } . FILTER ( ?j < ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q2544561 property:P725 ?x . ?x rdf:type ontology:Q502895 } } }
Ike
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Ike
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?j ) WHERE { ?a rdf:type ontology:fictional_character . ?h rdf:type ontology:common_name . ?a property:voice_actor ?h } GROUP BY ?a } . FILTER ( ?j < ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Ike property:voice_actor ?x . ?x rdf:type ontology:common_name } } }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q3498590 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2544561
relation P725
type Q502895
Lesser number of people dubbed for [ANSWERS] than Ike
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?j ) WHERE { ?a rdf:type ontology:Q95074 . ?h rdf:type ontology:Q502895 . ?a property:P725 ?h } GROUP BY ?a } . FILTER ( ?j < ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q2544561 property:P725 ?x . ?x rdf:type ontology:Q502895 } } }
Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Lesser number of people dubbed for Marge Simpson, Homer Simpson and Neo than Ike
Marge Simpson Homer Simpson Neo
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Ike
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?j ) WHERE { ?a rdf:type ontology:fictional_character . ?h rdf:type ontology:common_name . ?a property:voice_actor ?h } GROUP BY ?a } . FILTER ( ?j < ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Ike property:voice_actor ?x . ?x rdf:type ontology:common_name } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7828
P9
Q6619679
USER
Who have that fictional character as thier sibling ?
(Q7828,P9,c(Q6619679))
action filter_type
action find
entity Q7828
relation P9
type Q6619679
['Q7828', 'P9', {'concept': 'Q6619679'}]
SELECT DISTINCT ?m WHERE { resource:Q7828 property:P9 ?m . ?m rdf:type ontology:Q6619679 }
Marge Simpson
action filter_type
action find
entity Marge Simpson
relation sister
type fictional humanoid
['Marge Simpson', 'sister', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?m WHERE { resource:Marge_Simpson property:sister ?m . ?m rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Clarification for simple ques.
Q7810
SYSTEM
Did you mean Homer Simpson ?
Q7828 Q7810 Q247120
(Q7828,P9,c(Q6619679)) (Q7810,P9,c(Q6619679)) (Q247120,P9,c(Q6619679))
[ANSWER]
['Q7828', 'P9', {'concept': 'Q6619679'}] ['Q7810', 'P9', {'concept': 'Q6619679'}] ['Q247120', 'P9', {'concept': 'Q6619679'}]
SELECT DISTINCT ?m WHERE { resource:Q7828 property:P9 ?m . ?m rdf:type ontology:Q6619679 }
Marge Simpson Homer Simpson Neo
Did you mean Homer Simpson ?
Homer Simpson
['Marge Simpson', 'sister', {'concept': 'fictional humanoid'}] ['Homer Simpson', 'sister', {'concept': 'fictional humanoid'}] ['Neo', 'sister', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?m WHERE { resource:Marge_Simpson property:sister ?m . ?m rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
USER
No, I meant Marge Simpson. Could you tell me the answer for that?
(Q7828,P9,c(Q6619679))
Q7828
['Q7828', 'P9', {'concept': 'Q6619679'}]
['Marge Simpson', 'sister', {'concept': 'fictional humanoid'}]
[]
Q10406147 Q3307708
SYSTEM
Patty Bouvier, Selma Bouvier
Q10406147 Q3307708
(Q7828,P9,c(Q6619679))
action filter_type
action find
entity Q7828
relation P9
type Q6619679
[ANSWERS] have that fictional character as thier sibling
['Q7828', 'P9', {'concept': 'Q6619679'}]
SELECT DISTINCT ?m WHERE { resource:Q7828 property:P9 ?m . ?m rdf:type ontology:Q6619679 }
Patty Bouvier Selma Bouvier
Patty Bouvier and Selma Bouvier have that fictional character as thier sibling
Patty Bouvier Selma Bouvier
action filter_type
action find
entity Marge Simpson
relation sister
type fictional humanoid
['Marge Simpson', 'sister', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?m WHERE { resource:Marge_Simpson property:sister ?m . ?m rdf:type ontology:fictional_humanoid }
[]