Simple Question (Direct)
Simple Question
Q101094
P19
Q486972
USER
Where was Heidi Mahler born ?
(Q101094,P19,c(Q486972))
action filter_type
action find
entity Q101094
relation P19
type Q486972
['Q101094', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q486972 . resource:Q101094 property:P19 ?d }
Heidi Mahler
action filter_type
action find
entity Heidi Mahler
relation place of birth
type human settlement
['Heidi Mahler', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:human_settlement . resource:Heidi_Mahler property:place_of_birth ?d }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q101094,P19,c(Q486972))
action filter_type
action find
entity Q101094
relation P19
type Q486972
Heidi Mahler was born in [ANSWER]
['Q101094', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q486972 . resource:Q101094 property:P19 ?d }
Hamburg
Heidi Mahler was born in Hamburg
Hamburg
action filter_type
action find
entity Heidi Mahler
relation place of birth
type human settlement
['Heidi Mahler', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:human_settlement . resource:Heidi_Mahler property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q101094
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q1055)
action filter_type
action find_reverse
entity Q101094
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1055']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q101094 . ?m rdf:type ontology:Q502895 }
Heidi Mahler
action filter_type
action find_reverse
entity Heidi Mahler
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hamburg']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Heidi_Mahler . ?m rdf:type ontology:common_name }
[]
common name
Q120598 Q76653
SYSTEM
Hans Mahler, Heidi Kabel
Q120598 Q76653
(c(Q502895),P40,Q1055)
action filter_type
action find_reverse
entity Q101094
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q1055']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q101094 . ?m rdf:type ontology:Q502895 }
Hans Mahler Heidi Kabel
Hans Mahler and Heidi Kabel are that one
Hans Mahler Heidi Kabel
action filter_type
action find_reverse
entity Heidi Mahler
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hamburg']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Heidi_Mahler . ?m rdf:type ontology:common_name }
[]