Simple Question (Direct)
Simple Question
Q16228
P36
Q56061
USER
What is the capital of Province of Parma ?
(Q16228,P36,c(Q56061))
action filter_type
action find
entity Q16228
relation P36
type Q56061
['Q16228', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q16228 property:P36 ?e }
Province of Parma
action filter_type
action find
entity Province of Parma
relation capital
type administrative territorial entity
['Province of Parma', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Province_of_Parma property:capital ?e }
[]
administrative territorial entity
Q2683
SYSTEM
Parma
Q2683
(Q16228,P36,c(Q56061))
action filter_type
action find
entity Q16228
relation P36
type Q56061
The capital of Province of [ANSWER] is of [ANSWER]
['Q16228', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q16228 property:P36 ?e }
Parma
The capital of Province of Parma is of Parma
Parma
action filter_type
action find
entity Province of Parma
relation capital
type administrative territorial entity
['Province of Parma', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Province_of_Parma property:capital ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16228
P6
Q502895
USER
Which person does Province of Parma serve as the head of government for ?
(Q16228,P6,c(Q502895))
action filter_type
action find
entity Q16228
relation P6
type Q502895
['Q16228', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q16228 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Province of Parma
action filter_type
action find
entity Province of Parma
relation head of government
type common name
['Province of Parma', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Province_of_Parma property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
common name
Q4013111
SYSTEM
Vincenzo Bernazzoli
Q4013111
(Q16228,P6,c(Q502895))
action filter_type
action find
entity Q16228
relation P6
type Q502895
Province of Parma serves as the head of government and [ANSWER]
['Q16228', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q16228 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Vincenzo Bernazzoli
Province of Parma serves as the head of government and Vincenzo Bernazzoli
Vincenzo Bernazzoli
action filter_type
action find
entity Province of Parma
relation head of government
type common name
['Province of Parma', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Province_of_Parma property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]