Simple Question (Direct)
Simple Question
Q916
P35
Q502895
USER
Who is the head of state of Angola ?
(Q916,P35,c(Q502895))
action filter_type
action find
entity Q916
relation P35
type Q502895
['Q916', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q916 property:P35 ?p }
Angola
action filter_type
action find
entity Angola
relation head of state
type common name
['Angola', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Angola property:head_of_state ?p }
[]
common name
Q57313
SYSTEM
José Eduardo dos Santos
Q57313
(Q916,P35,c(Q502895))
action filter_type
action find
entity Q916
relation P35
type Q502895
The head of state of Angola is Prince [ANSWER]
['Q916', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q916 property:P35 ?p }
José Eduardo dos Santos
The head of state of Angola is Prince José Eduardo dos Santos
José Eduardo dos Santos
action filter_type
action find
entity Angola
relation head of state
type common name
['Angola', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Angola property:head_of_state ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57313
P22
Q502895
USER
Who are the offspring of that one ?
(c(Q502895),P22,Q57313)
action filter_type
action find_reverse
entity Q57313
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q57313']
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q57313 . ?q rdf:type ontology:Q502895 }
José Eduardo dos Santos
action filter_type
action find_reverse
entity José Eduardo dos Santos
relation father
type common name
[{'concept': 'common name'}, 'father', 'José Eduardo dos Santos']
SELECT DISTINCT ?q WHERE { ?q property:father resource:José_Eduardo_dos_Santos . ?q rdf:type ontology:common_name }
[]
common name
Q456034 Q10309412
SYSTEM
Isabel dos Santos, José Filomeno dos Santos
Q456034 Q10309412
(c(Q502895),P22,Q57313)
action filter_type
action find_reverse
entity Q57313
relation P22
type Q502895
The offspring of that one are Maria [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q57313']
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q57313 . ?q rdf:type ontology:Q502895 }
Isabel dos Santos José Filomeno dos Santos
The offspring of that one are Maria Isabel dos Santos and José Filomeno dos Santos
Isabel dos Santos José Filomeno dos Santos
action filter_type
action find_reverse
entity José Eduardo dos Santos
relation father
type common name
[{'concept': 'common name'}, 'father', 'José Eduardo dos Santos']
SELECT DISTINCT ?q WHERE { ?q property:father resource:José_Eduardo_dos_Santos . ?q rdf:type ontology:common_name }
[]