Simple Question (Direct)
Simple Question
Q359579
P26
Q502895
USER
Who is married to Oliver Tambo ?
(Q359579,P26,c(Q502895))
action filter_type
action find
entity Q359579
relation P26
type Q502895
['Q359579', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q359579 property:P26 ?s }
Oliver Tambo
action filter_type
action find
entity Oliver Tambo
relation spouse
type common name
['Oliver Tambo', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Oliver_Tambo property:spouse ?s }
[]
common name
Q274602
SYSTEM
Adelaide Tambo
Q274602
(Q359579,P26,c(Q502895))
action filter_type
action find
entity Q359579
relation P26
type Q502895
[ANSWER] is married to Oliver Tambo
['Q359579', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q359579 property:P26 ?s }
Adelaide Tambo
Adelaide Tambo is married to Oliver Tambo
Adelaide Tambo
action filter_type
action find
entity Oliver Tambo
relation spouse
type common name
['Oliver Tambo', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Oliver_Tambo property:spouse ?s }
[]