Simple Question (Direct)
Simple Question
Q220584
P734
Q82799
USER
Which name is associated with Michael Madsen ?
(Q220584,P734,c(Q82799))
action filter_type
action find
entity Q220584
relation P734
type Q82799
['Q220584', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q82799 . resource:Q220584 property:P734 ?v }
Michael Madsen
action filter_type
action find
entity Michael Madsen
relation family name
type name
['Michael Madsen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:name . resource:Michael_Madsen property:family_name ?v }
[]
name
Q16876242
SYSTEM
Madsen
Q16876242
(Q220584,P734,c(Q82799))
action filter_type
action find
entity Q220584
relation P734
type Q82799
[ANSWER] is associated with Michael [ANSWER]
['Q220584', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q82799 . resource:Q220584 property:P734 ?v }
Madsen
Madsen is associated with Michael Madsen
Madsen
action filter_type
action find
entity Michael Madsen
relation family name
type name
['Michael Madsen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:name . resource:Michael_Madsen property:family_name ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220584
P25
Q502895
USER
Who was the mother of Michael Madsen ?
(Q220584,P25,c(Q502895))
action filter_type
action find
entity Q220584
relation P25
type Q502895
['Q220584', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q220584 property:P25 ?b }
Michael Madsen
action filter_type
action find
entity Michael Madsen
relation mother
type common name
['Michael Madsen', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Michael_Madsen property:mother ?b }
[]
common name
Q19666286
SYSTEM
Elaine Madsen
Q19666286
(Q220584,P25,c(Q502895))
action filter_type
action find
entity Q220584
relation P25
type Q502895
The mother of Michael Madsen was the [ANSWER]
['Q220584', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q220584 property:P25 ?b }
Elaine Madsen
The mother of Michael Madsen was the Elaine Madsen
Elaine Madsen
action filter_type
action find
entity Michael Madsen
relation mother
type common name
['Michael Madsen', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Michael_Madsen property:mother ?b }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q71134 Q220584
P25
Q502895
USER
Or Christian Friedrich Heinecken?
OR((Q220584,P25,c(Q502895)), (Q71134,P25,c(Q502895)))
action filter_type
action union
action find
entity Q220584
relation P25
action find
entity Q71134
relation P25
type Q502895
{'OR': [['Q220584', 'P25', {'concept': 'Q502895'}], ['Q71134', 'P25', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q71134 property:P25 ?d } UNION { resource:Q220584 property:P25 ?d } } . ?d rdf:type ontology:Q502895 }
Christian Friedrich Heinecken Michael Madsen
action filter_type
action union
action find
entity Michael Madsen
relation mother
action find
entity Christian Friedrich Heinecken
relation mother
type common name
{'OR': [['Michael Madsen', 'mother', {'concept': 'common name'}], ['Christian Friedrich Heinecken', 'mother', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Christian_Friedrich_Heinecken property:mother ?d } UNION { resource:Michael_Madsen property:mother ?d } } . ?d rdf:type ontology:common_name }
[]
common name
Q19666286 Q26203117
SYSTEM
Elaine Madsen, Catharina Elisabeth Heinecken
Q19666286 Q26203117
OR((Q220584,P25,c(Q502895)), (Q71134,P25,c(Q502895)))
action filter_type
action union
action find
entity Q220584
relation P25
action find
entity Q71134
relation P25
type Q502895
[ANSWERS]
{'OR': [['Q220584', 'P25', {'concept': 'Q502895'}], ['Q71134', 'P25', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q71134 property:P25 ?d } UNION { resource:Q220584 property:P25 ?d } } . ?d rdf:type ontology:Q502895 }
Elaine Madsen Catharina Elisabeth Heinecken
Elaine Madsen Catharina Elisabeth Heinecken
action filter_type
action union
action find
entity Michael Madsen
relation mother
action find
entity Christian Friedrich Heinecken
relation mother
type common name
{'OR': [['Michael Madsen', 'mother', {'concept': 'common name'}], ['Christian Friedrich Heinecken', 'mother', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Christian_Friedrich_Heinecken property:mother ?d } UNION { resource:Michael_Madsen property:mother ?d } } . ?d rdf:type ontology:common_name }
[]