Simple Question (Direct)
Simple Question
Q3676062
P937
Q56061
USER
Where did John Nevill, 5th Marquess of Abergavenny work ?
(Q3676062,P937,c(Q56061))
action filter_type
action find
entity Q3676062
relation P937
type Q56061
['Q3676062', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q3676062 property:P937 ?b . ?b rdf:type ontology:Q56061 }
John Nevill, 5th Marquess of Abergavenny
action filter_type
action find
entity John Nevill, 5th Marquess of Abergavenny
relation work location
type administrative territorial entity
['John Nevill, 5th Marquess of Abergavenny', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:John_Nevill,_5th_Marquess_of_Abergavenny property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q3676062,P937,c(Q56061))
action filter_type
action find
entity Q3676062
relation P937
type Q56061
John Nevill , 5th Marquess of Abergavenny worked in [ANSWER]
['Q3676062', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q3676062 property:P937 ?b . ?b rdf:type ontology:Q56061 }
London
John Nevill , 5th Marquess of Abergavenny worked in London
London
action filter_type
action find
entity John Nevill, 5th Marquess of Abergavenny
relation work location
type administrative territorial entity
['John Nevill, 5th Marquess of Abergavenny', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:John_Nevill,_5th_Marquess_of_Abergavenny property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3676062
P69
Q41176
USER
Which building is John Nevill, 5th Marquess of Abergavenny an alumni of ?
(Q3676062,P69,c(Q41176))
action filter_type
action find
entity Q3676062
relation P69
type Q41176
['Q3676062', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?y WHERE { resource:Q3676062 property:P69 ?y . ?y rdf:type ontology:Q41176 }
John Nevill, 5th Marquess of Abergavenny
action filter_type
action find
entity John Nevill, 5th Marquess of Abergavenny
relation educated at
type building
['John Nevill, 5th Marquess of Abergavenny', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?y WHERE { resource:John_Nevill,_5th_Marquess_of_Abergavenny property:educated_at ?y . ?y rdf:type ontology:building }
[]
building
Q332342
SYSTEM
Trinity College, Cambridge
Q332342
(Q3676062,P69,c(Q41176))
action filter_type
action find
entity Q3676062
relation P69
type Q41176
The [ANSWER] is John Nevill, 5th Marquess of Abergavenny an alumni of
['Q3676062', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?y WHERE { resource:Q3676062 property:P69 ?y . ?y rdf:type ontology:Q41176 }
Trinity College, Cambridge
The Trinity College, Cambridge is John Nevill, 5th Marquess of Abergavenny an alumni of
Trinity College, Cambridge
action filter_type
action find
entity John Nevill, 5th Marquess of Abergavenny
relation educated at
type building
['John Nevill, 5th Marquess of Abergavenny', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?y WHERE { resource:John_Nevill,_5th_Marquess_of_Abergavenny property:educated_at ?y . ?y rdf:type ontology:building }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3676062
Q3914
USER
And which school?
(Q3676062,P69,c(Q3914))
action filter_type
action find
entity Q3676062
relation P69
type Q3914
['Q3676062', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { resource:Q3676062 property:P69 ?t . ?t rdf:type ontology:Q3914 }
John Nevill, 5th Marquess of Abergavenny
action filter_type
action find
entity John Nevill, 5th Marquess of Abergavenny
relation educated at
type school
['John Nevill, 5th Marquess of Abergavenny', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { resource:John_Nevill,_5th_Marquess_of_Abergavenny property:educated_at ?t . ?t rdf:type ontology:school }
[]
school
Q192088
SYSTEM
Eton College
Q192088
(Q3676062,P69,c(Q3914))
action filter_type
action find
entity Q3676062
relation P69
type Q3914
[ANSWER]
['Q3676062', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { resource:Q3676062 property:P69 ?t . ?t rdf:type ontology:Q3914 }
Eton College
Eton College
action filter_type
action find
entity John Nevill, 5th Marquess of Abergavenny
relation educated at
type school
['John Nevill, 5th Marquess of Abergavenny', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { resource:John_Nevill,_5th_Marquess_of_Abergavenny property:educated_at ?t . ?t rdf:type ontology:school }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q192088
P69
Q15619164 Q43229
USER
How many abstract beings and organizations studied at Eton College ?
(c(Q15619164),P69,Q192088) (c(Q43229),P69,Q192088)
action count
action union
action filter_type
action find_reverse
entity Q192088
relation P69
type Q15619164
action filter_type
action find_reverse
entity Q192088
relation P69
type Q43229
[{'concept': 'Q15619164'}, 'P69', 'Q192088'] [{'concept': 'Q43229'}, 'P69', 'Q192088']
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { ?b rdf:type ontology:Q15619164 . ?b property:P69 resource:Q192088 } UNION { ?b property:P69 resource:Q192088 . ?b rdf:type ontology:Q43229 } }
Eton College
action count
action union
action filter_type
action find_reverse
entity Eton College
relation educated at
type abstract being
action filter_type
action find_reverse
entity Eton College
relation educated at
type organization
[{'concept': 'abstract being'}, 'educated at', 'Eton College'] [{'concept': 'organization'}, 'educated at', 'Eton College']
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { ?b rdf:type ontology:abstract_being . ?b property:educated_at resource:Eton_College } UNION { ?b property:educated_at resource:Eton_College . ?b rdf:type ontology:organization } }
[]
abstract being organization
SYSTEM
4 abstract beings and 1 organizations
Q5540908 Q7911020 Q221110 Q828530 Q7356588
(c(Q15619164),P69,Q192088) (c(Q43229),P69,Q192088)
action count
action union
action filter_type
action find_reverse
entity Q192088
relation P69
type Q15619164
action filter_type
action find_reverse
entity Q192088
relation P69
type Q43229
[ANSWER]
[{'concept': 'Q15619164'}, 'P69', 'Q192088'] [{'concept': 'Q43229'}, 'P69', 'Q192088']
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { ?b rdf:type ontology:Q15619164 . ?b property:P69 resource:Q192088 } UNION { ?b property:P69 resource:Q192088 . ?b rdf:type ontology:Q43229 } }
George Hysteron-Proteron Valentine Stockdale Arthur Hastings Bertie Wooster Roderick Alleyn
4 abstract beings and 1 organizations
action count
action union
action filter_type
action find_reverse
entity Eton College
relation educated at
type abstract being
action filter_type
action find_reverse
entity Eton College
relation educated at
type organization
[{'concept': 'abstract being'}, 'educated at', 'Eton College'] [{'concept': 'organization'}, 'educated at', 'Eton College']
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { ?b rdf:type ontology:abstract_being . ?b property:educated_at resource:Eton_College } UNION { ?b property:educated_at resource:Eton_College . ?b rdf:type ontology:organization } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3417733 Q332342
P17
Q15617994
USER
Which administrative territories are Trinity College, Cambridge or Nankhel present in ?
OR((Q332342,P17,c(Q15617994)), (Q3417733,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q332342
relation P17
action find
entity Q3417733
relation P17
type Q15617994
{'OR': [['Q332342', 'P17', {'concept': 'Q15617994'}], ['Q3417733', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?w ) { ( resource:Q332342 ) ( resource:Q3417733 ) } . ?w property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
Nankhel Trinity College, Cambridge
action filter_type
action union
action find
entity Trinity College, Cambridge
relation country
action find
entity Nankhel
relation country
type designation for an administrative territorial entity
{'OR': [['Trinity College, Cambridge', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nankhel', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?w ) { ( resource:Trinity_College,_Cambridge ) ( resource:Nankhel ) } . ?w property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q837 Q145
SYSTEM
Nepal, United Kingdom
Q837 Q145
OR((Q332342,P17,c(Q15617994)), (Q3417733,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q332342
relation P17
action find
entity Q3417733
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q332342', 'P17', {'concept': 'Q15617994'}], ['Q3417733', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?w ) { ( resource:Q332342 ) ( resource:Q3417733 ) } . ?w property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
Nepal United Kingdom
Which administrative territories are Trinity College, Cambridge or Nankhel present in
Nepal United Kingdom
action filter_type
action union
action find
entity Trinity College, Cambridge
relation country
action find
entity Nankhel
relation country
type designation for an administrative territorial entity
{'OR': [['Trinity College, Cambridge', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nankhel', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?w ) { ( resource:Trinity_College,_Cambridge ) ( resource:Nankhel ) } . ?w property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q958
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with less number of administrative territories than South Sudan ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q958
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?r property:P530 ?j . ?r rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q958 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?v < ?t ) }
South Sudan
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity South Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?r property:diplomatic_relation ?j . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:South_Sudan property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v < ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q958
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?r property:P530 ?j . ?r rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q958 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?v < ?t ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
52
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity South Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?r property:diplomatic_relation ?j . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:South_Sudan property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v < ?t ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q958
P19
Q502895
USER
Who have location of birth at that administrative territory ?
action filter_type
action find_reverse
entity Q958
relation P19
type Q502895
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q958 . ?m rdf:type ontology:Q502895 }
South Sudan
action filter_type
action find_reverse
entity South Sudan
relation place of birth
type common name
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:South_Sudan . ?m rdf:type ontology:common_name }
[]
common name
Q26220592 Q21622398 Q21004725
SYSTEM
Rose Lokonyen, Dominic Abui Pretino, Deng Adel
Q24572769 Q21621891 Q18720304 Q4893553 Q15632340 Q3106767 Q26220592 Q21004725 Q18720232 Q328721 Q18720261 Q18684474 Q21622398
action filter_type
action find_reverse
entity Q958
relation P19
type Q502895
[ANSWERS] have location of birth at that administrative territory
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q958 . ?m rdf:type ontology:Q502895 }
Paulo Lokoro Aluck Akech Elya Wako Nhial Deng Nhial Yaba Angelosi Joseph Garang Rose Lokonyen Deng Adel Salyi Lolaku Samuel Francis Bok Malesh Soro Ismail Balanga Dominic Abui Pretino
Rose Lokonyen, Dominic Abui Pretino and Deng Adel have location of birth at that administrative territory
Rose Lokonyen Dominic Abui Pretino Deng Adel
action filter_type
action find_reverse
entity South Sudan
relation place of birth
type common name
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:South_Sudan . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21622398
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q21622398,P54,c(Q1194951))
action filter_type
action find
entity Q21622398
relation P54
type Q1194951
['Q21622398', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1194951 . resource:Q21622398 property:P54 ?d }
Dominic Abui Pretino
action filter_type
action find
entity Dominic Abui Pretino
relation member of sports team
type national sports team
['Dominic Abui Pretino', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:national_sports_team . resource:Dominic_Abui_Pretino property:member_of_sports_team ?d }
[]
national sports team
Clarification for simple ques.
Q21004725
SYSTEM
Did you mean Deng Adel ?
Q26220592 Q21622398 Q21004725
(Q26220592,P54,c(Q1194951)) (Q21622398,P54,c(Q1194951)) (Q21004725,P54,c(Q1194951))
[ANSWER]
['Q26220592', 'P54', {'concept': 'Q1194951'}] ['Q21622398', 'P54', {'concept': 'Q1194951'}] ['Q21004725', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1194951 . resource:Q21622398 property:P54 ?d }
Rose Lokonyen Dominic Abui Pretino Deng Adel
Did you mean Deng Adel ?
Deng Adel
['Rose Lokonyen', 'member of sports team', {'concept': 'national sports team'}] ['Dominic Abui Pretino', 'member of sports team', {'concept': 'national sports team'}] ['Deng Adel', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:national_sports_team . resource:Dominic_Abui_Pretino property:member_of_sports_team ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant Dominic Abui Pretino. Could you tell me the answer for that?
(Q21622398,P54,c(Q1194951))
Q21622398
['Q21622398', 'P54', {'concept': 'Q1194951'}]
['Dominic Abui Pretino', 'member of sports team', {'concept': 'national sports team'}]
[]
Q627130
SYSTEM
South Sudan men's national association football team
Q627130
(Q21622398,P54,c(Q1194951))
action filter_type
action find
entity Q21622398
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q21622398', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1194951 . resource:Q21622398 property:P54 ?d }
South Sudan men's national association football team
The South Sudan men's national association football team is that person a member of
South Sudan men's national association football team
action filter_type
action find
entity Dominic Abui Pretino
relation member of sports team
type national sports team
['Dominic Abui Pretino', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:national_sports_team . resource:Dominic_Abui_Pretino property:member_of_sports_team ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26220592
P2416
Q31629
USER
Which type of sport did Rose Lokonyen compete in ?
(Q26220592,P2416,c(Q31629))
action filter_type
action find
entity Q26220592
relation P2416
type Q31629
['Q26220592', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q31629 . resource:Q26220592 property:P2416 ?z }
Rose Lokonyen
action filter_type
action find
entity Rose Lokonyen
relation sports discipline competed in
type type of sport
['Rose Lokonyen', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:type_of_sport . resource:Rose_Lokonyen property:sports_discipline_competed_in ?z }
[]
type of sport
Q271008
SYSTEM
800 metres
Q271008
(Q26220592,P2416,c(Q31629))
action filter_type
action find
entity Q26220592
relation P2416
type Q31629
Rose Lokonyen competed in [ANSWER]
['Q26220592', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q31629 . resource:Q26220592 property:P2416 ?z }
800 metres
Rose Lokonyen competed in 800 metres
800 metres
action filter_type
action find
entity Rose Lokonyen
relation sports discipline competed in
type type of sport
['Rose Lokonyen', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:type_of_sport . resource:Rose_Lokonyen property:sports_discipline_competed_in ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21622398
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Dominic Abui Pretino ?
(Q21622398,P27,c(Q15617994))
action filter_type
action find
entity Q21622398
relation P27
type Q15617994
['Q21622398', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q21622398 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Dominic Abui Pretino
action filter_type
action find
entity Dominic Abui Pretino
relation country of citizenship
type designation for an administrative territorial entity
['Dominic Abui Pretino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Dominic_Abui_Pretino property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q958
SYSTEM
South Sudan
Q958
(Q21622398,P27,c(Q15617994))
action filter_type
action find
entity Q21622398
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Dominic Abui Pretino
['Q21622398', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q21622398 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
South Sudan
South Sudan is the country of citizenship of Dominic Abui Pretino
South Sudan
action filter_type
action find
entity Dominic Abui Pretino
relation country of citizenship
type designation for an administrative territorial entity
['Dominic Abui Pretino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Dominic_Abui_Pretino property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26220592
P1344
Q2312410
USER
Which sport discipline did Rose Lokonyen participate in ?
(Q26220592,P1344,c(Q2312410))
action filter_type
action find
entity Q26220592
relation P1344
type Q2312410
['Q26220592', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?i WHERE { resource:Q26220592 property:P1344 ?i . ?i rdf:type ontology:Q2312410 }
Rose Lokonyen
action filter_type
action find
entity Rose Lokonyen
relation participant of
type sport discipline
['Rose Lokonyen', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?i WHERE { resource:Rose_Lokonyen property:participant_of ?i . ?i rdf:type ontology:sport_discipline }
[]
sport discipline
Q18193712
SYSTEM
athletics at the 2016 Summer Olympics
Q18193712
(Q26220592,P1344,c(Q2312410))
action filter_type
action find
entity Q26220592
relation P1344
type Q2312410
Rose Lokonyen participated in [ANSWER]
['Q26220592', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?i WHERE { resource:Q26220592 property:P1344 ?i . ?i rdf:type ontology:Q2312410 }
athletics at the 2016 Summer Olympics
Rose Lokonyen participated in athletics at the 2016 Summer Olympics
athletics at the 2016 Summer Olympics
action filter_type
action find
entity Rose Lokonyen
relation participant of
type sport discipline
['Rose Lokonyen', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?i WHERE { resource:Rose_Lokonyen property:participant_of ?i . ?i rdf:type ontology:sport_discipline }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26220592
P106
Q151885
USER
What do that person do for a living ?
(Q18193712,P106,c(Q151885))
action filter_type
action find
entity Q26220592
relation P106
type Q151885
['Q18193712', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q26220592 property:P106 ?v . ?v rdf:type ontology:Q151885 }
Rose Lokonyen
action filter_type
action find
entity Rose Lokonyen
relation occupation
type concept
['athletics at the 2016 Summer Olympics', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Rose_Lokonyen property:occupation ?v . ?v rdf:type ontology:concept }
[]
concept
Q2066131 Q11513337
SYSTEM
sportsperson, athletics competitor
Q2066131 Q11513337
(Q18193712,P106,c(Q151885))
action filter_type
action find
entity Q26220592
relation P106
type Q151885
[ANSWERS] that person do for a living
['Q18193712', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q26220592 property:P106 ?v . ?v rdf:type ontology:Q151885 }
sportsperson athletics competitor
Sportsperson and athletics competitor that person do for a living
sportsperson athletics competitor
action filter_type
action find
entity Rose Lokonyen
relation occupation
type concept
['athletics at the 2016 Summer Olympics', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Rose_Lokonyen property:occupation ?v . ?v rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q41 Q837
P840
Q838948
USER
Which works of art have their narrative set in Nepal or Greece ?
OR((c(Q838948),P840,Q837), (c(Q838948),P840,Q41))
action filter_type
action union
action find_reverse
entity Q837
relation P840
action find_reverse
entity Q41
relation P840
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P840', 'Q837'], [{'concept': 'Q838948'}, 'P840', 'Q41']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P840 resource:Q837 } UNION { ?w property:P840 resource:Q41 } } . ?w rdf:type ontology:Q838948 }
Greece Nepal
action filter_type
action union
action find_reverse
entity Nepal
relation narrative location
action find_reverse
entity Greece
relation narrative location
type work of art
{'OR': [[{'concept': 'work of art'}, 'narrative location', 'Nepal'], [{'concept': 'work of art'}, 'narrative location', 'Greece']]}
SELECT DISTINCT ?w WHERE { { { ?w property:narrative_location resource:Nepal } UNION { ?w property:narrative_location resource:Greece } } . ?w rdf:type ontology:work_of_art }
[]
work of art
Q1962929 Q1516287 Q600364 Q3275474 Q1430523 Q3282945 Q8029053 Q10683877 Q5418385 Q4478964
SYSTEM
Some of them are Jupiter's Thigh, Topkapi, Swept Away, Madalena, Escape to Athena, A Woman at Her Window, Wog Boy 2: Kings of Mykonos, The Anderssons in Greece, Evil: In the Time of Heroes, Morning Patrol
Q532633 Q1424825 Q3275474 Q1404361 Q4478964 Q1888486 Q1060293 Q152456 Q131840 Q759397 Q1578702 Q1056328 Q1576364 Q10683877 Q19898299 Q332330 Q990840 Q1516287 Q1423540 Q3824199 Q1419210 Q1720976 Q600364 Q7783792 Q3221025 Q2301215 Q935497 Q19898272 Q136605 Q1456651 Q3391495 Q517239 Q15631013 Q5756662 Q5418385 Q3621397 Q1856354 Q7729223 Q3484941 Q1517660 Q2944178 Q4003998 Q1571058 Q18639614 Q188850 Q1113073 Q12882092 Q1430523 Q1057313 Q661660 Q18603008 Q1962929 Q3212104 Q697646 Q818710 Q2909183 Q1570714 Q3888419 Q7033337 Q3282945 Q1195822 Q16458 Q8029053 Q2482907 Q2162663 Q3638873 Q13825110 Q756882 Q40119 Q3518034
OR((c(Q838948),P840,Q837), (c(Q838948),P840,Q41))
action filter_type
action union
action find_reverse
entity Q837
relation P840
action find_reverse
entity Q41
relation P840
type Q838948
[ANSWERS] have their narrative set in Nepal or Greece
{'OR': [[{'concept': 'Q838948'}, 'P840', 'Q837'], [{'concept': 'Q838948'}, 'P840', 'Q41']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P840 resource:Q837 } UNION { ?w property:P840 resource:Q41 } } . ?w rdf:type ontology:Q838948 }
The Greek Tycoon Captain Corelli's Mandolin Madalena Shirley Valentine Morning Patrol Antropophagus Chalte Chalte Munich Eleni Sky Riders Tintin and the Golden Fleece The Magus Stella The Anderssons in Greece The Zero Years For Your Eyes Only The Brothers Bloom Topkapi Never on Sunday 40 Carats My Life in Ruins Arrivano i titani Swept Away They Who Dare The Parting Song The Road to Corinthe Boy on a Dolphin The Wretches Are Still Singing Z Tsatsiki – vänner för alltid Loafing and Camouflage The Big Blue Everest High Season Evil: In the Time of Heroes Arcadia Lost Phaedra The Day the Fish Came Out Singapore Sling The Mask of Dimitrios He Who Must Die A Pilot Returns Sea Fighting in Greece Evrydiki BA 2O37 Mamma Mia! Signs of Life The Loser Takes It All Escape to Athena Tempest Mediterraneo See You in Hell, My Darling Jupiter's Thigh The Case of the Scorpion's Tail Sissi – Fateful Years of an Empress Zorba the Greek Before Midnight La Prise de Tournavos Surprise Package Night Journey A Woman at Her Window The Moon-Spinners The Sisterhood of the Traveling Pants 2 Wog Boy 2: Kings of Mykonos I Am David The Travelling Players Death on the Run The Magic Crystal The Guns of Navarone The Sisterhood of the Traveling Pants Sweet Gang
Jupiter's Thigh, Topkapi, Swept Away, Madalena, Escape to Athena, A Woman at Her Window, Wog Boy 2: Kings of Mykonos, The Anderssons in Greece, Evil: In the Time of Heroes and Morning Patrol have their narrative set in Nepal or Greece
Jupiter's Thigh Topkapi Swept Away Madalena Escape to Athena A Woman at Her Window Wog Boy 2: Kings of Mykonos The Anderssons in Greece Evil: In the Time of Heroes Morning Patrol
action filter_type
action union
action find_reverse
entity Nepal
relation narrative location
action find_reverse
entity Greece
relation narrative location
type work of art
{'OR': [[{'concept': 'work of art'}, 'narrative location', 'Nepal'], [{'concept': 'work of art'}, 'narrative location', 'Greece']]}
SELECT DISTINCT ?w WHERE { { { ?w property:narrative_location resource:Nepal } UNION { ?w property:narrative_location resource:Greece } } . ?w rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5380118 Q600364
P161
Q502895
USER
Which people starred in Swept Away or Ente Sooryaputhrikku ?
OR((Q600364,P161,c(Q502895)), (Q5380118,P161,c(Q502895)))
action filter_type
action union
action find
entity Q600364
relation P161
action find
entity Q5380118
relation P161
type Q502895
{'OR': [['Q600364', 'P161', {'concept': 'Q502895'}], ['Q5380118', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { { resource:Q600364 property:P161 ?l } UNION { resource:Q5380118 property:P161 ?l } } }
Ente Sooryaputhrikku Swept Away
action filter_type
action union
action find
entity Swept Away
relation cast member
action find
entity Ente Sooryaputhrikku
relation cast member
type common name
{'OR': [['Swept Away', 'cast member', {'concept': 'common name'}], ['Ente Sooryaputhrikku', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { { resource:Swept_Away property:cast_member ?l } UNION { resource:Ente_Sooryaputhrikku property:cast_member ?l } } }
[]
common name
Q219373 Q1077542 Q3637265 Q1370632 Q3530159 Q120366 Q1744 Q356924 Q3941259 Q342788
SYSTEM
Some of them are Elizabeth Banks, Adriano Giannini, Beatrice Luzzi, David Thornton, Amala Akkineni, Jeanne Tripplehorn, Madonna, Yorgo Voyagis, Rosa Pianeta, Bruce Greenwood
Q547900 Q3530125 Q1077542 Q1744 Q3836912 Q3530159 Q120366 Q356924 Q1370632 Q342788 Q219373 Q3941259 Q3897857 Q3637265
OR((Q600364,P161,c(Q502895)), (Q5380118,P161,c(Q502895)))
action filter_type
action union
action find
entity Q600364
relation P161
action find
entity Q5380118
relation P161
type Q502895
[ANSWERS] starred in Swept Away or Ente Sooryaputhrikku
{'OR': [['Q600364', 'P161', {'concept': 'Q502895'}], ['Q5380118', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { { resource:Q600364 property:P161 ?l } UNION { resource:Q5380118 property:P161 ?l } } }
Srividya Suresh Gopi Adriano Giannini Madonna Lorenzo Ciompi Amala Akkineni Jeanne Tripplehorn Yorgo Voyagis David Thornton Bruce Greenwood Elizabeth Banks Rosa Pianeta Patrizio Rispo Beatrice Luzzi
Elizabeth Banks, Adriano Giannini, Beatrice Luzzi, David Thornton, Amala Akkineni, Jeanne Tripplehorn, Madonna, Yorgo Voyagis, Rosa Pianeta and Bruce Greenwood starred in Swept Away or Ente Sooryaputhrikku
Elizabeth Banks Adriano Giannini Beatrice Luzzi David Thornton Amala Akkineni Jeanne Tripplehorn Madonna Yorgo Voyagis Rosa Pianeta Bruce Greenwood
action filter_type
action union
action find
entity Swept Away
relation cast member
action find
entity Ente Sooryaputhrikku
relation cast member
type common name
{'OR': [['Swept Away', 'cast member', {'concept': 'common name'}], ['Ente Sooryaputhrikku', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { { resource:Swept_Away property:cast_member ?l } UNION { resource:Ente_Sooryaputhrikku property:cast_member ?l } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3637265
P21
Q290
USER
Which sex does that person belong to ?
(Q3637265,P21,c(Q290))
action filter_type
action find
entity Q3637265
relation P21
type Q290
['Q3637265', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3637265 property:P21 ?g . ?g rdf:type ontology:Q290 }
Beatrice Luzzi
action filter_type
action find
entity Beatrice Luzzi
relation gender
type sex
['Beatrice Luzzi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Beatrice_Luzzi property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q3637265
SYSTEM
Did you mean Beatrice Luzzi ?
Q219373 Q1077542 Q3637265 Q1370632 Q3530159 Q120366 Q1744 Q356924 Q3941259 Q342788
(Q219373,P21,c(Q290)) (Q1077542,P21,c(Q290)) (Q3637265,P21,c(Q290)) (Q1370632,P21,c(Q290)) (Q3530159,P21,c(Q290)) (Q120366,P21,c(Q290)) (Q1744,P21,c(Q290)) (Q356924,P21,c(Q290)) (Q3941259,P21,c(Q290)) (Q342788,P21,c(Q290))
[ANSWER]
['Q219373', 'P21', {'concept': 'Q290'}] ['Q1077542', 'P21', {'concept': 'Q290'}] ['Q3637265', 'P21', {'concept': 'Q290'}] ['Q1370632', 'P21', {'concept': 'Q290'}] ['Q3530159', 'P21', {'concept': 'Q290'}] ['Q120366', 'P21', {'concept': 'Q290'}] ['Q1744', 'P21', {'concept': 'Q290'}] ['Q356924', 'P21', {'concept': 'Q290'}] ['Q3941259', 'P21', {'concept': 'Q290'}] ['Q342788', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3637265 property:P21 ?g . ?g rdf:type ontology:Q290 }
Elizabeth Banks Adriano Giannini Beatrice Luzzi David Thornton Amala Akkineni Jeanne Tripplehorn Madonna Yorgo Voyagis Rosa Pianeta Bruce Greenwood
Did you mean Beatrice Luzzi ?
Beatrice Luzzi
['Elizabeth Banks', 'gender', {'concept': 'sex'}] ['Adriano Giannini', 'gender', {'concept': 'sex'}] ['Beatrice Luzzi', 'gender', {'concept': 'sex'}] ['David Thornton', 'gender', {'concept': 'sex'}] ['Amala Akkineni', 'gender', {'concept': 'sex'}] ['Jeanne Tripplehorn', 'gender', {'concept': 'sex'}] ['Madonna', 'gender', {'concept': 'sex'}] ['Yorgo Voyagis', 'gender', {'concept': 'sex'}] ['Rosa Pianeta', 'gender', {'concept': 'sex'}] ['Bruce Greenwood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Beatrice_Luzzi property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3637265,P21,c(Q290))
['Q3637265', 'P21', {'concept': 'Q290'}]
['Beatrice Luzzi', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q3637265,P21,c(Q290))
action filter_type
action find
entity Q3637265
relation P21
type Q290
That person belongs to [ANSWER]
['Q3637265', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3637265 property:P21 ?g . ?g rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Beatrice Luzzi
relation gender
type sex
['Beatrice Luzzi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Beatrice_Luzzi property:gender ?g . ?g rdf:type ontology:sex }
[]