Simple Question (Direct)
Simple Question
Q346822
P264
Q334453
USER
What is the record label of Geoff Downes ?
(Q346822,P264,c(Q334453))
action filter_type
action find
entity Q346822
relation P264
type Q334453
['Q346822', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { resource:Q346822 property:P264 ?r . ?r rdf:type ontology:Q334453 }
Geoff Downes
action filter_type
action find
entity Geoff Downes
relation record label
type division
['Geoff Downes', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { resource:Geoff_Downes property:record_label ?r . ?r rdf:type ontology:division }
[]
division
Q5323512
SYSTEM
EMI America Records
Q5323512
(Q346822,P264,c(Q334453))
action filter_type
action find
entity Q346822
relation P264
type Q334453
The record label of Geoff Downes is the [ANSWER]
['Q346822', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { resource:Q346822 property:P264 ?r . ?r rdf:type ontology:Q334453 }
EMI America Records
The record label of Geoff Downes is the EMI America Records
EMI America Records
action filter_type
action find
entity Geoff Downes
relation record label
type division
['Geoff Downes', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { resource:Geoff_Downes property:record_label ?r . ?r rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q346822
P166
Q618779
USER
Which award was received by Geoff Downes ?
(Q346822,P166,c(Q618779))
action filter_type
action find
entity Q346822
relation P166
type Q618779
['Q346822', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q346822 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Geoff Downes
action filter_type
action find
entity Geoff Downes
relation award received
type award
['Geoff Downes', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Geoff_Downes property:award_received ?r . ?r rdf:type ontology:award }
[]
award
Q2085270
SYSTEM
Order of the Badge of Honour
Q2085270
(Q346822,P166,c(Q618779))
action filter_type
action find
entity Q346822
relation P166
type Q618779
The [ANSWER] was received by Geoff Downes
['Q346822', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q346822 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Order of the Badge of Honour
The Order of the Badge of Honour was received by Geoff Downes
Order of the Badge of Honour
action filter_type
action find
entity Geoff Downes
relation award received
type award
['Geoff Downes', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Geoff_Downes property:award_received ?r . ?r rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q346822
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q2085270)
action filter_type
action find
entity Q346822
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2085270']
SELECT DISTINCT ?s WHERE { resource:Q346822 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Geoff Downes
action filter_type
action find
entity Geoff Downes
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Order of the Badge of Honour']
SELECT DISTINCT ?s WHERE { resource:Geoff_Downes property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q12010503
SYSTEM
Wenche Steen
Q12010503
(c(Q502895),P26,Q2085270)
action filter_type
action find
entity Q346822
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q2085270']
SELECT DISTINCT ?s WHERE { resource:Q346822 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Wenche Steen
Wenche Steen is married to that one
Wenche Steen
action filter_type
action find
entity Geoff Downes
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Order of the Badge of Honour']
SELECT DISTINCT ?s WHERE { resource:Geoff_Downes property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q346822
P26 P21
Q502895
USER
Which people have Geoff Downes as spouse and are a female ?
AND((c(Q502895),P26,Q346822), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q346822
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q346822'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?a WHERE { ?a property:P26 resource:Q346822 . ?a property:P21 resource:Q6581072 . ?a rdf:type ontology:Q502895 }
female Geoff Downes
action filter_type
action intersection
action find_reverse
entity Geoff Downes
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Geoff Downes'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?a WHERE { ?a property:spouse resource:Geoff_Downes . ?a property:gender resource:female . ?a rdf:type ontology:common_name }
[]
common name
Q12010503
SYSTEM
Wenche Steen
Q12010503
AND((c(Q502895),P26,Q346822), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q346822
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] have Geoff Downes as spouse and are a female
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q346822'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?a WHERE { ?a property:P26 resource:Q346822 . ?a property:P21 resource:Q6581072 . ?a rdf:type ontology:Q502895 }
Wenche Steen
Wenche Steen have Geoff Downes as spouse and are a female
Wenche Steen
action filter_type
action intersection
action find_reverse
entity Geoff Downes
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Geoff Downes'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?a WHERE { ?a property:spouse resource:Geoff_Downes . ?a property:gender resource:female . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12010503 Q20
P27
Q15617994
USER
Is Norway the native country of Wenche Steen ?
(Q12010503,P27,Q20)
action is_in
entity Q20
action find
entity Q12010503
relation P27
['Q12010503', 'P27', 'Q20']
ASK WHERE { resource:Q12010503 property:P27 resource:Q20 }
Wenche Steen Norway
action is_in
entity Norway
action find
entity Wenche Steen
relation country of citizenship
['Wenche Steen', 'country of citizenship', 'Norway']
ASK WHERE { resource:Wenche_Steen property:country_of_citizenship resource:Norway }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q12010503,P27,Q20)
action is_in
entity Q20
action find
entity Q12010503
relation P27
[ANSWER]
['Q12010503', 'P27', 'Q20']
ASK WHERE { resource:Q12010503 property:P27 resource:Q20 }
Yes
action is_in
entity Norway
action find
entity Wenche Steen
relation country of citizenship
['Wenche Steen', 'country of citizenship', 'Norway']
ASK WHERE { resource:Wenche_Steen property:country_of_citizenship resource:Norway }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q129813 Q12010503
P26 P58
Q502895
USER
Which people are married to Wenche Steen or wrote the script for Enduring Love ?
OR((Q12010503,P26,c(Q502895)), (Q129813,P58,c(Q502895)))
action filter_type
action union
action find
entity Q12010503
relation P26
action find
entity Q129813
relation P58
type Q502895
{'OR': [['Q12010503', 'P26', {'concept': 'Q502895'}], ['Q129813', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q12010503 property:P26 ?t } UNION { resource:Q129813 property:P58 ?t } } . ?t rdf:type ontology:Q502895 }
Enduring Love Wenche Steen
action filter_type
action union
action find
entity Wenche Steen
relation spouse
action find
entity Enduring Love
relation screenwriter
type common name
{'OR': [['Wenche Steen', 'spouse', {'concept': 'common name'}], ['Enduring Love', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Wenche_Steen property:spouse ?t } UNION { resource:Enduring_Love property:screenwriter ?t } } . ?t rdf:type ontology:common_name }
[]
common name
Q346822 Q3808679 Q190379
SYSTEM
Geoff Downes, Joe Penhall, Ian McEwan
Q346822 Q3808679 Q190379
OR((Q12010503,P26,c(Q502895)), (Q129813,P58,c(Q502895)))
action filter_type
action union
action find
entity Q12010503
relation P26
action find
entity Q129813
relation P58
type Q502895
[ANSWERS] are married to Wenche Steen or wrote the script for Enduring Love
{'OR': [['Q12010503', 'P26', {'concept': 'Q502895'}], ['Q129813', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q12010503 property:P26 ?t } UNION { resource:Q129813 property:P58 ?t } } . ?t rdf:type ontology:Q502895 }
Geoff Downes Joe Penhall Ian McEwan
Geoff Downes, Joe Penhall and Ian McEwan are married to Wenche Steen or wrote the script for Enduring Love
Geoff Downes Joe Penhall Ian McEwan
action filter_type
action union
action find
entity Wenche Steen
relation spouse
action find
entity Enduring Love
relation screenwriter
type common name
{'OR': [['Wenche Steen', 'spouse', {'concept': 'common name'}], ['Enduring Love', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Wenche_Steen property:spouse ?t } UNION { resource:Enduring_Love property:screenwriter ?t } } . ?t rdf:type ontology:common_name }
[]