Simple Question (Direct)
Simple Question
Q15682
P6
Q502895
USER
Who are the heads of the government of Cádiz ?
(Q15682,P6,c(Q502895))
action filter_type
action find
entity Q15682
relation P6
type Q502895
['Q15682', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q15682 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Cádiz
action filter_type
action find
entity Cádiz
relation head of government
type common name
['Cádiz', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Cádiz property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Q944674 Q5941013 Q5750181
SYSTEM
Teófila Martínez, José León de Carranza, Carlos Díaz Medina
Q21597768 Q5675353 Q5941013 Q20087369 Q21597760 Q21597745 Q21597744 Q21597743 Q5750181 Q21597765 Q21597759 Q944674 Q5649242
(Q15682,P6,c(Q502895))
action filter_type
action find
entity Q15682
relation P6
type Q502895
[ANSWERS]
['Q15682', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q15682 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Manuel García Noguerol Pedro Barbadillo Delgado José León de Carranza José María González Santos Sebastián Martínez de Pinillos y Tourne Emilio Beltrami López-Linares Enrique Díaz Rocafull Nicomedes Herrero y López Carlos Díaz Medina Francisco Clotet y Miranda Ramón Rivas y Valladares Teófila Martínez Jerónimo Almagro y Montes de Oca
Teófila Martínez José León de Carranza Carlos Díaz Medina
action filter_type
action find
entity Cádiz
relation head of government
type common name
['Cádiz', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Cádiz property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5941013
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q5941013,P20,c(Q56061))
action filter_type
action find
entity Q5941013
relation P20
type Q56061
['Q5941013', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q5941013 property:P20 ?s . ?s rdf:type ontology:Q56061 }
José León de Carranza
action filter_type
action find
entity José León de Carranza
relation place of death
type administrative territorial entity
['José León de Carranza', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:José_León_de_Carranza property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q5750181
SYSTEM
Did you mean Carlos Díaz Medina ?
Q944674 Q5941013 Q5750181
(Q944674,P20,c(Q56061)) (Q5941013,P20,c(Q56061)) (Q5750181,P20,c(Q56061))
[ANSWER]
['Q944674', 'P20', {'concept': 'Q56061'}] ['Q5941013', 'P20', {'concept': 'Q56061'}] ['Q5750181', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q5941013 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Teófila Martínez José León de Carranza Carlos Díaz Medina
Did you mean Carlos Díaz Medina ?
Carlos Díaz Medina
['Teófila Martínez', 'place of death', {'concept': 'administrative territorial entity'}] ['José León de Carranza', 'place of death', {'concept': 'administrative territorial entity'}] ['Carlos Díaz Medina', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:José_León_de_Carranza property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant José León de Carranza. Could you tell me the answer for that?
(Q5941013,P20,c(Q56061))
Q5941013
['Q5941013', 'P20', {'concept': 'Q56061'}]
['José León de Carranza', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q15682
SYSTEM
Cádiz
Q15682
(Q5941013,P20,c(Q56061))
action filter_type
action find
entity Q5941013
relation P20
type Q56061
[ANSWER]
['Q5941013', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q5941013 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Cádiz
Cádiz
action filter_type
action find
entity José León de Carranza
relation place of death
type administrative territorial entity
['José León de Carranza', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:José_León_de_Carranza property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15682
P504
Q2235308
USER
Which ship type has that administrative territory as its home harbour ?
(c(Q2235308),P504,Q15682)
action filter_type
action find_reverse
entity Q15682
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q15682']
SELECT DISTINCT ?h WHERE { ?h property:P504 resource:Q15682 . ?h rdf:type ontology:Q2235308 }
Cádiz
action filter_type
action find_reverse
entity Cádiz
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Cádiz']
SELECT DISTINCT ?h WHERE { ?h property:home_port resource:Cádiz . ?h rdf:type ontology:ship_type }
[]
ship type
Q953860
SYSTEM
Spanish ship Juan Sebastián Elcano
Q953860
(c(Q2235308),P504,Q15682)
action filter_type
action find_reverse
entity Q15682
relation P504
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P504', 'Q15682']
SELECT DISTINCT ?h WHERE { ?h property:P504 resource:Q15682 . ?h rdf:type ontology:Q2235308 }
Spanish ship Juan Sebastián Elcano
Spanish ship Juan Sebastián Elcano
action filter_type
action find_reverse
entity Cádiz
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Cádiz']
SELECT DISTINCT ?h WHERE { ?h property:home_port resource:Cádiz . ?h rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q953860
P137
Q781132
USER
Who manages that ship type ?
(Q953860,P137,c(Q781132))
action filter_type
action find
entity Q953860
relation P137
type Q781132
['Q953860', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q781132 . resource:Q953860 property:P137 ?s }
Spanish ship Juan Sebastián Elcano
action filter_type
action find
entity Spanish ship Juan Sebastián Elcano
relation operator
type military branch
['Spanish ship Juan Sebastián Elcano', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:military_branch . resource:Spanish_ship_Juan_Sebastián_Elcano property:operator ?s }
[]
military branch
Q676404
SYSTEM
Spanish Navy
Q676404
(Q953860,P137,c(Q781132))
action filter_type
action find
entity Q953860
relation P137
type Q781132
[ANSWER]
['Q953860', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q781132 . resource:Q953860 property:P137 ?s }
Spanish Navy
Spanish Navy
action filter_type
action find
entity Spanish ship Juan Sebastián Elcano
relation operator
type military branch
['Spanish ship Juan Sebastián Elcano', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:military_branch . resource:Spanish_ship_Juan_Sebastián_Elcano property:operator ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q676404
P241
Q502895
USER
Which people have that one as the related army branch ?
(c(Q502895),P241,Q676404)
action filter_type
action find_reverse
entity Q676404
relation P241
type Q502895
[{'concept': 'Q502895'}, 'P241', 'Q676404']
SELECT DISTINCT ?m WHERE { ?m property:P241 resource:Q676404 . ?m rdf:type ontology:Q502895 }
Spanish Navy
action filter_type
action find_reverse
entity Spanish Navy
relation military branch
type common name
[{'concept': 'common name'}, 'military branch', 'Spanish Navy']
SELECT DISTINCT ?m WHERE { ?m property:military_branch resource:Spanish_Navy . ?m rdf:type ontology:common_name }
[]
common name
Q5278755 Q4532715 Q3032389
SYSTEM
José Primo de Rivera, Antonio de Escaño, Luis Vicente de Velasco e Isla
Q5278755 Q4532715 Q3032389 Q881771 Q3314992 Q3121418
(c(Q502895),P241,Q676404)
action filter_type
action find_reverse
entity Q676404
relation P241
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P241', 'Q676404']
SELECT DISTINCT ?m WHERE { ?m property:P241 resource:Q676404 . ?m rdf:type ontology:Q502895 }
José Primo de Rivera Antonio de Escaño Luis Vicente de Velasco e Isla Blasco de Garay Juan Martínez de Recalde Gutierre de Hevia
José Primo de Rivera Antonio de Escaño Luis Vicente de Velasco e Isla
action filter_type
action find_reverse
entity Spanish Navy
relation military branch
type common name
[{'concept': 'common name'}, 'military branch', 'Spanish Navy']
SELECT DISTINCT ?m WHERE { ?m property:military_branch resource:Spanish_Navy . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q676404
P127
Q2235308
USER
Which ship type belongs to Spanish Navy ?
(c(Q2235308),P127,Q676404)
action filter_type
action find_reverse
entity Q676404
relation P127
type Q2235308
[{'concept': 'Q2235308'}, 'P127', 'Q676404']
SELECT DISTINCT ?y WHERE { ?y property:P127 resource:Q676404 . ?y rdf:type ontology:Q2235308 }
Spanish Navy
action filter_type
action find_reverse
entity Spanish Navy
relation owned by
type ship type
[{'concept': 'ship type'}, 'owned by', 'Spanish Navy']
SELECT DISTINCT ?y WHERE { ?y property:owned_by resource:Spanish_Navy . ?y rdf:type ontology:ship_type }
[]
ship type
Q8964133
SYSTEM
Giralda
Q8964133
(c(Q2235308),P127,Q676404)
action filter_type
action find_reverse
entity Q676404
relation P127
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P127', 'Q676404']
SELECT DISTINCT ?y WHERE { ?y property:P127 resource:Q676404 . ?y rdf:type ontology:Q2235308 }
Giralda
Giralda
action filter_type
action find_reverse
entity Spanish Navy
relation owned by
type ship type
[{'concept': 'ship type'}, 'owned by', 'Spanish Navy']
SELECT DISTINCT ?y WHERE { ?y property:owned_by resource:Spanish_Navy . ?y rdf:type ontology:ship_type }
[]