Simple Question (Direct)
Simple Question
Q3992519
P463
Q215380
USER
Which band had Tom Petersson as its member ?
(Q3992519,P463,c(Q215380))
action filter_type
action find
entity Q3992519
relation P463
type Q215380
['Q3992519', 'P463', {'concept': 'Q215380'}]
SELECT DISTINCT ?r WHERE { resource:Q3992519 property:P463 ?r . ?r rdf:type ontology:Q215380 }
Tom Petersson
action filter_type
action find
entity Tom Petersson
relation member of
type band
['Tom Petersson', 'member of', {'concept': 'band'}]
SELECT DISTINCT ?r WHERE { resource:Tom_Petersson property:member_of ?r . ?r rdf:type ontology:band }
[]
band
Q1068713
SYSTEM
Cheap Trick
Q1068713
(Q3992519,P463,c(Q215380))
action filter_type
action find
entity Q3992519
relation P463
type Q215380
[ANSWER] had Tom Petersson as its member
['Q3992519', 'P463', {'concept': 'Q215380'}]
SELECT DISTINCT ?r WHERE { resource:Q3992519 property:P463 ?r . ?r rdf:type ontology:Q215380 }
Cheap Trick
Cheap Trick had Tom Petersson as its member
Cheap Trick
action filter_type
action find
entity Tom Petersson
relation member of
type band
['Tom Petersson', 'member of', {'concept': 'band'}]
SELECT DISTINCT ?r WHERE { resource:Tom_Petersson property:member_of ?r . ?r rdf:type ontology:band }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1068713
P1411
Q618779
USER
Which award does that band have ?
(Q1068713,P1411,c(Q618779))
action filter_type
action find
entity Q1068713
relation P1411
type Q618779
['Q1068713', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q1068713 property:P1411 ?k . ?k rdf:type ontology:Q618779 }
Cheap Trick
action filter_type
action find
entity Cheap Trick
relation nominated for
type award
['Cheap Trick', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Cheap_Trick property:nominated_for ?k . ?k rdf:type ontology:award }
[]
award
Q1441676
SYSTEM
American Music Award for Favorite Pop/Rock Band/Duo/Group
Q1441676
(Q1068713,P1411,c(Q618779))
action filter_type
action find
entity Q1068713
relation P1411
type Q618779
That band has won [ANSWER]
['Q1068713', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q1068713 property:P1411 ?k . ?k rdf:type ontology:Q618779 }
American Music Award for Favorite Pop/Rock Band/Duo/Group
That band has won American Music Award for Favorite Pop/Rock Band/Duo/Group
American Music Award for Favorite Pop/Rock Band/Duo/Group
action filter_type
action find
entity Cheap Trick
relation nominated for
type award
['Cheap Trick', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Cheap_Trick property:nominated_for ?k . ?k rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3992519
P676
Q2031291
USER
Which release has its lyrics by Tom Petersson ?
(c(Q2031291),P676,Q3992519)
action filter_type
action find_reverse
entity Q3992519
relation P676
type Q2031291
[{'concept': 'Q2031291'}, 'P676', 'Q3992519']
SELECT DISTINCT ?v WHERE { ?v property:P676 resource:Q3992519 . ?v rdf:type ontology:Q2031291 }
Tom Petersson
action filter_type
action find_reverse
entity Tom Petersson
relation lyrics by
type release
[{'concept': 'release'}, 'lyrics by', 'Tom Petersson']
SELECT DISTINCT ?v WHERE { ?v property:lyrics_by resource:Tom_Petersson . ?v rdf:type ontology:release }
[]
release
Q7168050
SYSTEM
Perfect Stranger
Q7168050
(c(Q2031291),P676,Q3992519)
action filter_type
action find_reverse
entity Q3992519
relation P676
type Q2031291
[ANSWER] has its lyrics by Tom Petersson
[{'concept': 'Q2031291'}, 'P676', 'Q3992519']
SELECT DISTINCT ?v WHERE { ?v property:P676 resource:Q3992519 . ?v rdf:type ontology:Q2031291 }
Perfect Stranger
Perfect Stranger has its lyrics by Tom Petersson
Perfect Stranger
action filter_type
action find_reverse
entity Tom Petersson
relation lyrics by
type release
[{'concept': 'release'}, 'lyrics by', 'Tom Petersson']
SELECT DISTINCT ?v WHERE { ?v property:lyrics_by resource:Tom_Petersson . ?v rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7168050
P175
Q215380
USER
What did that release perform ?
(Q7168050,P175,c(Q215380))
action filter_type
action find
entity Q7168050
relation P175
type Q215380
['Q7168050', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?y WHERE { resource:Q7168050 property:P175 ?y . ?y rdf:type ontology:Q215380 }
Perfect Stranger
action filter_type
action find
entity Perfect Stranger
relation performer
type band
['Perfect Stranger', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?y WHERE { resource:Perfect_Stranger property:performer ?y . ?y rdf:type ontology:band }
[]
band
Q1068713
SYSTEM
Cheap Trick
Q1068713
(Q7168050,P175,c(Q215380))
action filter_type
action find
entity Q7168050
relation P175
type Q215380
That release performed by [ANSWER]
['Q7168050', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?y WHERE { resource:Q7168050 property:P175 ?y . ?y rdf:type ontology:Q215380 }
Cheap Trick
That release performed by Cheap Trick
Cheap Trick
action filter_type
action find
entity Perfect Stranger
relation performer
type band
['Perfect Stranger', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?y WHERE { resource:Perfect_Stranger property:performer ?y . ?y rdf:type ontology:band }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213574
P22
Q502895
USER
Which person has Rutger Hauer as a parent ?
(c(Q502895),P22,Q213574)
action filter_type
action find_reverse
entity Q213574
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q213574']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q213574 . ?w rdf:type ontology:Q502895 }
Rutger Hauer
action filter_type
action find_reverse
entity Rutger Hauer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rutger Hauer']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Rutger_Hauer . ?w rdf:type ontology:common_name }
[]
common name
Q22680440
SYSTEM
Ayesha Hauer
Q22680440
(c(Q502895),P22,Q213574)
action filter_type
action find_reverse
entity Q213574
relation P22
type Q502895
[ANSWER] has Rutger Hauer as a parent
[{'concept': 'Q502895'}, 'P22', 'Q213574']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q213574 . ?w rdf:type ontology:Q502895 }
Ayesha Hauer
Ayesha Hauer has Rutger Hauer as a parent
Ayesha Hauer
action filter_type
action find_reverse
entity Rutger Hauer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rutger Hauer']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Rutger_Hauer . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22680440
P26
Q502895
USER
Who is married to that one ?
(Q22680440,P26,c(Q502895))
action filter_type
action find
entity Q22680440
relation P26
type Q502895
['Q22680440', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q22680440 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Ayesha Hauer
action filter_type
action find
entity Ayesha Hauer
relation spouse
type common name
['Ayesha Hauer', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ayesha_Hauer property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Q18938
SYSTEM
Thomas Jane
Q18938
(Q22680440,P26,c(Q502895))
action filter_type
action find
entity Q22680440
relation P26
type Q502895
He [ANSWER] is married to that one
['Q22680440', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q22680440 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Thomas Jane
He Thomas Jane is married to that one
Thomas Jane
action filter_type
action find
entity Ayesha Hauer
relation spouse
type common name
['Ayesha Hauer', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ayesha_Hauer property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q85024 Q22680440
P26
Q502895
USER
Or Robert A. Stemmle?
OR((Q22680440,P26,c(Q502895)), (Q85024,P26,c(Q502895)))
action filter_type
action union
action find
entity Q22680440
relation P26
action find
entity Q85024
relation P26
type Q502895
{'OR': [['Q22680440', 'P26', {'concept': 'Q502895'}], ['Q85024', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q22680440 property:P26 ?m } UNION { resource:Q85024 property:P26 ?m } } . ?m rdf:type ontology:Q502895 }
Robert A. Stemmle Ayesha Hauer
action filter_type
action union
action find
entity Ayesha Hauer
relation spouse
action find
entity Robert A. Stemmle
relation spouse
type common name
{'OR': [['Ayesha Hauer', 'spouse', {'concept': 'common name'}], ['Robert A. Stemmle', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Ayesha_Hauer property:spouse ?m } UNION { resource:Robert_A._Stemmle property:spouse ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q18938 Q113735
SYSTEM
Thomas Jane, Gerda Maurus
Q18938 Q113735
OR((Q22680440,P26,c(Q502895)), (Q85024,P26,c(Q502895)))
action filter_type
action union
action find
entity Q22680440
relation P26
action find
entity Q85024
relation P26
type Q502895
[ANSWERS]
{'OR': [['Q22680440', 'P26', {'concept': 'Q502895'}], ['Q85024', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q22680440 property:P26 ?m } UNION { resource:Q85024 property:P26 ?m } } . ?m rdf:type ontology:Q502895 }
Thomas Jane Gerda Maurus
Thomas Jane Gerda Maurus
action filter_type
action union
action find
entity Ayesha Hauer
relation spouse
action find
entity Robert A. Stemmle
relation spouse
type common name
{'OR': [['Ayesha Hauer', 'spouse', {'concept': 'common name'}], ['Robert A. Stemmle', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Ayesha_Hauer property:spouse ?m } UNION { resource:Robert_A._Stemmle property:spouse ?m } } . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q844659 Q7168050
P162
Q502895
USER
Which people are the creators of Perfect Stranger or The Marksman ?
OR((Q7168050,P162,c(Q502895)), (Q844659,P162,c(Q502895)))
action filter_type
action union
action find
entity Q7168050
relation P162
action find
entity Q844659
relation P162
type Q502895
{'OR': [['Q7168050', 'P162', {'concept': 'Q502895'}], ['Q844659', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { ?h property:P162 ?s . VALUES ( ?h ) { ( resource:Q7168050 ) ( resource:Q844659 ) } } . ?s rdf:type ontology:Q502895 }
The Marksman Perfect Stranger
action filter_type
action union
action find
entity Perfect Stranger
relation producer
action find
entity The Marksman
relation producer
type common name
{'OR': [['Perfect Stranger', 'producer', {'concept': 'common name'}], ['The Marksman', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { ?h property:producer ?s . VALUES ( ?h ) { ( resource:Perfect_Stranger ) ( resource:The_Marksman ) } } . ?s rdf:type ontology:common_name }
[]
common name
Q236125 Q14946778
SYSTEM
Linda Perry, Donald Kushner
Q236125 Q14946778
OR((Q7168050,P162,c(Q502895)), (Q844659,P162,c(Q502895)))
action filter_type
action union
action find
entity Q7168050
relation P162
action find
entity Q844659
relation P162
type Q502895
[ANSWERS] are the creators of Perfect Stranger or The Marksman
{'OR': [['Q7168050', 'P162', {'concept': 'Q502895'}], ['Q844659', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { ?h property:P162 ?s . VALUES ( ?h ) { ( resource:Q7168050 ) ( resource:Q844659 ) } } . ?s rdf:type ontology:Q502895 }
Linda Perry Donald Kushner
Linda Perry and Donald Kushner are the creators of Perfect Stranger or The Marksman
Linda Perry Donald Kushner
action filter_type
action union
action find
entity Perfect Stranger
relation producer
action find
entity The Marksman
relation producer
type common name
{'OR': [['Perfect Stranger', 'producer', {'concept': 'common name'}], ['The Marksman', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { ?h property:producer ?s . VALUES ( ?h ) { ( resource:Perfect_Stranger ) ( resource:The_Marksman ) } } . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q236125
P734
Q82799
USER
Who has the surname Linda Perry ?
(Q236125,P734,c(Q82799))
action filter_type
action find
entity Q236125
relation P734
type Q82799
['Q236125', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q236125 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Linda Perry
action filter_type
action find
entity Linda Perry
relation family name
type name
['Linda Perry', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Linda_Perry property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q2793334
SYSTEM
Perry
Q2793334
(Q236125,P734,c(Q82799))
action filter_type
action find
entity Q236125
relation P734
type Q82799
So [ANSWER] has the surname Linda [ANSWER]
['Q236125', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q236125 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Perry
So Perry has the surname Linda Perry
Perry
action filter_type
action find
entity Linda Perry
relation family name
type name
['Linda Perry', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Linda_Perry property:family_name ?i . ?i rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2793334 Q16151130
P734
Q502895
USER
Does Bob Boyd have that one as their family name ?
(Q16151130,P734,Q2793334)
action is_in
entity Q16151130
action find
entity Q2793334
relation P734
['Q16151130', 'P734', 'Q2793334']
ASK WHERE { resource:Q2793334 property:P734 resource:Q16151130 }
Perry Bob Boyd
action is_in
entity Bob Boyd
action find
entity Perry
relation family name
['Bob Boyd', 'family name', 'Perry']
ASK WHERE { resource:Perry property:family_name resource:Bob_Boyd }
[]
common name
SYSTEM
NO
(Q16151130,P734,Q2793334)
action is_in
entity Q16151130
action find
entity Q2793334
relation P734
[ANSWER]
['Q16151130', 'P734', 'Q2793334']
ASK WHERE { resource:Q2793334 property:P734 resource:Q16151130 }
No
action is_in
entity Bob Boyd
action find
entity Perry
relation family name
['Bob Boyd', 'family name', 'Perry']
ASK WHERE { resource:Perry property:family_name resource:Bob_Boyd }
[]