Simple Question (Direct)
Simple Question
Q2509252
P119
Q43229
USER
Which organization is the tomb of Hamengkubuwono II ?
(Q2509252,P119,c(Q43229))
action filter_type
action find
entity Q2509252
relation P119
type Q43229
['Q2509252', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q2509252 property:P119 ?e . ?e rdf:type ontology:Q43229 }
Hamengkubuwono II
action filter_type
action find
entity Hamengkubuwono II
relation place of burial
type organization
['Hamengkubuwono II', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Hamengkubuwono_II property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]
organization
Q2729815
SYSTEM
Imogiri
Q2729815
(Q2509252,P119,c(Q43229))
action filter_type
action find
entity Q2509252
relation P119
type Q43229
[ANSWER] is the tomb of Hamengkubuwono II
['Q2509252', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q2509252 property:P119 ?e . ?e rdf:type ontology:Q43229 }
Imogiri
Imogiri is the tomb of Hamengkubuwono II
Imogiri
action filter_type
action find
entity Hamengkubuwono II
relation place of burial
type organization
['Hamengkubuwono II', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Hamengkubuwono_II property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2509252
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q2729815)
action filter_type
action find_reverse
entity Q2509252
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2729815']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q2509252 . ?r rdf:type ontology:Q502895 }
Hamengkubuwono II
action filter_type
action find_reverse
entity Hamengkubuwono II
relation child
type common name
[{'concept': 'common name'}, 'child', 'Imogiri']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Hamengkubuwono_II . ?r rdf:type ontology:common_name }
[]
common name
Q1135417
SYSTEM
Hamengkubuwono I
Q1135417
(c(Q502895),P40,Q2729815)
action filter_type
action find_reverse
entity Q2509252
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q2729815']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q2509252 . ?r rdf:type ontology:Q502895 }
Hamengkubuwono I
Hamengkubuwono I has that one as a child
Hamengkubuwono I
action filter_type
action find_reverse
entity Hamengkubuwono II
relation child
type common name
[{'concept': 'common name'}, 'child', 'Imogiri']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Hamengkubuwono_II . ?r rdf:type ontology:common_name }
[]