Simple Question (Direct)
Simple Question
Q16913737
P7
Q502895
USER
Who is the brother of Heiko Lochmann ?
(Q16913737,P7,c(Q502895))
action filter_type
action find
entity Q16913737
relation P7
type Q502895
['Q16913737', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q16913737 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Heiko Lochmann
action filter_type
action find
entity Heiko Lochmann
relation brother
type common name
['Heiko Lochmann', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Heiko_Lochmann property:brother ?i . ?i rdf:type ontology:common_name }
[]
common name
Q15438712
SYSTEM
Roman Lochmann
Q15438712
(Q16913737,P7,c(Q502895))
action filter_type
action find
entity Q16913737
relation P7
type Q502895
The brother of Heiko Lochmann is the [ANSWER]
['Q16913737', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q16913737 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Roman Lochmann
The brother of Heiko Lochmann is the Roman Lochmann
Roman Lochmann
action filter_type
action find
entity Heiko Lochmann
relation brother
type common name
['Heiko Lochmann', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Heiko_Lochmann property:brother ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15438712
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q15438712,P106,c(Q12737077))
action filter_type
action find
entity Q15438712
relation P106
type Q12737077
['Q15438712', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q15438712 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Roman Lochmann
action filter_type
action find
entity Roman Lochmann
relation occupation
type occupation
['Roman Lochmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Roman_Lochmann property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q177220
SYSTEM
singer
Q177220
(Q15438712,P106,c(Q12737077))
action filter_type
action find
entity Q15438712
relation P106
type Q12737077
[ANSWER] is the profession of that person
['Q15438712', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q15438712 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
singer
Singer is the profession of that person
singer
action filter_type
action find
entity Roman Lochmann
relation occupation
type occupation
['Roman Lochmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Roman_Lochmann property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15438712
P136
Q151885
USER
Which genre does that person belong to ?
(Q177220,P136,c(Q151885))
action filter_type
action find
entity Q15438712
relation P136
type Q151885
['Q177220', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q151885 . resource:Q15438712 property:P136 ?l }
Roman Lochmann
action filter_type
action find
entity Roman Lochmann
relation genre
type concept
['singer', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:concept . resource:Roman_Lochmann property:genre ?l }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q177220,P136,c(Q151885))
action filter_type
action find
entity Q15438712
relation P136
type Q151885
That person belongs to [ANSWER]
['Q177220', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q151885 . resource:Q15438712 property:P136 ?l }
pop music
That person belongs to pop music
pop music
action filter_type
action find
entity Roman Lochmann
relation genre
type concept
['singer', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:concept . resource:Roman_Lochmann property:genre ?l }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q15438712
P21 P7
Q502895
USER
Which people had Roman Lochmann as brother and have the gender as male ?
AND((c(Q502895),P7,Q15438712), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15438712
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q15438712'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P7 resource:Q15438712 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
male Roman Lochmann
action filter_type
action intersection
action find_reverse
entity Roman Lochmann
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Roman Lochmann'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:brother resource:Roman_Lochmann . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
common name
Q16913737
SYSTEM
Heiko Lochmann
Q16913737
AND((c(Q502895),P7,Q15438712), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15438712
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] had Roman Lochmann as brother and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q15438712'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P7 resource:Q15438712 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
Heiko Lochmann
Heiko Lochmann had Roman Lochmann as brother and have the gender as male
Heiko Lochmann
action filter_type
action intersection
action find_reverse
entity Roman Lochmann
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Roman Lochmann'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:brother resource:Roman_Lochmann . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q15438712
P21 P7
Q502895
USER
Which people are Roman Lochmann a brother of and are a male ?
AND((c(Q502895),P7,Q15438712), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15438712
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q15438712'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P7 resource:Q15438712 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Roman Lochmann
action filter_type
action intersection
action find_reverse
entity Roman Lochmann
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Roman Lochmann'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:brother resource:Roman_Lochmann . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q16913737
SYSTEM
Heiko Lochmann
Q16913737
AND((c(Q502895),P7,Q15438712), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15438712
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is Roman Lochmann a brother of and is a male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q15438712'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P7 resource:Q15438712 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Heiko Lochmann
Heiko Lochmann is Roman Lochmann a brother of and is a male
Heiko Lochmann
action filter_type
action intersection
action find_reverse
entity Roman Lochmann
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Roman Lochmann'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:brother resource:Roman_Lochmann . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7619629 Q16913737
P106
Q12737077
USER
Which occupations are the job of Heiko Lochmann or Stoo Cambridge ?
OR((Q16913737,P106,c(Q12737077)), (Q7619629,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16913737
relation P106
action find
entity Q7619629
relation P106
type Q12737077
{'OR': [['Q16913737', 'P106', {'concept': 'Q12737077'}], ['Q7619629', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q16913737 property:P106 ?i } UNION { resource:Q7619629 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
Stoo Cambridge Heiko Lochmann
action filter_type
action union
action find
entity Heiko Lochmann
relation occupation
action find
entity Stoo Cambridge
relation occupation
type occupation
{'OR': [['Heiko Lochmann', 'occupation', {'concept': 'occupation'}], ['Stoo Cambridge', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Heiko_Lochmann property:occupation ?i } UNION { resource:Stoo_Cambridge property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]
occupation
Q753110 Q81096 Q36834 Q177220
SYSTEM
songwriter, engineer, composer, singer
Q753110 Q81096 Q36834 Q177220
OR((Q16913737,P106,c(Q12737077)), (Q7619629,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16913737
relation P106
action find
entity Q7619629
relation P106
type Q12737077
The [ANSWERS] are the job of Heiko Lochmann or Stoo Cambridge
{'OR': [['Q16913737', 'P106', {'concept': 'Q12737077'}], ['Q7619629', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q16913737 property:P106 ?i } UNION { resource:Q7619629 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
songwriter engineer composer singer
The songwriter, engineer, composer and singer are the job of Heiko Lochmann or Stoo Cambridge
songwriter engineer composer singer
action filter_type
action union
action find
entity Heiko Lochmann
relation occupation
action find
entity Stoo Cambridge
relation occupation
type occupation
{'OR': [['Heiko Lochmann', 'occupation', {'concept': 'occupation'}], ['Stoo Cambridge', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Heiko_Lochmann property:occupation ?i } UNION { resource:Stoo_Cambridge property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]