Simple Question (Direct)
Simple Question
Q1232308
P264
Q334453
USER
Which division sponsored the recording of Thom Pace ?
(Q1232308,P264,c(Q334453))
action filter_type
action find
entity Q1232308
relation P264
type Q334453
['Q1232308', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?q WHERE { resource:Q1232308 property:P264 ?q . ?q rdf:type ontology:Q334453 }
Thom Pace
action filter_type
action find
entity Thom Pace
relation record label
type division
['Thom Pace', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?q WHERE { resource:Thom_Pace property:record_label ?q . ?q rdf:type ontology:division }
[]
division
Q778792
SYSTEM
RSO Records
Q778792
(Q1232308,P264,c(Q334453))
action filter_type
action find
entity Q1232308
relation P264
type Q334453
[ANSWER] sponsored the recording of Thom Pace
['Q1232308', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?q WHERE { resource:Q1232308 property:P264 ?q . ?q rdf:type ontology:Q334453 }
RSO Records
RSO Records sponsored the recording of Thom Pace
RSO Records
action filter_type
action find
entity Thom Pace
relation record label
type division
['Thom Pace', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?q WHERE { resource:Thom_Pace property:record_label ?q . ?q rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q778792
P272
Q838948
USER
Which works of art had that division as the production house ?
(c(Q838948),P272,Q778792)
action filter_type
action find_reverse
entity Q778792
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q778792']
SELECT DISTINCT ?u WHERE { ?u property:P272 resource:Q778792 . ?u rdf:type ontology:Q838948 }
RSO Records
action filter_type
action find_reverse
entity RSO Records
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'RSO Records']
SELECT DISTINCT ?u WHERE { ?u property:production_company resource:RSO_Records . ?u rdf:type ontology:work_of_art }
[]
work of art
Q267721 Q47654 Q1419797
SYSTEM
Grease, Saturday Night Fever, Tommy
Q2532586 Q851611 Q267721 Q47654 Q1419797
(c(Q838948),P272,Q778792)
action filter_type
action find_reverse
entity Q778792
relation P272
type Q838948
[ANSWERS] had that division as the production house
[{'concept': 'Q838948'}, 'P272', 'Q778792']
SELECT DISTINCT ?u WHERE { ?u property:P272 resource:Q778792 . ?u rdf:type ontology:Q838948 }
Sgt. Pepper's Lonely Hearts Club Band Bugsy Malone Grease Saturday Night Fever Tommy
Grease, Saturday Night Fever and Tommy had that division as the production house
Grease Saturday Night Fever Tommy
action filter_type
action find_reverse
entity RSO Records
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'RSO Records']
SELECT DISTINCT ?u WHERE { ?u property:production_company resource:RSO_Records . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q267721 Q47654 Q1419797
P344
Q502895
USER
Who are appointed as the cinematographers of those works of art ?
(Q267721,P344,c(Q502895)) (Q47654,P344,c(Q502895)) (Q1419797,P344,c(Q502895))
action filter_type
action find
entity prev_answer
relation P344
type Q502895
['Q267721', 'P344', {'concept': 'Q502895'}] ['Q47654', 'P344', {'concept': 'Q502895'}] ['Q1419797', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?o ) { ( resource:Q2532586 ) ( resource:Q851611 ) ( resource:Q267721 ) } . ?i rdf:type ontology:Q502895 . ?o property:P344 ?i }
Grease Saturday Night Fever Tommy
action filter_type
action find
entity prev_answer
relation director of photography
type common name
['Grease', 'director of photography', {'concept': 'common name'}] ['Saturday Night Fever', 'director of photography', {'concept': 'common name'}] ['Tommy', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?o ) { ( resource:Sgt._Pepper's_Lonely_Hearts_Club_Band ) ( resource:Bugsy_Malone ) ( resource:Grease ) } . ?i rdf:type ontology:common_name . ?o property:director_of_photography ?i }
[]
common name
Q96033 Q414574 Q2166046
SYSTEM
Ralf D. Bode, Bill Butler, Ronnie Taylor
Q414574 Q96033 Q2166046 Q1209629
(Q267721,P344,c(Q502895)) (Q47654,P344,c(Q502895)) (Q1419797,P344,c(Q502895))
action filter_type
action find
entity prev_answer
relation P344
type Q502895
[ANSWERS] are appointed as the cinematographers of those works of art
['Q267721', 'P344', {'concept': 'Q502895'}] ['Q47654', 'P344', {'concept': 'Q502895'}] ['Q1419797', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?o ) { ( resource:Q2532586 ) ( resource:Q851611 ) ( resource:Q267721 ) } . ?i rdf:type ontology:Q502895 . ?o property:P344 ?i }
Bill Butler Ralf D. Bode Ronnie Taylor Dick Bush
Ralf D. Bode, Bill Butler and Ronnie Taylor are appointed as the cinematographers of those works of art
Ralf D. Bode Bill Butler Ronnie Taylor
action filter_type
action find
entity prev_answer
relation director of photography
type common name
['Grease', 'director of photography', {'concept': 'common name'}] ['Saturday Night Fever', 'director of photography', {'concept': 'common name'}] ['Tommy', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?o ) { ( resource:Sgt._Pepper's_Lonely_Hearts_Club_Band ) ( resource:Bugsy_Malone ) ( resource:Grease ) } . ?i rdf:type ontology:common_name . ?o property:director_of_photography ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q778792
P17
Q15617994
USER
Which administrative territory is RSO Records present in ?
(Q778792,P17,c(Q15617994))
action filter_type
action find
entity Q778792
relation P17
type Q15617994
['Q778792', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q778792 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
RSO Records
action filter_type
action find
entity RSO Records
relation country
type designation for an administrative territorial entity
['RSO Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:RSO_Records property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q778792,P17,c(Q15617994))
action filter_type
action find
entity Q778792
relation P17
type Q15617994
Which administrative territory is RSO Records present in
['Q778792', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q778792 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is RSO Records present in
United Kingdom
action filter_type
action find
entity RSO Records
relation country
type designation for an administrative territorial entity
['RSO Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:RSO_Records property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1232308 Q5943800
P106
Q12737077
USER
How many occupations are the professions of Thom Pace and José Marín ?
(Q1232308,P106,c(Q12737077)) (Q5943800,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q1232308
relation P106
type Q12737077
action filter_type
action find
entity Q5943800
relation P106
type Q12737077
['Q1232308', 'P106', {'concept': 'Q12737077'}] ['Q5943800', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q1232308 property:P106 ?a . ?a rdf:type ontology:Q12737077 . resource:Q5943800 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Thom Pace José Marín
action count
action intersection
action filter_type
action find
entity Thom Pace
relation occupation
type occupation
action filter_type
action find
entity José Marín
relation occupation
type occupation
['Thom Pace', 'occupation', {'concept': 'occupation'}] ['José Marín', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Thom_Pace property:occupation ?a . ?a rdf:type ontology:occupation . resource:José_Marín property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q36834 Q177220
(Q1232308,P106,c(Q12737077)) (Q5943800,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q1232308
relation P106
type Q12737077
action filter_type
action find
entity Q5943800
relation P106
type Q12737077
[ANSWER]
['Q1232308', 'P106', {'concept': 'Q12737077'}] ['Q5943800', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q1232308 property:P106 ?a . ?a rdf:type ontology:Q12737077 . resource:Q5943800 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
composer singer
2
action count
action intersection
action filter_type
action find
entity Thom Pace
relation occupation
type occupation
action filter_type
action find
entity José Marín
relation occupation
type occupation
['Thom Pace', 'occupation', {'concept': 'occupation'}] ['José Marín', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Thom_Pace property:occupation ?a . ?a rdf:type ontology:occupation . resource:José_Marín property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q267721
P58
Q502895
USER
Which person wrote the script for Grease ?
(Q267721,P58,c(Q502895))
action filter_type
action find
entity Q267721
relation P58
type Q502895
['Q267721', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q267721 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Grease
action filter_type
action find
entity Grease
relation screenwriter
type common name
['Grease', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Grease property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
common name
Q4974091
SYSTEM
Bronte Woodard
Q4974091
(Q267721,P58,c(Q502895))
action filter_type
action find
entity Q267721
relation P58
type Q502895
The [ANSWER] wrote the script for Grease
['Q267721', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q267721 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Bronte Woodard
The Bronte Woodard wrote the script for Grease
Bronte Woodard
action filter_type
action find
entity Grease
relation screenwriter
type common name
['Grease', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Grease property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q267721
P144
Q15850590
USER
Which theatrical genre does Grease extend upon ?
(Q267721,P144,c(Q15850590))
action filter_type
action find
entity Q267721
relation P144
type Q15850590
['Q267721', 'P144', {'concept': 'Q15850590'}]
SELECT DISTINCT ?d WHERE { resource:Q267721 property:P144 ?d . ?d rdf:type ontology:Q15850590 }
Grease
action filter_type
action find
entity Grease
relation based on
type theatrical genre
['Grease', 'based on', {'concept': 'theatrical genre'}]
SELECT DISTINCT ?d WHERE { resource:Grease property:based_on ?d . ?d rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q611626
SYSTEM
Grease
Q611626
(Q267721,P144,c(Q15850590))
action filter_type
action find
entity Q267721
relation P144
type Q15850590
[ANSWER] extends [ANSWER]
['Q267721', 'P144', {'concept': 'Q15850590'}]
SELECT DISTINCT ?d WHERE { resource:Q267721 property:P144 ?d . ?d rdf:type ontology:Q15850590 }
Grease
Grease extends Grease
Grease
action filter_type
action find
entity Grease
relation based on
type theatrical genre
['Grease', 'based on', {'concept': 'theatrical genre'}]
SELECT DISTINCT ?d WHERE { resource:Grease property:based_on ?d . ?d rdf:type ontology:theatrical_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q654439
Q15850590
USER
And how about The Merry Widow?
(Q654439,P144,c(Q15850590))
action filter_type
action find
entity Q654439
relation P144
type Q15850590
['Q654439', 'P144', {'concept': 'Q15850590'}]
SELECT DISTINCT ?o WHERE { resource:Q654439 property:P144 ?o . ?o rdf:type ontology:Q15850590 }
The Merry Widow
action filter_type
action find
entity The Merry Widow
relation based on
type theatrical genre
['The Merry Widow', 'based on', {'concept': 'theatrical genre'}]
SELECT DISTINCT ?o WHERE { resource:The_Merry_Widow property:based_on ?o . ?o rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q478202
SYSTEM
The Merry Widow
Q478202
(Q654439,P144,c(Q15850590))
action filter_type
action find
entity Q654439
relation P144
type Q15850590
[ANSWER]
['Q654439', 'P144', {'concept': 'Q15850590'}]
SELECT DISTINCT ?o WHERE { resource:Q654439 property:P144 ?o . ?o rdf:type ontology:Q15850590 }
The Merry Widow
The Merry Widow
action filter_type
action find
entity The Merry Widow
relation based on
type theatrical genre
['The Merry Widow', 'based on', {'concept': 'theatrical genre'}]
SELECT DISTINCT ?o WHERE { resource:The_Merry_Widow property:based_on ?o . ?o rdf:type ontology:theatrical_genre }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q145
P495
Q2342494
USER
Which collectables are United Kingdom and United States of America a country of origin of ?
AND((c(Q2342494),P495,Q145), (c(Q2342494),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q145
relation P495
action find_reverse
entity Q30
relation P495
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P495', 'Q145'], [{'concept': 'Q2342494'}, 'P495', 'Q30']]}
SELECT DISTINCT ?p WHERE { ?p property:P495 resource:Q145 . ?p property:P495 resource:Q30 . ?p rdf:type ontology:Q2342494 }
United States of America United Kingdom
action filter_type
action intersection
action find_reverse
entity United Kingdom
relation country of origin
action find_reverse
entity United States of America
relation country of origin
type collectable
{'AND': [[{'concept': 'collectable'}, 'country of origin', 'United Kingdom'], [{'concept': 'collectable'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_origin resource:United_Kingdom . ?p property:country_of_origin resource:United_States_of_America . ?p rdf:type ontology:collectable }
[]
collectable
Q4165638 Q7814342 Q441055 Q1323801 Q6842823 Q4343791 Q5317020 Q7301415 Q630382
SYSTEM
House of Chains, Toll the Hounds, Gardens of the Moon, Deadhouse Gates, Midnight Tides, Memories of Ice, Dust of Dreams, Reaper's Gale, The Bonehunters
Q4165638 Q7814342 Q441055 Q1323801 Q6842823 Q4343791 Q5317020 Q7301415 Q630382
AND((c(Q2342494),P495,Q145), (c(Q2342494),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q145
relation P495
action find_reverse
entity Q30
relation P495
type Q2342494
[ANSWERS] are United Kingdom and United States of America a country of origin of
{'AND': [[{'concept': 'Q2342494'}, 'P495', 'Q145'], [{'concept': 'Q2342494'}, 'P495', 'Q30']]}
SELECT DISTINCT ?p WHERE { ?p property:P495 resource:Q145 . ?p property:P495 resource:Q30 . ?p rdf:type ontology:Q2342494 }
House of Chains Toll the Hounds Gardens of the Moon Deadhouse Gates Midnight Tides Memories of Ice Dust of Dreams Reaper's Gale The Bonehunters
House of Chains, Toll the Hounds, Gardens of the Moon, Deadhouse Gates, Midnight Tides, Memories of Ice, Dust of Dreams, Reaper's Gale and The Bonehunters are United Kingdom and United States of America a country of origin of
House of Chains Toll the Hounds Gardens of the Moon Deadhouse Gates Midnight Tides Memories of Ice Dust of Dreams Reaper's Gale The Bonehunters
action filter_type
action intersection
action find_reverse
entity United Kingdom
relation country of origin
action find_reverse
entity United States of America
relation country of origin
type collectable
{'AND': [[{'concept': 'collectable'}, 'country of origin', 'United Kingdom'], [{'concept': 'collectable'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_origin resource:United_Kingdom . ?p property:country_of_origin resource:United_States_of_America . ?p rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17119653 Q267721
P19 P915
Q56061
USER
Which administrative territories were Grease filmed or are the places of birth of Gottfried Hoffmann Greve ?
OR((Q267721,P915,c(Q56061)), (Q17119653,P19,c(Q56061)))
action filter_type
action union
action find
entity Q267721
relation P915
action find
entity Q17119653
relation P19
type Q56061
{'OR': [['Q267721', 'P915', {'concept': 'Q56061'}], ['Q17119653', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q267721 property:P915 ?c } UNION { resource:Q17119653 property:P19 ?c } } . ?c rdf:type ontology:Q56061 }
Gottfried Hoffmann Greve Grease
action filter_type
action union
action find
entity Grease
relation filming location
action find
entity Gottfried Hoffmann Greve
relation place of birth
type administrative territorial entity
{'OR': [['Grease', 'filming location', {'concept': 'administrative territorial entity'}], ['Gottfried Hoffmann Greve', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Grease property:filming_location ?c } UNION { resource:Gottfried_Hoffmann_Greve property:place_of_birth ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65 Q26793 Q387047
SYSTEM
Los Angeles, Bergen, Malibu
Q65 Q26793 Q387047
OR((Q267721,P915,c(Q56061)), (Q17119653,P19,c(Q56061)))
action filter_type
action union
action find
entity Q267721
relation P915
action find
entity Q17119653
relation P19
type Q56061
[ANSWERS] were Grease filmed or are the places of birth of Gottfried Hoffmann Greve
{'OR': [['Q267721', 'P915', {'concept': 'Q56061'}], ['Q17119653', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q267721 property:P915 ?c } UNION { resource:Q17119653 property:P19 ?c } } . ?c rdf:type ontology:Q56061 }
Los Angeles Bergen Malibu
Los Angeles, Bergen and Malibu were Grease filmed or are the places of birth of Gottfried Hoffmann Greve
Los Angeles Bergen Malibu
action filter_type
action union
action find
entity Grease
relation filming location
action find
entity Gottfried Hoffmann Greve
relation place of birth
type administrative territorial entity
{'OR': [['Grease', 'filming location', {'concept': 'administrative territorial entity'}], ['Gottfried Hoffmann Greve', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Grease property:filming_location ?c } UNION { resource:Gottfried_Hoffmann_Greve property:place_of_birth ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q611626
P364 P144
Q838948
USER
Which works of art are based on Grease and were done in English language during their inception ?
AND((c(Q838948),P144,Q611626), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q611626
relation P144
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P144', 'Q611626'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P144 resource:Q611626 . ?m property:P364 resource:Q1860 }
English Grease
action filter_type
action intersection
action find_reverse
entity Grease
relation based on
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'based on', 'Grease'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:based_on resource:Grease . ?m property:original_language_of_work resource:English }
[]
work of art
Q267721
SYSTEM
Grease
Q267721
AND((c(Q838948),P144,Q611626), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q611626
relation P144
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWER] is based on [ANSWER] and were done in English language during their inception
{'AND': [[{'concept': 'Q838948'}, 'P144', 'Q611626'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P144 resource:Q611626 . ?m property:P364 resource:Q1860 }
Grease
Grease is based on Grease and were done in English language during their inception
Grease
action filter_type
action intersection
action find_reverse
entity Grease
relation based on
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'based on', 'Grease'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:based_on resource:Grease . ?m property:original_language_of_work resource:English }
[]