Simple Question (Direct)
Simple Question
Q3779986
P937
Q56061
USER
Where did Gustavo Selva work ?
(Q3779986,P937,c(Q56061))
action filter_type
action find
entity Q3779986
relation P937
type Q56061
['Q3779986', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q3779986 property:P937 ?z }
Gustavo Selva
action filter_type
action find
entity Gustavo Selva
relation work location
type administrative territorial entity
['Gustavo Selva', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Gustavo_Selva property:work_location ?z }
[]
administrative territorial entity
Q239 Q220
SYSTEM
Brussels, Rome
Q239 Q220
(Q3779986,P937,c(Q56061))
action filter_type
action find
entity Q3779986
relation P937
type Q56061
Gustavo Selva worked in [ANSWERS]
['Q3779986', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q3779986 property:P937 ?z }
Brussels Rome
Gustavo Selva worked in Brussels and Rome
Brussels Rome
action filter_type
action find
entity Gustavo Selva
relation work location
type administrative territorial entity
['Gustavo Selva', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Gustavo_Selva property:work_location ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3779986
P39
Q12737077
USER
Which occupations were the positions occupied by Gustavo Selva ?
(Q3779986,P39,c(Q12737077))
action filter_type
action find
entity Q3779986
relation P39
type Q12737077
['Q3779986', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3779986 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Gustavo Selva
action filter_type
action find
entity Gustavo Selva
relation position held
type occupation
['Gustavo Selva', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Gustavo_Selva property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q18558478 Q27169
SYSTEM
member of the Chamber of Deputies of the Italian Republic, member of the European Parliament
Q18558478 Q27169
(Q3779986,P39,c(Q12737077))
action filter_type
action find
entity Q3779986
relation P39
type Q12737077
[ANSWERS] were the positions occupied by Gustavo Selva
['Q3779986', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3779986 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of the Italian Republic member of the European Parliament
Member of the Chamber of Deputies of the Italian Republic and member of the European Parliament were the positions occupied by Gustavo Selva
member of the Chamber of Deputies of the Italian Republic member of the European Parliament
action filter_type
action find
entity Gustavo Selva
relation position held
type occupation
['Gustavo Selva', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Gustavo_Selva property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4775806
P39
Q502895
USER
Did Anton Hrušecký hold the position of those occupations ?
(Q4775806,P39,Q18558478) (Q4775806,P39,Q27169)
action is_in
entity prev_answer
action find
entity Q4775806
relation P39
['Q4775806', 'P39', 'Q18558478'] ['Q4775806', 'P39', 'Q27169']
ASK WHERE { VALUES ( ?t ) { ( resource:Q18558478 ) ( resource:Q27169 ) } . resource:Q4775806 property:P39 ?t }
Anton Hrušecký
action is_in
entity prev_answer
action find
entity Anton Hrušecký
relation position held
['Anton Hrušecký', 'position held', 'member of the Chamber of Deputies of the Italian Republic'] ['Anton Hrušecký', 'position held', 'member of the European Parliament']
ASK WHERE { VALUES ( ?t ) { ( resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic ) ( resource:member_of_the_European_Parliament ) } . resource:Anton_Hrušecký property:position_held ?t }
[]
common name
SYSTEM
NO
(Q4775806,P39,Q18558478) (Q4775806,P39,Q27169)
action is_in
entity prev_answer
action find
entity Q4775806
relation P39
[ANSWER]
['Q4775806', 'P39', 'Q18558478'] ['Q4775806', 'P39', 'Q27169']
ASK WHERE { VALUES ( ?t ) { ( resource:Q18558478 ) ( resource:Q27169 ) } . resource:Q4775806 property:P39 ?t }
No
action is_in
entity prev_answer
action find
entity Anton Hrušecký
relation position held
['Anton Hrušecký', 'position held', 'member of the Chamber of Deputies of the Italian Republic'] ['Anton Hrušecký', 'position held', 'member of the European Parliament']
ASK WHERE { VALUES ( ?t ) { ( resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic ) ( resource:member_of_the_European_Parliament ) } . resource:Anton_Hrušecký property:position_held ?t }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4087275 Q3779986
P19 P20
Q56061
USER
Which administrative territories did Gustavo Selva expire or were Zinaida Bitarova born at ?
OR((Q3779986,P20,c(Q56061)), (Q4087275,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3779986
relation P20
action find
entity Q4087275
relation P19
type Q56061
{'OR': [['Q3779986', 'P20', {'concept': 'Q56061'}], ['Q4087275', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4087275 property:P19 ?s } UNION { resource:Q3779986 property:P20 ?s } } . ?s rdf:type ontology:Q56061 }
Zinaida Bitarova Gustavo Selva
action filter_type
action union
action find
entity Gustavo Selva
relation place of death
action find
entity Zinaida Bitarova
relation place of birth
type administrative territorial entity
{'OR': [['Gustavo Selva', 'place of death', {'concept': 'administrative territorial entity'}], ['Zinaida Bitarova', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Zinaida_Bitarova property:place_of_birth ?s } UNION { resource:Gustavo_Selva property:place_of_death ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8621 Q79863
SYSTEM
Terni, Tskhinvali
Q8621 Q79863
OR((Q3779986,P20,c(Q56061)), (Q4087275,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3779986
relation P20
action find
entity Q4087275
relation P19
type Q56061
Gustavo Selva expired or were Zinaida Bitarova [ANSWERS]
{'OR': [['Q3779986', 'P20', {'concept': 'Q56061'}], ['Q4087275', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4087275 property:P19 ?s } UNION { resource:Q3779986 property:P20 ?s } } . ?s rdf:type ontology:Q56061 }
Terni Tskhinvali
Gustavo Selva expired or were Zinaida Bitarova Terni and Tskhinvali
Terni Tskhinvali
action filter_type
action union
action find
entity Gustavo Selva
relation place of death
action find
entity Zinaida Bitarova
relation place of birth
type administrative territorial entity
{'OR': [['Gustavo Selva', 'place of death', {'concept': 'administrative territorial entity'}], ['Zinaida Bitarova', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Zinaida_Bitarova property:place_of_birth ?s } UNION { resource:Gustavo_Selva property:place_of_death ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26627937 Q3779986
P27 P17
Q15617994
USER
Which administrative territories are Gustavo Selva an inhabitant of or are 48 And 50, Bell Road a part of ?
OR((Q3779986,P27,c(Q15617994)), (Q26627937,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3779986
relation P27
action find
entity Q26627937
relation P17
type Q15617994
{'OR': [['Q3779986', 'P27', {'concept': 'Q15617994'}], ['Q26627937', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q26627937 property:P17 ?c } UNION { resource:Q3779986 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
48 And 50, Bell Road Gustavo Selva
action filter_type
action union
action find
entity Gustavo Selva
relation country of citizenship
action find
entity 48 And 50, Bell Road
relation country
type designation for an administrative territorial entity
{'OR': [['Gustavo Selva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['48 And 50, Bell Road', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:48_And_50,_Bell_Road property:country ?c } UNION { resource:Gustavo_Selva property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q145
SYSTEM
Italy, United Kingdom
Q38 Q145
OR((Q3779986,P27,c(Q15617994)), (Q26627937,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3779986
relation P27
action find
entity Q26627937
relation P17
type Q15617994
[ANSWERS] are Gustavo Selva an inhabitant of or are 48 And 50, Bell Road a part of
{'OR': [['Q3779986', 'P27', {'concept': 'Q15617994'}], ['Q26627937', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q26627937 property:P17 ?c } UNION { resource:Q3779986 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Italy United Kingdom
Italy and United Kingdom are Gustavo Selva an inhabitant of or are 48 And 50, Bell Road a part of
Italy United Kingdom
action filter_type
action union
action find
entity Gustavo Selva
relation country of citizenship
action find
entity 48 And 50, Bell Road
relation country
type designation for an administrative territorial entity
{'OR': [['Gustavo Selva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['48 And 50, Bell Road', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:48_And_50,_Bell_Road property:country ?c } UNION { resource:Gustavo_Selva property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q145
P463
Q43229
USER
Which organizations were those administrative territories a member of ?
(Q38,P463,c(Q43229)) (Q145,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q38', 'P463', {'concept': 'Q43229'}] ['Q145', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q43229 . ?d property:P463 ?g . VALUES ( ?d ) { ( resource:Q38 ) ( resource:Q145 ) } }
Italy United Kingdom
action filter_type
action find
entity prev_answer
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}] ['United Kingdom', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:organization . ?d property:member_of ?g . VALUES ( ?d ) { ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
organization
Q7809 Q42944 Q151991
SYSTEM
United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research, European Southern Observatory
Q340195 Q125761 Q191384 Q1153087 Q309195 Q689859 Q899770 Q189946 Q7809 Q132551 Q1666759 Q699036 Q42944 Q61923 Q177773 Q41550 Q3772571 Q386120 Q656801 Q151991 Q161549 Q7825 Q488981 Q82151 Q7178 Q827525 Q340195 Q191384 Q3772571 Q899770 Q7825 Q41550 Q656801 Q151991 Q827525
(Q38,P463,c(Q43229)) (Q145,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS] were those administrative territories a member of
['Q38', 'P463', {'concept': 'Q43229'}] ['Q145', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q43229 . ?d property:P463 ?g . VALUES ( ?d ) { ( resource:Q38 ) ( resource:Q145 ) } }
African Development Bank International Civil Aviation Organization International Bank for Reconstruction and Development Inter-American Development Bank Bank for International Settlements International Fund for Agricultural Development International Centre for Settlement of Investment Disputes Western European Union United Nations Educational, Scientific and Cultural Organization United Nations High Commissioner for Refugees International Mobile Satellite Organization United Nations Truce Supervision Organization European Organization for Nuclear Research World Tourism Organization World Intellectual Property Organization Organisation for Economic Co-operation and Development Caribbean Development Bank United Nations Industrial Development Organization International Finance Corporation European Southern Observatory European Coal and Steel Community World Trade Organization European Bank for Reconstruction and Development Food and Agriculture Organization of the United Nations International Red Cross and Red Crescent Movementsac International Development Association African Development Bank International Bank for Reconstruction and Development Caribbean Development Bank International Centre for Settlement of Investment Disputes World Trade Organization Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory International Development Association
United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research and European Southern Observatory were those administrative territories a member of
United Nations Educational, Scientific and Cultural Organization European Organization for Nuclear Research European Southern Observatory
action filter_type
action find
entity prev_answer
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}] ['United Kingdom', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:organization . ?d property:member_of ?g . VALUES ( ?d ) { ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7809 Q42944 Q151991
P108
Q502895
USER
Which people are working for United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research and European Southern Observatory ?
(c(Q502895),P108,Q7809) (c(Q502895),P108,Q42944) (c(Q502895),P108,Q151991)
action union
action filter_type
action find_reverse
entity Q7809
relation P108
type Q502895
action filter_type
action find_reverse
entity Q42944
relation P108
type Q502895
action filter_type
action find_reverse
entity Q151991
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q7809'] [{'concept': 'Q502895'}, 'P108', 'Q42944'] [{'concept': 'Q502895'}, 'P108', 'Q151991']
SELECT DISTINCT ?z WHERE { { ?z property:P108 resource:Q42944 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P108 resource:Q7809 . ?z rdf:type ontology:Q502895 } }
United Nations Educational, Scientific and Cultural Organization European Organization for Nuclear Research European Southern Observatory
action union
action filter_type
action find_reverse
entity United Nations Educational, Scientific and Cultural Organization
relation employer
type common name
action filter_type
action find_reverse
entity European Organization for Nuclear Research
relation employer
type common name
action filter_type
action find_reverse
entity European Southern Observatory
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Nations Educational, Scientific and Cultural Organization'] [{'concept': 'common name'}, 'employer', 'European Organization for Nuclear Research'] [{'concept': 'common name'}, 'employer', 'European Southern Observatory']
SELECT DISTINCT ?z WHERE { { ?z property:employer resource:European_Organization_for_Nuclear_Research . ?z rdf:type ontology:common_name } UNION { ?z property:employer resource:United_Nations_Educational,_Scientific_and_Cultural_Organization . ?z rdf:type ontology:common_name } }
[]
common name
Q80 Q80 Q22667895
SYSTEM
Tim Berners-Lee for 1st, 2nd, David Wasawo for 3rd
Q20986340 Q22667895 Q3085768 Q716552 Q3103148 Q25872869 Q3541430 Q230850 Q26179875 Q23840678 Q2824517 Q26936556 Q153178 Q26936205 Q709562 Q5396133 Q21820002 Q514831 Q370077 Q21708036 Q80 Q80 Q1515185 Q20829709 Q375147
(c(Q502895),P108,Q7809) (c(Q502895),P108,Q42944) (c(Q502895),P108,Q151991)
action union
action filter_type
action find_reverse
entity Q7809
relation P108
type Q502895
action filter_type
action find_reverse
entity Q42944
relation P108
type Q502895
action filter_type
action find_reverse
entity Q151991
relation P108
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P108', 'Q7809'] [{'concept': 'Q502895'}, 'P108', 'Q42944'] [{'concept': 'Q502895'}, 'P108', 'Q151991']
SELECT DISTINCT ?z WHERE { { ?z property:P108 resource:Q42944 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P108 resource:Q7809 . ?z rdf:type ontology:Q502895 } }
Lê Thành Khôi David Wasawo François Russo Norman McLaren Georges Malempré János Bogárdi Trần Văn Khê Irina Bokova Genevieve Fiore Harry Cliff Adlène Hicheur Werner Kienzle Georges Charpak Siegmund Brandt Rolf Widerøe Erwin Gabathuler Juan Antonio Rubio Rodríguez Lyn Evans John Stewart Bell Richard Pankhurst Tim Berners-Lee Tim Berners-Lee Werner Nahm Olivier Hainaut Richard Martin West
Tim Berners-Lee, Tim Berners-Lee and David Wasawo are working for United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research and European Southern Observatory
Tim Berners-Lee Tim Berners-Lee David Wasawo
action union
action filter_type
action find_reverse
entity United Nations Educational, Scientific and Cultural Organization
relation employer
type common name
action filter_type
action find_reverse
entity European Organization for Nuclear Research
relation employer
type common name
action filter_type
action find_reverse
entity European Southern Observatory
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Nations Educational, Scientific and Cultural Organization'] [{'concept': 'common name'}, 'employer', 'European Organization for Nuclear Research'] [{'concept': 'common name'}, 'employer', 'European Southern Observatory']
SELECT DISTINCT ?z WHERE { { ?z property:employer resource:European_Organization_for_Nuclear_Research . ?z rdf:type ontology:common_name } UNION { ?z property:employer resource:United_Nations_Educational,_Scientific_and_Cultural_Organization . ?z rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q80
P40
Q502895
USER
Which people have that one as a child ?
(c(Q502895),P40,Q80)
action filter_type
action find_reverse
entity Q80
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q80']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q80 . ?r rdf:type ontology:Q502895 }
Tim Berners-Lee
action filter_type
action find_reverse
entity Tim Berners-Lee
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tim Berners-Lee']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Tim_Berners-Lee . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q80
SYSTEM
Did you mean Tim Berners-Lee ?
Q80 Q80 Q22667895
(c(Q502895),P40,Q80) (c(Q502895),P40,Q80) (c(Q502895),P40,Q22667895)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q80'] [{'concept': 'Q502895'}, 'P40', 'Q80'] [{'concept': 'Q502895'}, 'P40', 'Q22667895']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q80 . ?r rdf:type ontology:Q502895 }
Tim Berners-Lee Tim Berners-Lee David Wasawo
Did you mean Tim Berners-Lee ?
Tim Berners-Lee
[{'concept': 'common name'}, 'child', 'Tim Berners-Lee'] [{'concept': 'common name'}, 'child', 'Tim Berners-Lee'] [{'concept': 'common name'}, 'child', 'David Wasawo']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Tim_Berners-Lee . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q80)
[{'concept': 'Q502895'}, 'P40', 'Q80']
[{'concept': 'common name'}, 'child', 'Tim Berners-Lee']
[]
Q5166696 Q16492
SYSTEM
Conway Berners-Lee, Mary Lee Woods
Q5166696 Q16492
(c(Q502895),P40,Q80)
action filter_type
action find_reverse
entity Q80
relation P40
type Q502895
[ANSWERS] have that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q80']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q80 . ?r rdf:type ontology:Q502895 }
Conway Berners-Lee Mary Lee Woods
Conway Berners-Lee and Mary Lee Woods have that one as a child
Conway Berners-Lee Mary Lee Woods
action filter_type
action find_reverse
entity Tim Berners-Lee
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tim Berners-Lee']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Tim_Berners-Lee . ?r rdf:type ontology:common_name }
[]