Simple Question (Direct)
Simple Question
Q20026663
P937
Q56061
USER
Which administrative territory is the work location of Rafael Calduch ?
(Q20026663,P937,c(Q56061))
action filter_type
action find
entity Q20026663
relation P937
type Q56061
['Q20026663', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q20026663 property:P937 ?q }
Rafael Calduch
action filter_type
action find
entity Rafael Calduch
relation work location
type administrative territorial entity
['Rafael Calduch', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Rafael_Calduch property:work_location ?q }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q20026663,P937,c(Q56061))
action filter_type
action find
entity Q20026663
relation P937
type Q56061
[ANSWER] is the work location of Rafael Calduch
['Q20026663', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q20026663 property:P937 ?q }
Madrid
Madrid is the work location of Rafael Calduch
Madrid
action filter_type
action find
entity Rafael Calduch
relation work location
type administrative territorial entity
['Rafael Calduch', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Rafael_Calduch property:work_location ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20026663
P39
Q12737077
USER
Which occupation was a position held by Rafael Calduch ?
(Q20026663,P39,c(Q12737077))
action filter_type
action find
entity Q20026663
relation P39
type Q12737077
['Q20026663', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q20026663 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Rafael Calduch
action filter_type
action find
entity Rafael Calduch
relation position held
type occupation
['Rafael Calduch', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Rafael_Calduch property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q18171345
SYSTEM
Member of the Congress of Deputies of Spain
Q18171345
(Q20026663,P39,c(Q12737077))
action filter_type
action find
entity Q20026663
relation P39
type Q12737077
[ANSWER] was a position held by Rafael Calduch
['Q20026663', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q20026663 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Member of the Congress of Deputies of Spain
Member of the Congress of Deputies of Spain was a position held by Rafael Calduch
Member of the Congress of Deputies of Spain
action filter_type
action find
entity Rafael Calduch
relation position held
type occupation
['Rafael Calduch', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Rafael_Calduch property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18171345 Q11921150
P39
Q502895
USER
Was Eudald Duran i Reynals appointed for the position of that occupation ?
(Q11921150,P39,Q18171345)
action is_in
entity Q11921150
action find
entity Q18171345
relation P39
['Q11921150', 'P39', 'Q18171345']
ASK WHERE { resource:Q18171345 property:P39 resource:Q11921150 }
Member of the Congress of Deputies of Spain Eudald Duran i Reynals
action is_in
entity Eudald Duran i Reynals
action find
entity Member of the Congress of Deputies of Spain
relation position held
['Eudald Duran i Reynals', 'position held', 'Member of the Congress of Deputies of Spain']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:position_held resource:Eudald_Duran_i_Reynals }
[]
common name
SYSTEM
NO
(Q11921150,P39,Q18171345)
action is_in
entity Q11921150
action find
entity Q18171345
relation P39
[ANSWER]
['Q11921150', 'P39', 'Q18171345']
ASK WHERE { resource:Q18171345 property:P39 resource:Q11921150 }
No
action is_in
entity Eudald Duran i Reynals
action find
entity Member of the Congress of Deputies of Spain
relation position held
['Eudald Duran i Reynals', 'position held', 'Member of the Congress of Deputies of Spain']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:position_held resource:Eudald_Duran_i_Reynals }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2807 Q11194 Q2900
P190
Q515
USER
Is Madrid partner town of Sarajevo and Quito ?
(Q2807,P190,Q11194) (Q2807,P190,Q2900)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q11194
relation P190
action find_reverse
entity Q2900
relation P190
['Q2807', 'P190', 'Q11194'] ['Q2807', 'P190', 'Q2900']
ASK WHERE { resource:Q2807 property:P190 resource:Q2900 . resource:Q2807 property:P190 resource:Q11194 }
Madrid Sarajevo Quito
action is_in
entity Madrid
action intersection
action find_reverse
entity Sarajevo
relation sister city
action find_reverse
entity Quito
relation sister city
['Madrid', 'sister city', 'Sarajevo'] ['Madrid', 'sister city', 'Quito']
ASK WHERE { resource:Madrid property:sister_city resource:Quito . resource:Madrid property:sister_city resource:Sarajevo }
[]
city
SYSTEM
YES
(Q2807,P190,Q11194) (Q2807,P190,Q2900)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q11194
relation P190
action find_reverse
entity Q2900
relation P190
[ANSWER]
['Q2807', 'P190', 'Q11194'] ['Q2807', 'P190', 'Q2900']
ASK WHERE { resource:Q2807 property:P190 resource:Q2900 . resource:Q2807 property:P190 resource:Q11194 }
Yes
action is_in
entity Madrid
action intersection
action find_reverse
entity Sarajevo
relation sister city
action find_reverse
entity Quito
relation sister city
['Madrid', 'sister city', 'Sarajevo'] ['Madrid', 'sister city', 'Quito']
ASK WHERE { resource:Madrid property:sister_city resource:Quito . resource:Madrid property:sister_city resource:Sarajevo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18171345 Q215164 Q29
P17
Q15617994
USER
Is Member of the Congress of Deputies of Spain situated in Sorano and Spain ?
(Q18171345,P17,Q215164) (Q18171345,P17,Q29)
action is_in
entity Q18171345
action intersection
action find_reverse
entity Q215164
relation P17
action find_reverse
entity Q29
relation P17
['Q18171345', 'P17', 'Q215164'] ['Q18171345', 'P17', 'Q29']
ASK WHERE { resource:Q18171345 property:P17 resource:Q215164 . resource:Q18171345 property:P17 resource:Q29 }
Member of the Congress of Deputies of Spain Sorano Spain
action is_in
entity Member of the Congress of Deputies of Spain
action intersection
action find_reverse
entity Sorano
relation country
action find_reverse
entity Spain
relation country
['Member of the Congress of Deputies of Spain', 'country', 'Sorano'] ['Member of the Congress of Deputies of Spain', 'country', 'Spain']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:country resource:Sorano . resource:Member_of_the_Congress_of_Deputies_of_Spain property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q18171345,P17,Q215164) (Q18171345,P17,Q29)
action is_in
entity Q18171345
action intersection
action find_reverse
entity Q215164
relation P17
action find_reverse
entity Q29
relation P17
[ANSWER]
['Q18171345', 'P17', 'Q215164'] ['Q18171345', 'P17', 'Q29']
ASK WHERE { resource:Q18171345 property:P17 resource:Q215164 . resource:Q18171345 property:P17 resource:Q29 }
NO and YES respectively
action is_in
entity Member of the Congress of Deputies of Spain
action intersection
action find_reverse
entity Sorano
relation country
action find_reverse
entity Spain
relation country
['Member of the Congress of Deputies of Spain', 'country', 'Sorano'] ['Member of the Congress of Deputies of Spain', 'country', 'Spain']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:country resource:Sorano . resource:Member_of_the_Congress_of_Deputies_of_Spain property:country resource:Spain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2807
P276
Q491040 Q625994
USER
How many violent crimes and conventions are situated at Madrid ?
(c(Q491040),P276,Q2807) (c(Q625994),P276,Q2807)
action count
action union
action filter_type
action find_reverse
entity Q2807
relation P276
type Q491040
action filter_type
action find_reverse
entity Q2807
relation P276
type Q625994
[{'concept': 'Q491040'}, 'P276', 'Q2807'] [{'concept': 'Q625994'}, 'P276', 'Q2807']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p property:P276 resource:Q2807 . ?p rdf:type ontology:Q491040 } UNION { ?p property:P276 resource:Q2807 . ?p rdf:type ontology:Q625994 } }
Madrid
action count
action union
action filter_type
action find_reverse
entity Madrid
relation location
type violent crime
action filter_type
action find_reverse
entity Madrid
relation location
type convention
[{'concept': 'violent crime'}, 'location', 'Madrid'] [{'concept': 'convention'}, 'location', 'Madrid']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p property:location resource:Madrid . ?p rdf:type ontology:violent_crime } UNION { ?p property:location resource:Madrid . ?p rdf:type ontology:convention } }
[]
violent crime convention
SYSTEM
1 violent crimes and 1 conventions
Q213531 Q24406858
(c(Q491040),P276,Q2807) (c(Q625994),P276,Q2807)
action count
action union
action filter_type
action find_reverse
entity Q2807
relation P276
type Q491040
action filter_type
action find_reverse
entity Q2807
relation P276
type Q625994
[ANSWER]
[{'concept': 'Q491040'}, 'P276', 'Q2807'] [{'concept': 'Q625994'}, 'P276', 'Q2807']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p property:P276 resource:Q2807 . ?p rdf:type ontology:Q491040 } UNION { ?p property:P276 resource:Q2807 . ?p rdf:type ontology:Q625994 } }
2001 Madrid train bombings ELAG 1986
1 violent crimes and 1 conventions
action count
action union
action filter_type
action find_reverse
entity Madrid
relation location
type violent crime
action filter_type
action find_reverse
entity Madrid
relation location
type convention
[{'concept': 'violent crime'}, 'location', 'Madrid'] [{'concept': 'convention'}, 'location', 'Madrid']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p property:location resource:Madrid . ?p rdf:type ontology:violent_crime } UNION { ?p property:location resource:Madrid . ?p rdf:type ontology:convention } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20026663
P102
Q7210356
USER
Which party is Rafael Calduch affiliated with ?
(Q20026663,P102,c(Q7210356))
action filter_type
action find
entity Q20026663
relation P102
type Q7210356
['Q20026663', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q20026663 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Rafael Calduch
action filter_type
action find
entity Rafael Calduch
relation member of political party
type political organization
['Rafael Calduch', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Rafael_Calduch property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q1144342
SYSTEM
Union, Progress and Democracy
Q1144342
(Q20026663,P102,c(Q7210356))
action filter_type
action find
entity Q20026663
relation P102
type Q7210356
Rafael Calduch is affiliated to [ANSWER]
['Q20026663', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q20026663 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Union, Progress and Democracy
Rafael Calduch is affiliated to Union, Progress and Democracy
Union, Progress and Democracy
action filter_type
action find
entity Rafael Calduch
relation member of political party
type political organization
['Rafael Calduch', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Rafael_Calduch property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20026663
P1412
Q34770
USER
Which language is spoken by Rafael Calduch ?
(Q20026663,P1412,c(Q34770))
action filter_type
action find
entity Q20026663
relation P1412
type Q34770
['Q20026663', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q20026663 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Rafael Calduch
action filter_type
action find
entity Rafael Calduch
relation languages spoken, written or signed
type language
['Rafael Calduch', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Rafael_Calduch property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q20026663,P1412,c(Q34770))
action filter_type
action find
entity Q20026663
relation P1412
type Q34770
In [ANSWER] is spoken by Rafael Calduch
['Q20026663', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q20026663 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Spanish
In Spanish is spoken by Rafael Calduch
Spanish
action filter_type
action find
entity Rafael Calduch
relation languages spoken, written or signed
type language
['Rafael Calduch', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Rafael_Calduch property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]