Simple Question (Direct)
Simple Question
Q1060817
P22
Q502895
USER
Who was the dad of Radu IV the Great ?
(Q1060817,P22,c(Q502895))
action filter_type
action find
entity Q1060817
relation P22
type Q502895
['Q1060817', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1060817 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Radu IV the Great
action filter_type
action find
entity Radu IV the Great
relation father
type common name
['Radu IV the Great', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Radu_IV_the_Great property:father ?g . ?g rdf:type ontology:common_name }
[]
common name
Q672742
SYSTEM
Vlad Călugărul
Q672742
(Q1060817,P22,c(Q502895))
action filter_type
action find
entity Q1060817
relation P22
type Q502895
The dad of Radu IV the Great was born [ANSWER]
['Q1060817', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1060817 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Vlad Călugărul
The dad of Radu IV the Great was born Vlad Călugărul
Vlad Călugărul
action filter_type
action find
entity Radu IV the Great
relation father
type common name
['Radu IV the Great', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Radu_IV_the_Great property:father ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1060817
P40
Q502895
USER
Whose child is Radu IV the Great ?
(c(Q502895),P40,Q1060817)
action filter_type
action find_reverse
entity Q1060817
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1060817']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q1060817 . ?s rdf:type ontology:Q502895 }
Radu IV the Great
action filter_type
action find_reverse
entity Radu IV the Great
relation child
type common name
[{'concept': 'common name'}, 'child', 'Radu IV the Great']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Radu_IV_the_Great . ?s rdf:type ontology:common_name }
[]
common name
Q672742
SYSTEM
Vlad Călugărul
Q672742
(c(Q502895),P40,Q1060817)
action filter_type
action find_reverse
entity Q1060817
relation P40
type Q502895
[ANSWER] is Radu IV the Great
[{'concept': 'Q502895'}, 'P40', 'Q1060817']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q1060817 . ?s rdf:type ontology:Q502895 }
Vlad Călugărul
Vlad Călugărul is Radu IV the Great
Vlad Călugărul
action filter_type
action find_reverse
entity Radu IV the Great
relation child
type common name
[{'concept': 'common name'}, 'child', 'Radu IV the Great']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Radu_IV_the_Great . ?s rdf:type ontology:common_name }
[]