Simple Question (Direct)
Simple Question
Q16596231
P19
Q56061
USER
Where was Ricardo Margarit Calvet born ?
(Q16596231,P19,c(Q56061))
action filter_type
action find
entity Q16596231
relation P19
type Q56061
['Q16596231', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q16596231 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Ricardo Margarit Calvet
action filter_type
action find
entity Ricardo Margarit Calvet
relation place of birth
type administrative territorial entity
['Ricardo Margarit Calvet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ricardo_Margarit_Calvet property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13934
SYSTEM
Rubí
Q13934
(Q16596231,P19,c(Q56061))
action filter_type
action find
entity Q16596231
relation P19
type Q56061
Ricardo Margarit Calvet was born in [ANSWER]
['Q16596231', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q16596231 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Rubí
Ricardo Margarit Calvet was born in Rubí
Rubí
action filter_type
action find
entity Ricardo Margarit Calvet
relation place of birth
type administrative territorial entity
['Ricardo Margarit Calvet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ricardo_Margarit_Calvet property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16596231
P20
Q56061
USER
Where did that person expire ?
(Q13934,P20,c(Q56061))
action filter_type
action find
entity Q16596231
relation P20
type Q56061
['Q13934', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q16596231 property:P20 ?n }
Ricardo Margarit Calvet
action filter_type
action find
entity Ricardo Margarit Calvet
relation place of death
type administrative territorial entity
['Rubí', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Ricardo_Margarit_Calvet property:place_of_death ?n }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q13934,P20,c(Q56061))
action filter_type
action find
entity Q16596231
relation P20
type Q56061
That person expired in [ANSWER]
['Q13934', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q16596231 property:P20 ?n }
Barcelona
That person expired in Barcelona
Barcelona
action filter_type
action find
entity Ricardo Margarit Calvet
relation place of death
type administrative territorial entity
['Rubí', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Ricardo_Margarit_Calvet property:place_of_death ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3262543 Q16596231
P20
Q56061
USER
Or Louis Linÿer?
OR((Q16596231,P20,c(Q56061)), (Q3262543,P20,c(Q56061)))
action filter_type
action union
action find
entity Q16596231
relation P20
action find
entity Q3262543
relation P20
type Q56061
{'OR': [['Q16596231', 'P20', {'concept': 'Q56061'}], ['Q3262543', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16596231 property:P20 ?n } UNION { resource:Q3262543 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Louis Linÿer Ricardo Margarit Calvet
action filter_type
action union
action find
entity Ricardo Margarit Calvet
relation place of death
action find
entity Louis Linÿer
relation place of death
type administrative territorial entity
{'OR': [['Ricardo Margarit Calvet', 'place of death', {'concept': 'administrative territorial entity'}], ['Louis Linÿer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ricardo_Margarit_Calvet property:place_of_death ?n } UNION { resource:Louis_Linÿer property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492 Q12191
SYSTEM
Barcelona, Nantes
Q1492 Q12191
OR((Q16596231,P20,c(Q56061)), (Q3262543,P20,c(Q56061)))
action filter_type
action union
action find
entity Q16596231
relation P20
action find
entity Q3262543
relation P20
type Q56061
[ANSWERS]
{'OR': [['Q16596231', 'P20', {'concept': 'Q56061'}], ['Q3262543', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16596231 property:P20 ?n } UNION { resource:Q3262543 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Barcelona Nantes
Barcelona Nantes
action filter_type
action union
action find
entity Ricardo Margarit Calvet
relation place of death
action find
entity Louis Linÿer
relation place of death
type administrative territorial entity
{'OR': [['Ricardo Margarit Calvet', 'place of death', {'concept': 'administrative territorial entity'}], ['Louis Linÿer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ricardo_Margarit_Calvet property:place_of_death ?n } UNION { resource:Louis_Linÿer property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1492 Q12191
P127
Q1076486
USER
Which sports venues are owned by those administrative territories ?
(c(Q1076486),P127,Q1492) (c(Q1076486),P127,Q12191)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q1492'] [{'concept': 'Q1076486'}, 'P127', 'Q12191']
SELECT DISTINCT ?j WHERE { ?j property:P127 ?i . ?j rdf:type ontology:Q1076486 . VALUES ( ?i ) { ( resource:Q1492 ) ( resource:Q12191 ) } }
Barcelona Nantes
action filter_type
action find_reverse
entity prev_answer
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Barcelona'] [{'concept': 'sports venue'}, 'owned by', 'Nantes']
SELECT DISTINCT ?j WHERE { ?j property:owned_by ?i . ?j rdf:type ontology:sports_venue . VALUES ( ?i ) { ( resource:Barcelona ) ( resource:Nantes ) } }
[]
sports venue
Q275715 Q1053455
SYSTEM
Estadi Olímpic Lluís Companys, Stade de la Beaujoire
Q275715 Q1053455
(c(Q1076486),P127,Q1492) (c(Q1076486),P127,Q12191)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q1076486
[ANSWERS] are owned by those administrative territories
[{'concept': 'Q1076486'}, 'P127', 'Q1492'] [{'concept': 'Q1076486'}, 'P127', 'Q12191']
SELECT DISTINCT ?j WHERE { ?j property:P127 ?i . ?j rdf:type ontology:Q1076486 . VALUES ( ?i ) { ( resource:Q1492 ) ( resource:Q12191 ) } }
Estadi Olímpic Lluís Companys Stade de la Beaujoire
Estadi Olímpic Lluís Companys and Stade de la Beaujoire are owned by those administrative territories
Estadi Olímpic Lluís Companys Stade de la Beaujoire
action filter_type
action find_reverse
entity prev_answer
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Barcelona'] [{'concept': 'sports venue'}, 'owned by', 'Nantes']
SELECT DISTINCT ?j WHERE { ?j property:owned_by ?i . ?j rdf:type ontology:sports_venue . VALUES ( ?i ) { ( resource:Barcelona ) ( resource:Nantes ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1492
P159
Q7278
USER
Which political parties have their HQ location at Barcelona ?
(c(Q7278),P159,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P159
type Q7278
[{'concept': 'Q7278'}, 'P159', 'Q1492']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q1492 . ?d rdf:type ontology:Q7278 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation headquarters location
type political party
[{'concept': 'political party'}, 'headquarters location', 'Barcelona']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Barcelona . ?d rdf:type ontology:political_party }
[]
political party
Q25713876 Q1129443 Q1393123
SYSTEM
Catalan European Democratic Party, Democratic Convergence of Catalonia, Ciudadanos
Q3042973 Q668699 Q3328134 Q1129443 Q1628993 Q3322477 Q2055003 Q25713876 Q1393123 Q1445096 Q150068 Q429078
(c(Q7278),P159,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P159
type Q7278
[ANSWERS] have their HQ location at Barcelona
[{'concept': 'Q7278'}, 'P159', 'Q1492']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q1492 . ?d rdf:type ontology:Q7278 }
Estat Català POUM Revolutionary Workers' Party (Spain) Democratic Convergence of Catalonia Democratic Union of Catalonia Party of the Communists of Catalonia Socialists' Party of Catalonia Catalan European Democratic Party Ciudadanos People's Party of Catalonia Republican Left of Catalonia PSUC viu
Catalan European Democratic Party, Democratic Convergence of Catalonia and Ciudadanos have their HQ location at Barcelona
Catalan European Democratic Party Democratic Convergence of Catalonia Ciudadanos
action filter_type
action find_reverse
entity Barcelona
relation headquarters location
type political party
[{'concept': 'political party'}, 'headquarters location', 'Barcelona']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Barcelona . ?d rdf:type ontology:political_party }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1393123
P102
Q502895
USER
Who belong to the political party that one ?
(c(Q502895),P102,Q1393123)
action filter_type
action find_reverse
entity Q1393123
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q1393123']
SELECT DISTINCT ?g WHERE { ?g property:P102 resource:Q1393123 . ?g rdf:type ontology:Q502895 }
Ciudadanos
action filter_type
action find_reverse
entity Ciudadanos
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Ciudadanos']
SELECT DISTINCT ?g WHERE { ?g property:member_of_political_party resource:Ciudadanos . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q25713876
SYSTEM
Did you mean Catalan European Democratic Party ?
Q25713876 Q1129443 Q1393123
(c(Q502895),P102,Q25713876) (c(Q502895),P102,Q1129443) (c(Q502895),P102,Q1393123)
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q25713876'] [{'concept': 'Q502895'}, 'P102', 'Q1129443'] [{'concept': 'Q502895'}, 'P102', 'Q1393123']
SELECT DISTINCT ?g WHERE { ?g property:P102 resource:Q1393123 . ?g rdf:type ontology:Q502895 }
Catalan European Democratic Party Democratic Convergence of Catalonia Ciudadanos
Did you mean Catalan European Democratic Party ?
Catalan European Democratic Party
[{'concept': 'common name'}, 'member of political party', 'Catalan European Democratic Party'] [{'concept': 'common name'}, 'member of political party', 'Democratic Convergence of Catalonia'] [{'concept': 'common name'}, 'member of political party', 'Ciudadanos']
SELECT DISTINCT ?g WHERE { ?g property:member_of_political_party resource:Ciudadanos . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Ciudadanos. Could you tell me the answer for that?
(c(Q502895),P102,Q1393123)
Q1393123
[{'concept': 'Q502895'}, 'P102', 'Q1393123']
[{'concept': 'common name'}, 'member of political party', 'Ciudadanos']
[]
Q2424274 Q16300574 Q5928039
SYSTEM
Alberto Carlos Rivera Díaz, Juan Carlos Girauta, Javier Nart
Q21480205 Q5992409 Q21089358 Q21480200 Q20727901 Q11921857 Q6700640 Q557693 Q633288 Q5405172 Q21001225 Q5928039 Q19839312 Q21001346 Q27531913 Q24174874 Q20725437 Q21001151 Q21480005 Q19868753 Q21001403 Q21001090 Q20671831 Q13787096 Q20728020 Q8338698 Q21480150 Q16300574 Q19722022 Q21001097 Q5856251 Q21479968 Q21787587 Q1392344 Q5982942 Q21001227 Q21787580 Q21479945 Q2424274 Q24205626 Q20978992 Q21001593 Q10949778 Q20876512 Q2880824 Q22965073 Q21480198 Q20203851 Q21479899 Q19788667 Q947070 Q21480239 Q20644698 Q21791494 Q21479991 Q19320457 Q1097069 Q21479939 Q20203561 Q13787544 Q21057791 Q20876724 Q9013801 Q21480160 Q21480161 Q9096568 Q21001609 Q13859913 Q21480007 Q21479958 Q21001464 Q21479839 Q21001180 Q21402446 Q11936228 Q20925455 Q20876728
(c(Q502895),P102,Q1393123)
action filter_type
action find_reverse
entity Q1393123
relation P102
type Q502895
[ANSWERS] belong to the political party that one
[{'concept': 'Q502895'}, 'P102', 'Q1393123']
SELECT DISTINCT ?g WHERE { ?g property:P102 resource:Q1393123 . ?g rdf:type ontology:Q502895 }
Jorge Soler González Ignacio Prendes Susana Gaspar Sonia Sierra Luis Crisol Lafront Ferran Toutain Luis Garicano Jordi Cañas Pérez Alfonso Pérez Burrull Francesc de Carreras Rosa María García González Javier Nart Ignacio Aguado David de Miguel Martínez Santiago Alonso Beltrán Irene Rivera Andrés Lorena Roldán Carmen López Santana Fran Hervías Fernando Giner Grima María del Carmen Pérez Martínez Emilio Argüeso Torres Tomás Marcos José Manuel Villegas Pérez Sonia Orts Carmen de Rivera i Pla Javier Rivas Escamilla Juan Carlos Girauta Juan Marín Olga Ballester Nebot Antonio Robles Almeida Antonio Espinosa Cerrato Marc Tarrús de Vehí Francisco Sosa Wagner Luis Bouza-Brey María José García Jiménez Héctor Amelló Montiu Francisco Javier Domínguez Serrano Alberto Carlos Rivera Díaz Koldo Blanco Uzquiano Alexis Frederic Marí Malonda Mercedes Ventura Campos Fernando Maura Amparo Picó Peris Félix de Azúa Fernando Navarro Fernández-Rodríguez Sergi Sanz Jiménez Ángeles Ribes Jean Castel Sucarrat Begoña Villacís Toni Cantó Laura Vílchez Sánchez Miguel Sánchez López Fernando López de Castro Fa Jesús Galiano Gutierrez Carolina Punset Carina Mejías Sánchez David Mejía Ayra José Luis Osorio Fernández Carlos Carrizosa Torres José María Córdoba Antonio Subiela Chico José Domingo Domingo Alfonso Sánchez Fisac Carlos Sánchez Martín Xavier Pericay Antonio Joaquín Woodward Poch José María Espejo-Saavedra Conesa Joan García González Elisabeth Valencia Mimbrero María del Carmen Sánchez Zamora Marina Bravo Sobrino Juan Ginés Córdoba Cortijo Fernando Tomás de Páramo Gómez Matías Alonso Ruiz Rubén Gómez González Susana Beltrán García
Alberto Carlos Rivera Díaz, Juan Carlos Girauta and Javier Nart belong to the political party that one
Alberto Carlos Rivera Díaz Juan Carlos Girauta Javier Nart
action filter_type
action find_reverse
entity Ciudadanos
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Ciudadanos']
SELECT DISTINCT ?g WHERE { ?g property:member_of_political_party resource:Ciudadanos . ?g rdf:type ontology:common_name }
[]