Simple Question (Direct)
Simple Question
Q18267
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Sant Esteve de la Sarga ?
(Q18267,P1313,c(Q12737077))
action filter_type
action find
entity Q18267
relation P1313
type Q12737077
['Q18267', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q18267 property:P1313 ?h . ?h rdf:type ontology:Q12737077 }
Sant Esteve de la Sarga
action filter_type
action find
entity Sant Esteve de la Sarga
relation office held by head of government
type occupation
['Sant Esteve de la Sarga', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Sant_Esteve_de_la_Sarga property:office_held_by_head_of_government ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q26696712
SYSTEM
mayor of San Esteban de la Sarga
Q26696712
(Q18267,P1313,c(Q12737077))
action filter_type
action find
entity Q18267
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Sant Esteve de la Sarga
['Q18267', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q18267 property:P1313 ?h . ?h rdf:type ontology:Q12737077 }
mayor of San Esteban de la Sarga
The mayor of San Esteban de la Sarga serves as the political office that is fulfilled by the head of the government of Sant Esteve de la Sarga
mayor of San Esteban de la Sarga
action filter_type
action find
entity Sant Esteve de la Sarga
relation office held by head of government
type occupation
['Sant Esteve de la Sarga', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Sant_Esteve_de_la_Sarga property:office_held_by_head_of_government ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18267
P47
Q1048835
USER
Which political territories are bordered by that one ?
(Q26696712,P47,c(Q1048835))
action filter_type
action find
entity Q18267
relation P47
type Q1048835
['Q26696712', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q18267 property:P47 ?l . ?l rdf:type ontology:Q1048835 }
Sant Esteve de la Sarga
action filter_type
action find
entity Sant Esteve de la Sarga
relation shares border with
type political territorial entity
['mayor of San Esteban de la Sarga', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Sant_Esteve_de_la_Sarga property:shares_border_with ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q18272 Q372127 Q984673
SYSTEM
Tremp, Àger, Viacamp y Litera
Q18272 Q372127 Q984673 Q18258
(Q26696712,P47,c(Q1048835))
action filter_type
action find
entity Q18267
relation P47
type Q1048835
[ANSWERS] are bordered by that one
['Q26696712', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q18267 property:P47 ?l . ?l rdf:type ontology:Q1048835 }
Tremp Àger Viacamp y Litera Castell de Mur
Tremp, Àger and Viacamp y Litera are bordered by that one
Tremp Àger Viacamp y Litera
action filter_type
action find
entity Sant Esteve de la Sarga
relation shares border with
type political territorial entity
['mayor of San Esteban de la Sarga', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Sant_Esteve_de_la_Sarga property:shares_border_with ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18267
P47
Q1048835
USER
Do Sant Esteve de la Sarga have an adjacent border with those ones ?
(Q18267,P47,Q18272) (Q18267,P47,Q372127) (Q18267,P47,Q984673)
action is_in
entity prev_answer
action find
entity Q18267
relation P47
['Q18267', 'P47', 'Q18272'] ['Q18267', 'P47', 'Q372127'] ['Q18267', 'P47', 'Q984673']
ASK WHERE { resource:Q18267 property:P47 ?f . VALUES ( ?f ) { ( resource:Q18272 ) ( resource:Q372127 ) ( resource:Q984673 ) } }
Sant Esteve de la Sarga
action is_in
entity prev_answer
action find
entity Sant Esteve de la Sarga
relation shares border with
['Sant Esteve de la Sarga', 'shares border with', 'Tremp'] ['Sant Esteve de la Sarga', 'shares border with', 'Àger'] ['Sant Esteve de la Sarga', 'shares border with', 'Viacamp y Litera']
ASK WHERE { resource:Sant_Esteve_de_la_Sarga property:shares_border_with ?f . VALUES ( ?f ) { ( resource:Tremp ) ( resource:Àger ) ( resource:Viacamp_y_Litera ) } }
[]
political territorial entity
SYSTEM
YES
(Q18267,P47,Q18272) (Q18267,P47,Q372127) (Q18267,P47,Q984673)
action is_in
entity prev_answer
action find
entity Q18267
relation P47
[ANSWER]
['Q18267', 'P47', 'Q18272'] ['Q18267', 'P47', 'Q372127'] ['Q18267', 'P47', 'Q984673']
ASK WHERE { resource:Q18267 property:P47 ?f . VALUES ( ?f ) { ( resource:Q18272 ) ( resource:Q372127 ) ( resource:Q984673 ) } }
Yes
action is_in
entity prev_answer
action find
entity Sant Esteve de la Sarga
relation shares border with
['Sant Esteve de la Sarga', 'shares border with', 'Tremp'] ['Sant Esteve de la Sarga', 'shares border with', 'Àger'] ['Sant Esteve de la Sarga', 'shares border with', 'Viacamp y Litera']
ASK WHERE { resource:Sant_Esteve_de_la_Sarga property:shares_border_with ?f . VALUES ( ?f ) { ( resource:Tremp ) ( resource:Àger ) ( resource:Viacamp_y_Litera ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q18272
P19 P21
Q502895
USER
Which people have place of birth as Tremp and are a male ?
AND((c(Q502895),P19,Q18272), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18272
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q18272'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q18272 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
male Tremp
action filter_type
action intersection
action find_reverse
entity Tremp
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Tremp'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Tremp . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]
common name
Q11928327 Q348452 Q4711362 Q4895294 Q1146169 Q11922814 Q19301259 Q342497
SYSTEM
Jordi Mir i Parache, Josep Manyanet i Vives, Albert Urrea, Joan Carretero i Grau, Custo Dalmau, Francesc Ramon Monrós i Fitó, Miquel Verdeny Enrich, Miki Roqué
Q11928327 Q348452 Q4711362 Q4895294 Q1146169 Q11922814 Q19301259 Q342497
AND((c(Q502895),P19,Q18272), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18272
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have place of birth as Tremp and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q18272'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q18272 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
Jordi Mir i Parache Josep Manyanet i Vives Albert Urrea Joan Carretero i Grau Custo Dalmau Francesc Ramon Monrós i Fitó Miquel Verdeny Enrich Miki Roqué
Jordi Mir i Parache, Josep Manyanet i Vives, Albert Urrea, Joan Carretero i Grau, Custo Dalmau, Francesc Ramon Monrós i Fitó, Miquel Verdeny Enrich and Miki Roqué have place of birth as Tremp and are a male
Jordi Mir i Parache Josep Manyanet i Vives Albert Urrea Joan Carretero i Grau Custo Dalmau Francesc Ramon Monrós i Fitó Miquel Verdeny Enrich Miki Roqué
action filter_type
action intersection
action find_reverse
entity Tremp
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Tremp'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Tremp . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11928327 Q348452 Q4711362 Q4895294 Q1146169 Q11922814 Q19301259 Q342497
P106
Q12737077
USER
What are the job of those people ?
(Q11928327,P106,c(Q12737077)) (Q348452,P106,c(Q12737077)) (Q4711362,P106,c(Q12737077)) (Q4895294,P106,c(Q12737077)) (Q1146169,P106,c(Q12737077)) (Q11922814,P106,c(Q12737077)) (Q19301259,P106,c(Q12737077)) (Q342497,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q11928327', 'P106', {'concept': 'Q12737077'}] ['Q348452', 'P106', {'concept': 'Q12737077'}] ['Q4711362', 'P106', {'concept': 'Q12737077'}] ['Q4895294', 'P106', {'concept': 'Q12737077'}] ['Q1146169', 'P106', {'concept': 'Q12737077'}] ['Q11922814', 'P106', {'concept': 'Q12737077'}] ['Q19301259', 'P106', {'concept': 'Q12737077'}] ['Q342497', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?v property:P106 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?v ) { ( resource:Q11928327 ) ( resource:Q348452 ) ( resource:Q4711362 ) } }
Jordi Mir i Parache Josep Manyanet i Vives Albert Urrea Joan Carretero i Grau Custo Dalmau Francesc Ramon Monrós i Fitó Miquel Verdeny Enrich Miki Roqué
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jordi Mir i Parache', 'occupation', {'concept': 'occupation'}] ['Josep Manyanet i Vives', 'occupation', {'concept': 'occupation'}] ['Albert Urrea', 'occupation', {'concept': 'occupation'}] ['Joan Carretero i Grau', 'occupation', {'concept': 'occupation'}] ['Custo Dalmau', 'occupation', {'concept': 'occupation'}] ['Francesc Ramon Monrós i Fitó', 'occupation', {'concept': 'occupation'}] ['Miquel Verdeny Enrich', 'occupation', {'concept': 'occupation'}] ['Miki Roqué', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?v property:occupation ?w . ?w rdf:type ontology:occupation . VALUES ( ?v ) { ( resource:Jordi_Mir_i_Parache ) ( resource:Josep_Manyanet_i_Vives ) ( resource:Albert_Urrea ) } }
[]
occupation
Q937857 Q3501317 Q937857
SYSTEM
fashion designer for 2nd, association football player for 1st, 3rd
Q1607826 Q13418253 Q36180 Q250867 Q36180 Q937857 Q39631 Q82955 Q3501317 Q36180 Q49757 Q82955 Q43845 Q937857
(Q11928327,P106,c(Q12737077)) (Q348452,P106,c(Q12737077)) (Q4711362,P106,c(Q12737077)) (Q4895294,P106,c(Q12737077)) (Q1146169,P106,c(Q12737077)) (Q11922814,P106,c(Q12737077)) (Q19301259,P106,c(Q12737077)) (Q342497,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q11928327', 'P106', {'concept': 'Q12737077'}] ['Q348452', 'P106', {'concept': 'Q12737077'}] ['Q4711362', 'P106', {'concept': 'Q12737077'}] ['Q4895294', 'P106', {'concept': 'Q12737077'}] ['Q1146169', 'P106', {'concept': 'Q12737077'}] ['Q11922814', 'P106', {'concept': 'Q12737077'}] ['Q19301259', 'P106', {'concept': 'Q12737077'}] ['Q342497', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?v property:P106 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?v ) { ( resource:Q11928327 ) ( resource:Q348452 ) ( resource:Q4711362 ) } }
editor philologist writer Catholic priest writer association football player physician politician fashion designer writer poet politician businessperson association football player
The job of those people are the association football player, fashion designer and association football player
association football player fashion designer association football player
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jordi Mir i Parache', 'occupation', {'concept': 'occupation'}] ['Josep Manyanet i Vives', 'occupation', {'concept': 'occupation'}] ['Albert Urrea', 'occupation', {'concept': 'occupation'}] ['Joan Carretero i Grau', 'occupation', {'concept': 'occupation'}] ['Custo Dalmau', 'occupation', {'concept': 'occupation'}] ['Francesc Ramon Monrós i Fitó', 'occupation', {'concept': 'occupation'}] ['Miquel Verdeny Enrich', 'occupation', {'concept': 'occupation'}] ['Miki Roqué', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?v property:occupation ?w . ?w rdf:type ontology:occupation . VALUES ( ?v ) { ( resource:Jordi_Mir_i_Parache ) ( resource:Josep_Manyanet_i_Vives ) ( resource:Albert_Urrea ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18272
P1376
Q937876
USER
Which comarca of Catalonia has Tremp has its center of administration ?
(Q18272,P1376,c(Q937876))
action filter_type
action find
entity Q18272
relation P1376
type Q937876
['Q18272', 'P1376', {'concept': 'Q937876'}]
SELECT DISTINCT ?a WHERE { resource:Q18272 property:P1376 ?a . ?a rdf:type ontology:Q937876 }
Tremp
action filter_type
action find
entity Tremp
relation capital of
type comarca of Catalonia
['Tremp', 'capital of', {'concept': 'comarca of Catalonia'}]
SELECT DISTINCT ?a WHERE { resource:Tremp property:capital_of ?a . ?a rdf:type ontology:comarca_of_Catalonia }
[]
comarca of Catalonia
Q12723
SYSTEM
Pallars Jussà
Q12723
(Q18272,P1376,c(Q937876))
action filter_type
action find
entity Q18272
relation P1376
type Q937876
[ANSWER] has Tremp has its center of administration
['Q18272', 'P1376', {'concept': 'Q937876'}]
SELECT DISTINCT ?a WHERE { resource:Q18272 property:P1376 ?a . ?a rdf:type ontology:Q937876 }
Pallars Jussà
Pallars Jussà has Tremp has its center of administration
Pallars Jussà
action filter_type
action find
entity Tremp
relation capital of
type comarca of Catalonia
['Tremp', 'capital of', {'concept': 'comarca of Catalonia'}]
SELECT DISTINCT ?a WHERE { resource:Tremp property:capital_of ?a . ?a rdf:type ontology:comarca_of_Catalonia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q342497
P1196
Q1931388
USER
What manner did Miki Roqué die ?
(Q342497,P1196,c(Q1931388))
action filter_type
action find
entity Q342497
relation P1196
type Q1931388
['Q342497', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?f WHERE { resource:Q342497 property:P1196 ?f . ?f rdf:type ontology:Q1931388 }
Miki Roqué
action filter_type
action find
entity Miki Roqué
relation manner of death
type cause of death
['Miki Roqué', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?f WHERE { resource:Miki_Roqué property:manner_of_death ?f . ?f rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q342497,P1196,c(Q1931388))
action filter_type
action find
entity Q342497
relation P1196
type Q1931388
Miki Roqué died of [ANSWER]
['Q342497', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?f WHERE { resource:Q342497 property:P1196 ?f . ?f rdf:type ontology:Q1931388 }
natural causes
Miki Roqué died of natural causes
natural causes
action filter_type
action find
entity Miki Roqué
relation manner of death
type cause of death
['Miki Roqué', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?f WHERE { resource:Miki_Roqué property:manner_of_death ?f . ?f rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q342497
P27
Q15617994
USER
Which administrative territory does Miki Roqué belong to ?
(Q342497,P27,c(Q15617994))
action filter_type
action find
entity Q342497
relation P27
type Q15617994
['Q342497', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q342497 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Miki Roqué
action filter_type
action find
entity Miki Roqué
relation country of citizenship
type designation for an administrative territorial entity
['Miki Roqué', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Miki_Roqué property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q342497,P27,c(Q15617994))
action filter_type
action find
entity Q342497
relation P27
type Q15617994
Miki Roqué belongs to [ANSWER]
['Q342497', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q342497 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Spain
Miki Roqué belongs to Spain
Spain
action filter_type
action find
entity Miki Roqué
relation country of citizenship
type designation for an administrative territorial entity
['Miki Roqué', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Miki_Roqué property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q342497
P20
Q56061
USER
Where did the expiration of Miki Roqué occur ?
(Q342497,P20,c(Q56061))
action filter_type
action find
entity Q342497
relation P20
type Q56061
['Q342497', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q342497 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Miki Roqué
action filter_type
action find
entity Miki Roqué
relation place of death
type administrative territorial entity
['Miki Roqué', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Miki_Roqué property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q342497,P20,c(Q56061))
action filter_type
action find
entity Q342497
relation P20
type Q56061
The expiration of Miki Roqué occurred in [ANSWER]
['Q342497', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q342497 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Barcelona
The expiration of Miki Roqué occurred in Barcelona
Barcelona
action filter_type
action find
entity Miki Roqué
relation place of death
type administrative territorial entity
['Miki Roqué', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Miki_Roqué property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q342497
P1412
Q34770
USER
Which language does that person speak in ?
(Q1492,P1412,c(Q34770))
action filter_type
action find
entity Q342497
relation P1412
type Q34770
['Q1492', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q342497 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Miki Roqué
action filter_type
action find
entity Miki Roqué
relation languages spoken, written or signed
type language
['Barcelona', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Miki_Roqué property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1492,P1412,c(Q34770))
action filter_type
action find
entity Q342497
relation P1412
type Q34770
That person speaks a [ANSWER]
['Q1492', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q342497 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Spanish
That person speaks a Spanish
Spanish
action filter_type
action find
entity Miki Roqué
relation languages spoken, written or signed
type language
['Barcelona', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Miki_Roqué property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]