Simple Question (Direct)
Simple Question
Q732907
P17
Q15617994
USER
Which administrative territory does Morella belong to ?
(Q732907,P17,c(Q15617994))
action filter_type
action find
entity Q732907
relation P17
type Q15617994
['Q732907', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q732907 property:P17 ?x }
Morella
action filter_type
action find
entity Morella
relation country
type designation for an administrative territorial entity
['Morella', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Morella property:country ?x }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q732907,P17,c(Q15617994))
action filter_type
action find
entity Q732907
relation P17
type Q15617994
Morella belongs to [ANSWER]
['Q732907', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q732907 property:P17 ?x }
Spain
Morella belongs to Spain
Spain
action filter_type
action find
entity Morella
relation country
type designation for an administrative territorial entity
['Morella', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Morella property:country ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q732907
P1001
Q12737077
USER
Which occupation has jurisdiction over Morella ?
(c(Q12737077),P1001,Q732907)
action filter_type
action find_reverse
entity Q732907
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q732907']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . ?g property:P1001 resource:Q732907 }
Morella
action filter_type
action find_reverse
entity Morella
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Morella']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . ?g property:applies_to_jurisdiction resource:Morella }
[]
occupation
Q26699752
SYSTEM
mayor of Morella
Q26699752
(c(Q12737077),P1001,Q732907)
action filter_type
action find_reverse
entity Q732907
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over Morella
[{'concept': 'Q12737077'}, 'P1001', 'Q732907']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . ?g property:P1001 resource:Q732907 }
mayor of Morella
The mayor of Morella has jurisdiction over Morella
mayor of Morella
action filter_type
action find_reverse
entity Morella
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Morella']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . ?g property:applies_to_jurisdiction resource:Morella }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q732907
P36
Q3183364
USER
Which Spanish administrative territory consists of Morella as its capital ?
(c(Q3183364),P36,Q732907)
action filter_type
action find_reverse
entity Q732907
relation P36
type Q3183364
[{'concept': 'Q3183364'}, 'P36', 'Q732907']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q732907 . ?u rdf:type ontology:Q3183364 }
Morella
action filter_type
action find_reverse
entity Morella
relation capital
type administrative territorial entity of Spain
[{'concept': 'administrative territorial entity of Spain'}, 'capital', 'Morella']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Morella . ?u rdf:type ontology:administrative_territorial_entity_of_Spain }
[]
administrative territorial entity of Spain
Q2248089
SYSTEM
Ports
Q2248089
(c(Q3183364),P36,Q732907)
action filter_type
action find_reverse
entity Q732907
relation P36
type Q3183364
Port [ANSWER] consists of Morella as its capital
[{'concept': 'Q3183364'}, 'P36', 'Q732907']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q732907 . ?u rdf:type ontology:Q3183364 }
Ports
Port Ports consists of Morella as its capital
Ports
action filter_type
action find_reverse
entity Morella
relation capital
type administrative territorial entity of Spain
[{'concept': 'administrative territorial entity of Spain'}, 'capital', 'Morella']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Morella . ?u rdf:type ontology:administrative_territorial_entity_of_Spain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q732907
P47
Q1048835
USER
Which political territories have a shared border with Morella ?
(Q732907,P47,c(Q1048835))
action filter_type
action find
entity Q732907
relation P47
type Q1048835
['Q732907', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q732907 property:P47 ?v . ?v rdf:type ontology:Q1048835 }
Morella
action filter_type
action find
entity Morella
relation shares border with
type political territorial entity
['Morella', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Morella property:shares_border_with ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1645833 Q1983359 Q785949
SYSTEM
Catí, Xert, Ares del Maestre
Q1778143 Q1769760 Q843223 Q1645833 Q785949 Q1767507 Q1901668 Q1983359 Q1645962 Q780945 Q1767567 Q1646167
(Q732907,P47,c(Q1048835))
action filter_type
action find
entity Q732907
relation P47
type Q1048835
[ANSWERS] have a shared border with Morella
['Q732907', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q732907 property:P47 ?v . ?v rdf:type ontology:Q1048835 }
Castellfort Herbés Palanques Catí Ares del Maestre Villores Zorita del Maestrazgo Xert Castell de Cabres Forcall Vallibona Cinctorres
Catí, Xert and Ares del Maestre have a shared border with Morella
Catí Xert Ares del Maestre
action filter_type
action find
entity Morella
relation shares border with
type political territorial entity
['Morella', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Morella property:shares_border_with ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1645833 Q1983359 Q785949
P6
Q502895
USER
Which people are the head of government of Catí, Xert and Ares del Maestre ?
(Q1645833,P6,c(Q502895)) (Q1983359,P6,c(Q502895)) (Q785949,P6,c(Q502895))
action union
action filter_type
action find
entity Q1645833
relation P6
type Q502895
action filter_type
action find
entity Q1983359
relation P6
type Q502895
action filter_type
action find
entity Q785949
relation P6
type Q502895
['Q1645833', 'P6', {'concept': 'Q502895'}] ['Q1983359', 'P6', {'concept': 'Q502895'}] ['Q785949', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q502895 . resource:Q1645833 property:P6 ?m } UNION { resource:Q1983359 property:P6 ?m . ?m rdf:type ontology:Q502895 } }
Catí Xert Ares del Maestre
action union
action filter_type
action find
entity Catí
relation head of government
type common name
action filter_type
action find
entity Xert
relation head of government
type common name
action filter_type
action find
entity Ares del Maestre
relation head of government
type common name
['Catí', 'head of government', {'concept': 'common name'}] ['Xert', 'head of government', {'concept': 'common name'}] ['Ares del Maestre', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:common_name . resource:Catí property:head_of_government ?m } UNION { resource:Xert property:head_of_government ?m . ?m rdf:type ontology:common_name } }
[]
common name
Q14063737 Q14063840 Q14062892
SYSTEM
Manuel Puig Puig, Jose Rosendo Segarra Ferreres, Abelardo Tena Monterde
Q14063737 Q14063840 Q14062892
(Q1645833,P6,c(Q502895)) (Q1983359,P6,c(Q502895)) (Q785949,P6,c(Q502895))
action union
action filter_type
action find
entity Q1645833
relation P6
type Q502895
action filter_type
action find
entity Q1983359
relation P6
type Q502895
action filter_type
action find
entity Q785949
relation P6
type Q502895
[ANSWERS] are the head of government of Catí, Xert and Ares del Maestre
['Q1645833', 'P6', {'concept': 'Q502895'}] ['Q1983359', 'P6', {'concept': 'Q502895'}] ['Q785949', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q502895 . resource:Q1645833 property:P6 ?m } UNION { resource:Q1983359 property:P6 ?m . ?m rdf:type ontology:Q502895 } }
Manuel Puig Puig Jose Rosendo Segarra Ferreres Abelardo Tena Monterde
Manuel Puig Puig, Jose Rosendo Segarra Ferreres and Abelardo Tena Monterde are the head of government of Catí, Xert and Ares del Maestre
Manuel Puig Puig Jose Rosendo Segarra Ferreres Abelardo Tena Monterde
action union
action filter_type
action find
entity Catí
relation head of government
type common name
action filter_type
action find
entity Xert
relation head of government
type common name
action filter_type
action find
entity Ares del Maestre
relation head of government
type common name
['Catí', 'head of government', {'concept': 'common name'}] ['Xert', 'head of government', {'concept': 'common name'}] ['Ares del Maestre', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:common_name . resource:Catí property:head_of_government ?m } UNION { resource:Xert property:head_of_government ?m . ?m rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q14063737 Q14063840 Q14062892
P27
Q15617994
USER
Which administrative territories are the native countriesof Manuel Puig Puig, Jose Rosendo Segarra Ferreres and Abelardo Tena Monterde ?
(Q14063737,P27,c(Q15617994)) (Q14063840,P27,c(Q15617994)) (Q14062892,P27,c(Q15617994))
action union
action filter_type
action find
entity Q14063737
relation P27
type Q15617994
action filter_type
action find
entity Q14063840
relation P27
type Q15617994
action filter_type
action find
entity Q14062892
relation P27
type Q15617994
['Q14063737', 'P27', {'concept': 'Q15617994'}] ['Q14063840', 'P27', {'concept': 'Q15617994'}] ['Q14062892', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?v property:P27 ?x . VALUES ( ?v ) { ( resource:Q14063737 ) ( resource:Q14063840 ) } }
Manuel Puig Puig Jose Rosendo Segarra Ferreres Abelardo Tena Monterde
action union
action filter_type
action find
entity Manuel Puig Puig
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Jose Rosendo Segarra Ferreres
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Abelardo Tena Monterde
relation country of citizenship
type designation for an administrative territorial entity
['Manuel Puig Puig', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jose Rosendo Segarra Ferreres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Abelardo Tena Monterde', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?v property:country_of_citizenship ?x . VALUES ( ?v ) { ( resource:Manuel_Puig_Puig ) ( resource:Jose_Rosendo_Segarra_Ferreres ) } }
[]
designation for an administrative territorial entity
Q29 Q29 Q29
SYSTEM
Spain
Q29 Q29 Q29
(Q14063737,P27,c(Q15617994)) (Q14063840,P27,c(Q15617994)) (Q14062892,P27,c(Q15617994))
action union
action filter_type
action find
entity Q14063737
relation P27
type Q15617994
action filter_type
action find
entity Q14063840
relation P27
type Q15617994
action filter_type
action find
entity Q14062892
relation P27
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the native countriesof Manuel Puig Puig, Jose Rosendo Segarra Ferreres and Abelardo Tena Monterde
['Q14063737', 'P27', {'concept': 'Q15617994'}] ['Q14063840', 'P27', {'concept': 'Q15617994'}] ['Q14062892', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?v property:P27 ?x . VALUES ( ?v ) { ( resource:Q14063737 ) ( resource:Q14063840 ) } }
Spain Spain Spain
Spain, Spain and Spain are the native countriesof Manuel Puig Puig, Jose Rosendo Segarra Ferreres and Abelardo Tena Monterde
Spain Spain Spain
action union
action filter_type
action find
entity Manuel Puig Puig
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Jose Rosendo Segarra Ferreres
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Abelardo Tena Monterde
relation country of citizenship
type designation for an administrative territorial entity
['Manuel Puig Puig', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jose Rosendo Segarra Ferreres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Abelardo Tena Monterde', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?v property:country_of_citizenship ?x . VALUES ( ?v ) { ( resource:Manuel_Puig_Puig ) ( resource:Jose_Rosendo_Segarra_Ferreres ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P530
Q15617994
USER
Which administrative territories have ambassadorial relations with Spain ?
(c(Q15617994),P530,Q29)
action filter_type
action find_reverse
entity Q29
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q29']
SELECT DISTINCT ?x WHERE { ?x property:P530 resource:Q29 . ?x rdf:type ontology:Q15617994 }
Spain
action filter_type
action find_reverse
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Spain']
SELECT DISTINCT ?x WHERE { ?x property:diplomatic_relation resource:Spain . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q38 Q230
SYSTEM
Brazil, Italy, Georgia
Q155 Q38 Q230
(c(Q15617994),P530,Q29)
action filter_type
action find_reverse
entity Q29
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with Spain
[{'concept': 'Q15617994'}, 'P530', 'Q29']
SELECT DISTINCT ?x WHERE { ?x property:P530 resource:Q29 . ?x rdf:type ontology:Q15617994 }
Brazil Italy Georgia
Brazil, Italy and Georgia have ambassadorial relations with Spain
Brazil Italy Georgia
action filter_type
action find_reverse
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Spain']
SELECT DISTINCT ?x WHERE { ?x property:diplomatic_relation resource:Spain . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q38 Q230
P30
Q2221906
USER
Which geographic locations are those administrative territories situated in ?
(Q155,P30,c(Q2221906)) (Q38,P30,c(Q2221906)) (Q230,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q38', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { ?i property:P30 ?a . ?a rdf:type ontology:Q2221906 . VALUES ( ?i ) { ( resource:Q155 ) ( resource:Q38 ) ( resource:Q230 ) } }
Brazil Italy Georgia
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['Italy', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { ?i property:continent ?a . ?a rdf:type ontology:geographic_location . VALUES ( ?i ) { ( resource:Brazil ) ( resource:Italy ) ( resource:Georgia ) } }
[]
geographic location
Q46 Q46 Q18
SYSTEM
Europe for 1st, 2nd, South America for 3rd
Q18 Q46 Q46 Q5401
(Q155,P30,c(Q2221906)) (Q38,P30,c(Q2221906)) (Q230,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
[ANSWERS]
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q38', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { ?i property:P30 ?a . ?a rdf:type ontology:Q2221906 . VALUES ( ?i ) { ( resource:Q155 ) ( resource:Q38 ) ( resource:Q230 ) } }
South America Europe Europe Eurasia
Those administrative territories are situated in Europe, Europe and South America
Europe Europe South America
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['Italy', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { ?i property:continent ?a . ?a rdf:type ontology:geographic_location . VALUES ( ?i ) { ( resource:Brazil ) ( resource:Italy ) ( resource:Georgia ) } }
[]