Simple Question (Direct)
Simple Question
Q927450
P21
Q290
USER
Which sex does Teddy Riley possess ?
(Q927450,P21,c(Q290))
action filter_type
action find
entity Q927450
relation P21
type Q290
['Q927450', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q927450 property:P21 ?o . ?o rdf:type ontology:Q290 }
Teddy Riley
action filter_type
action find
entity Teddy Riley
relation gender
type sex
['Teddy Riley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Teddy_Riley property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q927450,P21,c(Q290))
action filter_type
action find
entity Q927450
relation P21
type Q290
Teddy Riley possesses a [ANSWER]
['Q927450', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q927450 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Teddy Riley possesses a male
male
action filter_type
action find
entity Teddy Riley
relation gender
type sex
['Teddy Riley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Teddy_Riley property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q927450
P1303
Q34379
USER
Which musical instrument can that person perform with ?
(Q6581097,P1303,c(Q34379))
action filter_type
action find
entity Q927450
relation P1303
type Q34379
['Q6581097', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { resource:Q927450 property:P1303 ?d . ?d rdf:type ontology:Q34379 }
Teddy Riley
action filter_type
action find
entity Teddy Riley
relation instrument
type musical instrument
['male', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { resource:Teddy_Riley property:instrument ?d . ?d rdf:type ontology:musical_instrument }
[]
musical instrument
Q128309
SYSTEM
drum kit
Q128309
(Q6581097,P1303,c(Q34379))
action filter_type
action find
entity Q927450
relation P1303
type Q34379
That person can perform a [ANSWER]
['Q6581097', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { resource:Q927450 property:P1303 ?d . ?d rdf:type ontology:Q34379 }
drum kit
That person can perform a drum kit
drum kit
action filter_type
action find
entity Teddy Riley
relation instrument
type musical instrument
['male', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { resource:Teddy_Riley property:instrument ?d . ?d rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q927450
P175
Q2031291
USER
Which release gave the performance of Teddy Riley ?
(c(Q2031291),P175,Q927450)
action filter_type
action find_reverse
entity Q927450
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q927450']
SELECT DISTINCT ?i WHERE { ?i property:P175 resource:Q927450 . ?i rdf:type ontology:Q2031291 }
Teddy Riley
action filter_type
action find_reverse
entity Teddy Riley
relation performer
type release
[{'concept': 'release'}, 'performer', 'Teddy Riley']
SELECT DISTINCT ?i WHERE { ?i property:performer resource:Teddy_Riley . ?i rdf:type ontology:release }
[]
release
Q7379371
SYSTEM
Rump Shaker
Q7379371
(c(Q2031291),P175,Q927450)
action filter_type
action find_reverse
entity Q927450
relation P175
type Q2031291
[ANSWER] gave the performance of Teddy Riley
[{'concept': 'Q2031291'}, 'P175', 'Q927450']
SELECT DISTINCT ?i WHERE { ?i property:P175 resource:Q927450 . ?i rdf:type ontology:Q2031291 }
Rump Shaker
Rump Shaker gave the performance of Teddy Riley
Rump Shaker
action filter_type
action find_reverse
entity Teddy Riley
relation performer
type release
[{'concept': 'release'}, 'performer', 'Teddy Riley']
SELECT DISTINCT ?i WHERE { ?i property:performer resource:Teddy_Riley . ?i rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q927450
P162
Q2031291
USER
What has been developed by that person ?
(c(Q2031291),P162,Q7379371)
action filter_type
action find_reverse
entity Q927450
relation P162
type Q2031291
[{'concept': 'Q2031291'}, 'P162', 'Q7379371']
SELECT DISTINCT ?w WHERE { ?w property:P162 resource:Q927450 . ?w rdf:type ontology:Q2031291 }
Teddy Riley
action filter_type
action find_reverse
entity Teddy Riley
relation producer
type release
[{'concept': 'release'}, 'producer', 'Rump Shaker']
SELECT DISTINCT ?w WHERE { ?w property:producer resource:Teddy_Riley . ?w rdf:type ontology:release }
[]
release
Q6738963
SYSTEM
Make It Last Forever
Q6738963
(c(Q2031291),P162,Q7379371)
action filter_type
action find_reverse
entity Q927450
relation P162
type Q2031291
To make It Last Forever has been developed by that person
[{'concept': 'Q2031291'}, 'P162', 'Q7379371']
SELECT DISTINCT ?w WHERE { ?w property:P162 resource:Q927450 . ?w rdf:type ontology:Q2031291 }
Make It Last Forever
To make It Last Forever has been developed by that person
Make It Last Forever
action filter_type
action find_reverse
entity Teddy Riley
relation producer
type release
[{'concept': 'release'}, 'producer', 'Rump Shaker']
SELECT DISTINCT ?w WHERE { ?w property:producer resource:Teddy_Riley . ?w rdf:type ontology:release }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6738963 Q4272437 Q946728
P175
Q502895
USER
Did that release performed Igors Ļucko and Keith Sweat ?
(Q6738963,P175,Q4272437) (Q6738963,P175,Q946728)
action is_in
entity Q6738963
action intersection
action find_reverse
entity Q4272437
relation P175
action find_reverse
entity Q946728
relation P175
['Q6738963', 'P175', 'Q4272437'] ['Q6738963', 'P175', 'Q946728']
ASK WHERE { resource:Q6738963 property:P175 resource:Q4272437 . resource:Q6738963 property:P175 resource:Q946728 }
Make It Last Forever Igors Ļucko Keith Sweat
action is_in
entity Make It Last Forever
action intersection
action find_reverse
entity Igors Ļucko
relation performer
action find_reverse
entity Keith Sweat
relation performer
['Make It Last Forever', 'performer', 'Igors Ļucko'] ['Make It Last Forever', 'performer', 'Keith Sweat']
ASK WHERE { resource:Make_It_Last_Forever property:performer resource:Igors_Ļucko . resource:Make_It_Last_Forever property:performer resource:Keith_Sweat }
[]
common name
SYSTEM
NO and YES respectively
(Q6738963,P175,Q4272437) (Q6738963,P175,Q946728)
action is_in
entity Q6738963
action intersection
action find_reverse
entity Q4272437
relation P175
action find_reverse
entity Q946728
relation P175
[ANSWER]
['Q6738963', 'P175', 'Q4272437'] ['Q6738963', 'P175', 'Q946728']
ASK WHERE { resource:Q6738963 property:P175 resource:Q4272437 . resource:Q6738963 property:P175 resource:Q946728 }
NO and YES respectively
action is_in
entity Make It Last Forever
action intersection
action find_reverse
entity Igors Ļucko
relation performer
action find_reverse
entity Keith Sweat
relation performer
['Make It Last Forever', 'performer', 'Igors Ļucko'] ['Make It Last Forever', 'performer', 'Keith Sweat']
ASK WHERE { resource:Make_It_Last_Forever property:performer resource:Igors_Ļucko . resource:Make_It_Last_Forever property:performer resource:Keith_Sweat }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6738963 Q196255
P162
Q502895
USER
How many people are the creators of Make It Last Forever or Street Fighter II' Turbo: Hyper Fighting ?
(Q6738963,P162,c(Q502895)) (Q196255,P162,c(Q502895))
action count
action union
action filter_type
action find
entity Q6738963
relation P162
type Q502895
action filter_type
action find
entity Q196255
relation P162
type Q502895
['Q6738963', 'P162', {'concept': 'Q502895'}] ['Q196255', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { resource:Q6738963 property:P162 ?i . ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q502895 . resource:Q196255 property:P162 ?i } }
Make It Last Forever Street Fighter II' Turbo: Hyper Fighting
action count
action union
action filter_type
action find
entity Make It Last Forever
relation producer
type common name
action filter_type
action find
entity Street Fighter II' Turbo: Hyper Fighting
relation producer
type common name
['Make It Last Forever', 'producer', {'concept': 'common name'}] ["Street Fighter II' Turbo: Hyper Fighting", 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { resource:Make_It_Last_Forever property:producer ?i . ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:common_name . resource:Street_Fighter_II'_Turbo:_Hyper_Fighting property:producer ?i } }
[]
common name
SYSTEM
2
Q927450 Q1537372
(Q6738963,P162,c(Q502895)) (Q196255,P162,c(Q502895))
action count
action union
action filter_type
action find
entity Q6738963
relation P162
type Q502895
action filter_type
action find
entity Q196255
relation P162
type Q502895
[ANSWER]
['Q6738963', 'P162', {'concept': 'Q502895'}] ['Q196255', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { resource:Q6738963 property:P162 ?i . ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q502895 . resource:Q196255 property:P162 ?i } }
Teddy Riley Yoshiki Okamoto
2
action count
action union
action filter_type
action find
entity Make It Last Forever
relation producer
type common name
action filter_type
action find
entity Street Fighter II' Turbo: Hyper Fighting
relation producer
type common name
['Make It Last Forever', 'producer', {'concept': 'common name'}] ["Street Fighter II' Turbo: Hyper Fighting", 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { resource:Make_It_Last_Forever property:producer ?i . ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:common_name . resource:Street_Fighter_II'_Turbo:_Hyper_Fighting property:producer ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6738963
P136
Q151885
USER
Which concept can be considered as genre of Make It Last Forever ?
(Q6738963,P136,c(Q151885))
action filter_type
action find
entity Q6738963
relation P136
type Q151885
['Q6738963', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q151885 . resource:Q6738963 property:P136 ?w }
Make It Last Forever
action filter_type
action find
entity Make It Last Forever
relation genre
type concept
['Make It Last Forever', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:concept . resource:Make_It_Last_Forever property:genre ?w }
[]
concept
Q840065
SYSTEM
New jack swing
Q840065
(Q6738963,P136,c(Q151885))
action filter_type
action find
entity Q6738963
relation P136
type Q151885
[ANSWER] can be considered as genre of Make It Last Forever
['Q6738963', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q151885 . resource:Q6738963 property:P136 ?w }
New jack swing
New jack swing can be considered as genre of Make It Last Forever
New jack swing
action filter_type
action find
entity Make It Last Forever
relation genre
type concept
['Make It Last Forever', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:concept . resource:Make_It_Last_Forever property:genre ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2665662
Q151885
USER
And also tell me about Achozen?
(Q2665662,P136,c(Q151885))
action filter_type
action find
entity Q2665662
relation P136
type Q151885
['Q2665662', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q2665662 property:P136 ?k . ?k rdf:type ontology:Q151885 }
Achozen
action filter_type
action find
entity Achozen
relation genre
type concept
['Achozen', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Achozen property:genre ?k . ?k rdf:type ontology:concept }
[]
concept
Q11401
SYSTEM
hip hop
Q11401
(Q2665662,P136,c(Q151885))
action filter_type
action find
entity Q2665662
relation P136
type Q151885
[ANSWER]
['Q2665662', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q2665662 property:P136 ?k . ?k rdf:type ontology:Q151885 }
hip hop
hip hop
action filter_type
action find
entity Achozen
relation genre
type concept
['Achozen', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Achozen property:genre ?k . ?k rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3632597 Q6738963
P175
Q502895
USER
Which people did Make It Last Forever or Back That Thang Up perform ?
OR((Q6738963,P175,c(Q502895)), (Q3632597,P175,c(Q502895)))
action filter_type
action union
action find
entity Q6738963
relation P175
action find
entity Q3632597
relation P175
type Q502895
{'OR': [['Q6738963', 'P175', {'concept': 'Q502895'}], ['Q3632597', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . { { resource:Q3632597 property:P175 ?h } UNION { resource:Q6738963 property:P175 ?h } } }
Back That Thang Up Make It Last Forever
action filter_type
action union
action find
entity Make It Last Forever
relation performer
action find
entity Back That Thang Up
relation performer
type common name
{'OR': [['Make It Last Forever', 'performer', {'concept': 'common name'}], ['Back That Thang Up', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . { { resource:Back_That_Thang_Up property:performer ?h } UNION { resource:Make_It_Last_Forever property:performer ?h } } }
[]
common name
Q724501 Q946728 Q976090 Q15615
SYSTEM
Juvenile, Keith Sweat, Mannie Fresh, Lil Wayne
Q724501 Q946728 Q976090 Q15615
OR((Q6738963,P175,c(Q502895)), (Q3632597,P175,c(Q502895)))
action filter_type
action union
action find
entity Q6738963
relation P175
action find
entity Q3632597
relation P175
type Q502895
[ANSWERS] made It Last Forever or Back That Thang Up perform
{'OR': [['Q6738963', 'P175', {'concept': 'Q502895'}], ['Q3632597', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . { { resource:Q3632597 property:P175 ?h } UNION { resource:Q6738963 property:P175 ?h } } }
Juvenile Keith Sweat Mannie Fresh Lil Wayne
Juvenile, Keith Sweat, Mannie Fresh and Lil Wayne made It Last Forever or Back That Thang Up perform
Juvenile Keith Sweat Mannie Fresh Lil Wayne
action filter_type
action union
action find
entity Make It Last Forever
relation performer
action find
entity Back That Thang Up
relation performer
type common name
{'OR': [['Make It Last Forever', 'performer', {'concept': 'common name'}], ['Back That Thang Up', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . { { resource:Back_That_Thang_Up property:performer ?h } UNION { resource:Make_It_Last_Forever property:performer ?h } } }
[]