Simple Question (Direct)
Simple Question
Q20876511
P1412
Q34770
USER
Which language is spoken by Antoni Picó i Azanza ?
(Q20876511,P1412,c(Q34770))
action filter_type
action find
entity Q20876511
relation P1412
type Q34770
['Q20876511', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q20876511 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Antoni Picó i Azanza
action filter_type
action find
entity Antoni Picó i Azanza
relation languages spoken, written or signed
type language
['Antoni Picó i Azanza', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Antoni_Picó_i_Azanza property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q20876511,P1412,c(Q34770))
action filter_type
action find
entity Q20876511
relation P1412
type Q34770
In [ANSWER] is spoken by Antoni Picó i Azanza
['Q20876511', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q20876511 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
In Spanish is spoken by Antoni Picó i Azanza
Spanish
action filter_type
action find
entity Antoni Picó i Azanza
relation languages spoken, written or signed
type language
['Antoni Picó i Azanza', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Antoni_Picó_i_Azanza property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20876511
P937
Q56061
USER
What is the location where Antoni Picó i Azanza worked ?
(Q20876511,P937,c(Q56061))
action filter_type
action find
entity Q20876511
relation P937
type Q56061
['Q20876511', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q20876511 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Antoni Picó i Azanza
action filter_type
action find
entity Antoni Picó i Azanza
relation work location
type administrative territorial entity
['Antoni Picó i Azanza', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Antoni_Picó_i_Azanza property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q20876511,P937,c(Q56061))
action filter_type
action find
entity Q20876511
relation P937
type Q56061
The location Antoni Picó i Azanza worked is in [ANSWER]
['Q20876511', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q20876511 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Madrid
The location Antoni Picó i Azanza worked is in Madrid
Madrid
action filter_type
action find
entity Antoni Picó i Azanza
relation work location
type administrative territorial entity
['Antoni Picó i Azanza', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Antoni_Picó_i_Azanza property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16976913
Q56061
USER
And also tell me about Jaume Rodri i Febrer?
(Q16976913,P937,c(Q56061))
action filter_type
action find
entity Q16976913
relation P937
type Q56061
['Q16976913', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q16976913 property:P937 ?z }
Jaume Rodri i Febrer
action filter_type
action find
entity Jaume Rodri i Febrer
relation work location
type administrative territorial entity
['Jaume Rodri i Febrer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Jaume_Rodri_i_Febrer property:work_location ?z }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q16976913,P937,c(Q56061))
action filter_type
action find
entity Q16976913
relation P937
type Q56061
[ANSWER]
['Q16976913', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q16976913 property:P937 ?z }
Barcelona
Barcelona
action filter_type
action find
entity Jaume Rodri i Febrer
relation work location
type administrative territorial entity
['Jaume Rodri i Febrer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Jaume_Rodri_i_Febrer property:work_location ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1492
P190
Q56061
USER
Which administrative territories are partner town of that one ?
(c(Q56061),P190,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q1492']
SELECT DISTINCT ?t WHERE { ?t property:P190 resource:Q1492 . ?t rdf:type ontology:Q56061 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Barcelona']
SELECT DISTINCT ?t WHERE { ?t property:sister_city resource:Barcelona . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678 Q8686 Q1524
SYSTEM
Rio de Janeiro, Shanghai, Athens
Q8678 Q8686 Q12892 Q365 Q100 Q52535 Q42053 Q340 Q6506 Q34820 Q1524 Q1563 Q48320 Q80985 Q33935 Q612 Q3561 Q85 Q47492 Q174 Q8717 Q33986 Q6441
(c(Q56061),P190,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P190
type Q56061
[ANSWERS] are partner town of that one
[{'concept': 'Q56061'}, 'P190', 'Q1492']
SELECT DISTINCT ?t WHERE { ?t property:P190 resource:Q1492 . ?t rdf:type ontology:Q56061 }
Rio de Janeiro Shanghai Antwerp Cologne Boston Rosario Isfahan Montreal Varna Santo Domingo Athens Havana Kōbe Fes Tel Aviv Dubai Algiers Cairo Gaza City São Paulo Seville Valparaíso Montpellier
Rio de Janeiro, Shanghai and Athens are partner town of that one
Rio de Janeiro Shanghai Athens
action filter_type
action find_reverse
entity Barcelona
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Barcelona']
SELECT DISTINCT ?t WHERE { ?t property:sister_city resource:Barcelona . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q8678 Q8686 Q1524
P551
Q502895
USER
Who reside at Rio de Janeiro, Shanghai and Athens ?
(c(Q502895),P551,Q8678) (c(Q502895),P551,Q8686) (c(Q502895),P551,Q1524)
action union
action filter_type
action find_reverse
entity Q8678
relation P551
type Q502895
action filter_type
action find_reverse
entity Q8686
relation P551
type Q502895
action filter_type
action find_reverse
entity Q1524
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q8678'] [{'concept': 'Q502895'}, 'P551', 'Q8686'] [{'concept': 'Q502895'}, 'P551', 'Q1524']
SELECT DISTINCT ?v WHERE { { ?v property:P551 resource:Q8678 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P551 resource:Q8686 . ?v rdf:type ontology:Q502895 } }
Rio de Janeiro Shanghai Athens
action union
action filter_type
action find_reverse
entity Rio de Janeiro
relation residence
type common name
action filter_type
action find_reverse
entity Shanghai
relation residence
type common name
action filter_type
action find_reverse
entity Athens
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Rio de Janeiro'] [{'concept': 'common name'}, 'residence', 'Shanghai'] [{'concept': 'common name'}, 'residence', 'Athens']
SELECT DISTINCT ?v WHERE { { ?v property:residence resource:Rio_de_Janeiro . ?v rdf:type ontology:common_name } UNION { ?v property:residence resource:Shanghai . ?v rdf:type ontology:common_name } }
[]
common name
Q311179 Q75151 Q4666477
SYSTEM
Stephen Chow, Ursula Kuczynski, Abedi
Q10294327 Q15069113 Q5427728 Q7322746 Q47526 Q717927 Q5041646 Q7357207 Q3849706 Q5649131 Q6698662 Q7319706 Q440626 Q14308711 Q5109859 Q19519741 Q5568842 Q6757342 Q7282104 Q512899 Q10361264 Q3277821 Q970533 Q16887700 Q2401206 Q74666 Q5427826 Q5444571 Q4666477 Q2594678 Q75151 Q1786326 Q311179 Q702146 Q593082 Q7926316 Q6233875 Q535311 Q18340741 Q16330478 Q3557651 Q19848867 Q5349871 Q158030 Q2966680 Q510723 Q16913116 Q14932464 Q317967 Q15407925 Q228611 Q228611 Q13053091 Q939615 Q1825038 Q5543184 Q245363 Q16328562 Q297024 Q233397 Q21506277
(c(Q502895),P551,Q8678) (c(Q502895),P551,Q8686) (c(Q502895),P551,Q1524)
action union
action filter_type
action find_reverse
entity Q8678
relation P551
type Q502895
action filter_type
action find_reverse
entity Q8686
relation P551
type Q502895
action filter_type
action find_reverse
entity Q1524
relation P551
type Q502895
[ANSWERS] reside at Rio de Janeiro, Shanghai and Athens
[{'concept': 'Q502895'}, 'P551', 'Q8678'] [{'concept': 'Q502895'}, 'P551', 'Q8686'] [{'concept': 'Q502895'}, 'P551', 'Q1524']
SELECT DISTINCT ?v WHERE { { ?v property:P551 resource:Q8678 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P551 resource:Q8686 . ?v rdf:type ontology:Q502895 } }
Heinz Ebert Ana Nóbrega Fabiano de Paula Ricardo Morais Zico Domingos da Guia Carlos "Carlão" Santos Rodolfo Vieira Marlon Sandro Hannette Staack Lucílio de Albuquerque Reyson Gracie Maria das Graças Silva Foster Cláudia Gadelha Christian Lindell Ingrid Gamarra Martins Glenn Greenwald Marcio Feitosa Rafael Dias Lily Safra Richard Bate Murilo Rua João Souza Madeleine M. Joullié José Tadeu Carneiro Cardoso Vitor Ribeiro Fábio Gurgel Fernando "Tererê" Augusto Abedi Wu Yajun Ursula Kuczynski Wenchen Qin Stephen Chow Cao Dayuan Zhou Yimiao Victor Sassoon John Francis Charles, 7th Count de Salis-Soglio Pandelis Prevelakis Konstantinos Sidiropoulos Stavros Theodorakis Anna Gerasimou Argyris Sfountouris Eirini Georgatou Cornelius Castoriadis locus Christína Papadáki Georgios Jakobides Costas Stergiopoulos Georgios Giamalis Kostis Palamas Melpo Zarokosta Melina Mercouri Melina Mercouri Levon Larents George Leonardos Lilika Naku George Papassavas Zygmunt Mineyko Leonidas Deligiorgis Demetrius Vikelas Arianna Huffington Sikanos
Stephen Chow, Ursula Kuczynski and Abedi reside at Rio de Janeiro, Shanghai and Athens
Stephen Chow Ursula Kuczynski Abedi
action union
action filter_type
action find_reverse
entity Rio de Janeiro
relation residence
type common name
action filter_type
action find_reverse
entity Shanghai
relation residence
type common name
action filter_type
action find_reverse
entity Athens
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Rio de Janeiro'] [{'concept': 'common name'}, 'residence', 'Shanghai'] [{'concept': 'common name'}, 'residence', 'Athens']
SELECT DISTINCT ?v WHERE { { ?v property:residence resource:Rio_de_Janeiro . ?v rdf:type ontology:common_name } UNION { ?v property:residence resource:Shanghai . ?v rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q75151
P40
Q502895
USER
Which person is a child of that one ?
(Q75151,P40,c(Q502895))
action filter_type
action find
entity Q75151
relation P40
type Q502895
['Q75151', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q75151 property:P40 ?c . ?c rdf:type ontology:Q502895 }
Ursula Kuczynski
action filter_type
action find
entity Ursula Kuczynski
relation child
type common name
['Ursula Kuczynski', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Ursula_Kuczynski property:child ?c . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q75151
SYSTEM
Did you mean Ursula Kuczynski ?
Q311179 Q75151 Q4666477
(Q311179,P40,c(Q502895)) (Q75151,P40,c(Q502895)) (Q4666477,P40,c(Q502895))
[ANSWER]
['Q311179', 'P40', {'concept': 'Q502895'}] ['Q75151', 'P40', {'concept': 'Q502895'}] ['Q4666477', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q75151 property:P40 ?c . ?c rdf:type ontology:Q502895 }
Stephen Chow Ursula Kuczynski Abedi
Did you mean Ursula Kuczynski ?
Ursula Kuczynski
['Stephen Chow', 'child', {'concept': 'common name'}] ['Ursula Kuczynski', 'child', {'concept': 'common name'}] ['Abedi', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Ursula_Kuczynski property:child ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q75151,P40,c(Q502895))
['Q75151', 'P40', {'concept': 'Q502895'}]
['Ursula Kuczynski', 'child', {'concept': 'common name'}]
[]
Q1885343
SYSTEM
Maik Hamburger
Q1885343
(Q75151,P40,c(Q502895))
action filter_type
action find
entity Q75151
relation P40
type Q502895
[ANSWER] is a child of that one
['Q75151', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q75151 property:P40 ?c . ?c rdf:type ontology:Q502895 }
Maik Hamburger
Maik Hamburger is a child of that one
Maik Hamburger
action filter_type
action find
entity Ursula Kuczynski
relation child
type common name
['Ursula Kuczynski', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Ursula_Kuczynski property:child ?c . ?c rdf:type ontology:common_name }
[]