Simple Question (Direct)
Simple Question
Q2006195
P1303
Q34379
USER
Which musical instrument is played by Yitzhak Yedid ?
(Q2006195,P1303,c(Q34379))
action filter_type
action find
entity Q2006195
relation P1303
type Q34379
['Q2006195', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { resource:Q2006195 property:P1303 ?n . ?n rdf:type ontology:Q34379 }
Yitzhak Yedid
action filter_type
action find
entity Yitzhak Yedid
relation instrument
type musical instrument
['Yitzhak Yedid', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { resource:Yitzhak_Yedid property:instrument ?n . ?n rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q2006195,P1303,c(Q34379))
action filter_type
action find
entity Q2006195
relation P1303
type Q34379
[ANSWER] is played by Yitzhak Yedid
['Q2006195', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { resource:Q2006195 property:P1303 ?n . ?n rdf:type ontology:Q34379 }
piano
Piano is played by Yitzhak Yedid
piano
action filter_type
action find
entity Yitzhak Yedid
relation instrument
type musical instrument
['Yitzhak Yedid', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { resource:Yitzhak_Yedid property:instrument ?n . ?n rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2006195
P136
Q151885
USER
Which concept is the genre for that person ?
(Q5994,P136,c(Q151885))
action filter_type
action find
entity Q2006195
relation P136
type Q151885
['Q5994', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q151885 . resource:Q2006195 property:P136 ?z }
Yitzhak Yedid
action filter_type
action find
entity Yitzhak Yedid
relation genre
type concept
['piano', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:concept . resource:Yitzhak_Yedid property:genre ?z }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q5994,P136,c(Q151885))
action filter_type
action find
entity Q2006195
relation P136
type Q151885
[ANSWER] is the genre for that person
['Q5994', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q151885 . resource:Q2006195 property:P136 ?z }
jazz
Jazz is the genre for that person
jazz
action filter_type
action find
entity Yitzhak Yedid
relation genre
type concept
['piano', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:concept . resource:Yitzhak_Yedid property:genre ?z }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1808154 Q2006195
P136
Q151885
USER
Or Laurent Wéry?
OR((Q2006195,P136,c(Q151885)), (Q1808154,P136,c(Q151885)))
action filter_type
action union
action find
entity Q2006195
relation P136
action find
entity Q1808154
relation P136
type Q151885
{'OR': [['Q2006195', 'P136', {'concept': 'Q151885'}], ['Q1808154', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1808154 property:P136 ?q } UNION { resource:Q2006195 property:P136 ?q } } . ?q rdf:type ontology:Q151885 }
Laurent Wéry Yitzhak Yedid
action filter_type
action union
action find
entity Yitzhak Yedid
relation genre
action find
entity Laurent Wéry
relation genre
type concept
{'OR': [['Yitzhak Yedid', 'genre', {'concept': 'concept'}], ['Laurent Wéry', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Laurent_Wéry property:genre ?q } UNION { resource:Yitzhak_Yedid property:genre ?q } } . ?q rdf:type ontology:concept }
[]
concept
Q8341 Q851213
SYSTEM
jazz, electronic dance music
Q8341 Q851213
OR((Q2006195,P136,c(Q151885)), (Q1808154,P136,c(Q151885)))
action filter_type
action union
action find
entity Q2006195
relation P136
action find
entity Q1808154
relation P136
type Q151885
[ANSWERS]
{'OR': [['Q2006195', 'P136', {'concept': 'Q151885'}], ['Q1808154', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1808154 property:P136 ?q } UNION { resource:Q2006195 property:P136 ?q } } . ?q rdf:type ontology:Q151885 }
jazz electronic dance music
jazz electronic dance music
action filter_type
action union
action find
entity Yitzhak Yedid
relation genre
action find
entity Laurent Wéry
relation genre
type concept
{'OR': [['Yitzhak Yedid', 'genre', {'concept': 'concept'}], ['Laurent Wéry', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Laurent_Wéry property:genre ?q } UNION { resource:Yitzhak_Yedid property:genre ?q } } . ?q rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1808154
P106
Q12737077
USER
What is the job of Laurent Wéry ?
(Q8341,P106,c(Q12737077)) (Q851213,P106,c(Q12737077))
action filter_type
action find
entity Q1808154
relation P106
type Q12737077
['Q8341', 'P106', {'concept': 'Q12737077'}] ['Q851213', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1808154 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Laurent Wéry
action filter_type
action find
entity Laurent Wéry
relation occupation
type occupation
['jazz', 'occupation', {'concept': 'occupation'}] ['electronic dance music', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Laurent_Wéry property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q130857
SYSTEM
disc jockey
Q130857
(Q8341,P106,c(Q12737077)) (Q851213,P106,c(Q12737077))
action filter_type
action find
entity Q1808154
relation P106
type Q12737077
The job of Laurent Wéry is a [ANSWER]
['Q8341', 'P106', {'concept': 'Q12737077'}] ['Q851213', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1808154 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
disc jockey
The job of Laurent Wéry is a disc jockey
disc jockey
action filter_type
action find
entity Laurent Wéry
relation occupation
type occupation
['jazz', 'occupation', {'concept': 'occupation'}] ['electronic dance music', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Laurent_Wéry property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1808154
P175
Q2031291
USER
Which releases gave the performance of that person ?
(c(Q2031291),P175,Q130857)
action filter_type
action find_reverse
entity Q1808154
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q130857']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2031291 . ?i property:P175 resource:Q1808154 }
Laurent Wéry
action filter_type
action find_reverse
entity Laurent Wéry
relation performer
type release
[{'concept': 'release'}, 'performer', 'disc jockey']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:release . ?i property:performer resource:Laurent_Wéry }
[]
release
Q23065 Q5553867 Q6946438
SYSTEM
Hey Hey Hey (Pop Another Bottle), Get Down, My Sound
Q5553867 Q6946438 Q6675274 Q23065 Q5966292 Q7406349 Q7300684
(c(Q2031291),P175,Q130857)
action filter_type
action find_reverse
entity Q1808154
relation P175
type Q2031291
[ANSWERS]
[{'concept': 'Q2031291'}, 'P175', 'Q130857']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2031291 . ?i property:P175 resource:Q1808154 }
Get Down My Sound Looking At Me Hey Hey Hey (Pop Another Bottle) I'm Going In Salva Mea Ready for the Night
Hey Hey (Pop Another Bottle), Get Down and My Sound gave the performance of that person
Hey Hey Hey (Pop Another Bottle) Get Down My Sound
action filter_type
action find_reverse
entity Laurent Wéry
relation performer
type release
[{'concept': 'release'}, 'performer', 'disc jockey']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:release . ?i property:performer resource:Laurent_Wéry }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q511074 Q1808154
P175
Q2031291
USER
Or Dr. John?
OR((c(Q2031291),P175,Q1808154), (c(Q2031291),P175,Q511074))
action filter_type
action union
action find_reverse
entity Q1808154
relation P175
action find_reverse
entity Q511074
relation P175
type Q2031291
{'OR': [[{'concept': 'Q2031291'}, 'P175', 'Q1808154'], [{'concept': 'Q2031291'}, 'P175', 'Q511074']]}
SELECT DISTINCT ?r WHERE { { { ?r property:P175 resource:Q1808154 } UNION { ?r property:P175 resource:Q511074 } } . ?r rdf:type ontology:Q2031291 }
Dr. John Laurent Wéry
action filter_type
action union
action find_reverse
entity Laurent Wéry
relation performer
action find_reverse
entity Dr. John
relation performer
type release
{'OR': [[{'concept': 'release'}, 'performer', 'Laurent Wéry'], [{'concept': 'release'}, 'performer', 'Dr. John']]}
SELECT DISTINCT ?r WHERE { { { ?r property:performer resource:Laurent_Wéry } UNION { ?r property:performer resource:Dr._John } } . ?r rdf:type ontology:release }
[]
release
Q7696942 Q7311600 Q5312762 Q4838492 Q23065 Q3494496 Q7406349 Q6011479 Q18163847 Q5553867
SYSTEM
Some of them are Television, Remedies, Duke Elegant, Babylon, Hey Hey Hey (Pop Another Bottle), Locked Down, Salva Mea, In a Sentimental Mood, Ske-Dat-De-Dat: The Spirit of Satch, Get Down
Q5553867 Q7696942 Q18163847 Q6946438 Q5264536 Q8074880 Q5977774 Q45710 Q5312762 Q6675274 Q7406349 Q7311600 Q7683104 Q7767305 Q5304188 Q7300684 Q4838492 Q5123268 Q23065 Q5966292 Q6011479 Q5577664 Q3494496
OR((c(Q2031291),P175,Q1808154), (c(Q2031291),P175,Q511074))
action filter_type
action union
action find_reverse
entity Q1808154
relation P175
action find_reverse
entity Q511074
relation P175
type Q2031291
[ANSWERS]
{'OR': [[{'concept': 'Q2031291'}, 'P175', 'Q1808154'], [{'concept': 'Q2031291'}, 'P175', 'Q511074']]}
SELECT DISTINCT ?r WHERE { { { ?r property:P175 resource:Q1808154 } UNION { ?r property:P175 resource:Q511074 } } . ?r rdf:type ontology:Q2031291 }
Get Down Television Ske-Dat-De-Dat: The Spirit of Satch My Sound Desitively Bonnaroo ZuZu Man In the Right Place Gris-Gris Duke Elegant Looking At Me Salva Mea Remedies Tango Palace The Sun, Moon & Herbs Dr. John's Gumbo Ready for the Night Babylon City Lights Hey Hey Hey (Pop Another Bottle) I'm Going In In a Sentimental Mood Goin' Back to New Orleans Locked Down
Television Remedies Duke Elegant Babylon Hey Hey Hey (Pop Another Bottle) Locked Down Salva Mea In a Sentimental Mood Ske-Dat-De-Dat: The Spirit of Satch Get Down
action filter_type
action union
action find_reverse
entity Laurent Wéry
relation performer
action find_reverse
entity Dr. John
relation performer
type release
{'OR': [[{'concept': 'release'}, 'performer', 'Laurent Wéry'], [{'concept': 'release'}, 'performer', 'Dr. John']]}
SELECT DISTINCT ?r WHERE { { { ?r property:performer resource:Laurent_Wéry } UNION { ?r property:performer resource:Dr._John } } . ?r rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q511074
P161
Q15416 Q838948
USER
How many television programs and works of art do Dr. John star in ?
(c(Q15416),P161,Q511074) (c(Q838948),P161,Q511074)
action count
action union
action filter_type
action find_reverse
entity Q511074
relation P161
type Q15416
action filter_type
action find_reverse
entity Q511074
relation P161
type Q838948
[{'concept': 'Q15416'}, 'P161', 'Q511074'] [{'concept': 'Q838948'}, 'P161', 'Q511074']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f rdf:type ontology:Q15416 . ?f property:P161 resource:Q511074 } UNION { ?f property:P161 resource:Q511074 . ?f rdf:type ontology:Q838948 } }
Dr. John
action count
action union
action filter_type
action find_reverse
entity Dr. John
relation cast member
type television program
action filter_type
action find_reverse
entity Dr. John
relation cast member
type work of art
[{'concept': 'television program'}, 'cast member', 'Dr. John'] [{'concept': 'work of art'}, 'cast member', 'Dr. John']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f rdf:type ontology:television_program . ?f property:cast_member resource:Dr._John } UNION { ?f property:cast_member resource:Dr._John . ?f rdf:type ontology:work_of_art } }
[]
television program work of art
SYSTEM
1 television programs and 1 works of art
Q21686679 Q3382188
(c(Q15416),P161,Q511074) (c(Q838948),P161,Q511074)
action count
action union
action filter_type
action find_reverse
entity Q511074
relation P161
type Q15416
action filter_type
action find_reverse
entity Q511074
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q511074'] [{'concept': 'Q838948'}, 'P161', 'Q511074']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f rdf:type ontology:Q15416 . ?f property:P161 resource:Q511074 } UNION { ?f property:P161 resource:Q511074 . ?f rdf:type ontology:Q838948 } }
B.B. King: The Life of Riley Piano Blues
1 television programs and 1 works of art
action count
action union
action filter_type
action find_reverse
entity Dr. John
relation cast member
type television program
action filter_type
action find_reverse
entity Dr. John
relation cast member
type work of art
[{'concept': 'television program'}, 'cast member', 'Dr. John'] [{'concept': 'work of art'}, 'cast member', 'Dr. John']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f rdf:type ontology:television_program . ?f property:cast_member resource:Dr._John } UNION { ?f property:cast_member resource:Dr._John . ?f rdf:type ontology:work_of_art } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q511074
P162
Q2031291
USER
Which release has been developed by that person ?
action filter_type
action find_reverse
entity Q511074
relation P162
type Q2031291
SELECT DISTINCT ?x WHERE { ?x property:P162 resource:Q511074 . ?x rdf:type ontology:Q2031291 }
Dr. John
action filter_type
action find_reverse
entity Dr. John
relation producer
type release
SELECT DISTINCT ?x WHERE { ?x property:producer resource:Dr._John . ?x rdf:type ontology:release }
[]
release
Q7782768
SYSTEM
There Must Be a Better World Somewhere
Q7782768
action filter_type
action find_reverse
entity Q511074
relation P162
type Q2031291
There must Be a Better World Somewhere has been developed by that person
SELECT DISTINCT ?x WHERE { ?x property:P162 resource:Q511074 . ?x rdf:type ontology:Q2031291 }
There Must Be a Better World Somewhere
There must Be a Better World Somewhere has been developed by that person
There Must Be a Better World Somewhere
action filter_type
action find_reverse
entity Dr. John
relation producer
type release
SELECT DISTINCT ?x WHERE { ?x property:producer resource:Dr._John . ?x rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q511074
P86
Q838948
USER
Which works of art are composed by that person ?
(c(Q838948),P86,Q7782768)
action filter_type
action find_reverse
entity Q511074
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q7782768']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P86 resource:Q511074 }
Dr. John
action filter_type
action find_reverse
entity Dr. John
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'There Must Be a Better World Somewhere']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:composer resource:Dr._John }
[]
work of art
Q5151739 Q1925168
SYSTEM
Comic Book Confidential, Candy Mountain
Q5151739 Q1925168
(c(Q838948),P86,Q7782768)
action filter_type
action find_reverse
entity Q511074
relation P86
type Q838948
[ANSWERS] are composed by that person
[{'concept': 'Q838948'}, 'P86', 'Q7782768']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P86 resource:Q511074 }
Comic Book Confidential Candy Mountain
Comic Book Confidential and Candy Mountain are composed by that person
Comic Book Confidential Candy Mountain
action filter_type
action find_reverse
entity Dr. John
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'There Must Be a Better World Somewhere']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:composer resource:Dr._John }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2221906 Q486972 Q2031291
USER
How many releases are named after atmost 1 geographic locations or human settlements ?
(c(Q2031291),P138,c(Q2221906)|c(Q486972))
action count
action atmost
action union
action find_tuple_counts
relation P138
type Q2031291
type Q2221906
action find_tuple_counts
relation P138
type Q2031291
type Q486972
value 1
[{'concept': 'Q2031291'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?i ) WHERE { { ?g property:P138 ?q . ?q rdf:type ontology:Q2221906 . ?g rdf:type ontology:Q2031291 } UNION { ?g property:P138 ?q . ?g rdf:type ontology:Q2031291 . ?q rdf:type ontology:Q486972 } } GROUP BY ?g } . FILTER ( ?i <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation named after
type release
type geographic location
action find_tuple_counts
relation named after
type release
type human settlement
value 1
[{'concept': 'release'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?i ) WHERE { { ?g property:named_after ?q . ?q rdf:type ontology:geographic_location . ?g rdf:type ontology:release } UNION { ?g property:named_after ?q . ?g rdf:type ontology:release . ?q rdf:type ontology:human_settlement } } GROUP BY ?g } . FILTER ( ?i <= 1 ) }
[]
geographic location human settlement release
SYSTEM
109
Q18668276 Q2490613 Q22690274 Q20988110 Q19858 Q11865376 Q6686023 Q11743771 Q11884852 Q21893638 Q19847630 Q5978789 Q6375877 Q11229672 Q16958271 Q3428917 Q3605621 Q902572 Q11268427 Q3360641 Q938951 Q7560185 Q2328141 Q15406872 Q3341407 Q13518367 Q1753847 Q3905305 Q25713856 Q17061602 Q3437749 Q569856 Q6698582 Q214139 Q3052448 Q6698455 Q251309 Q1155719 Q1792838 Q684280 Q2498611 Q10268851 Q6698224 Q4857730 Q173643 Q7715886 Q3305923 Q11972434 Q5417504 Q11870397 Q22683058 Q2563202 Q1721506 Q5419352 Q779923 Q25511121 Q492804 Q16954003 Q6698332 Q1753261 Q740161 Q6785481 Q10320388 Q4043244 Q15867296 Q1753076 Q5485835 Q897752 Q2367412 Q1166204 Q277833 Q6304661 Q3489827 Q1648283 Q17508644 Q826146 Q6698151 Q6698153 Q7731072 Q6412126 Q1779491 Q4740276 Q7030231 Q7750286 Q3758929 Q5016483 Q1558281 Q7757221 Q1753009 Q4544588 Q1492288 Q6698146 Q2679334 Q6698148 Q1426301 Q217211 Q1940923 Q10478012 Q6917260 Q11229671 Q15728910 Q7761229 Q2924855 Q2940115 Q3319798 Q17544686 Q6198842 Q2281671 Q1038922
(c(Q2031291),P138,c(Q2221906)|c(Q486972))
action count
action atmost
action union
action find_tuple_counts
relation P138
type Q2031291
type Q2221906
action find_tuple_counts
relation P138
type Q2031291
type Q486972
value 1
[ANSWER]
[{'concept': 'Q2031291'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?i ) WHERE { { ?g property:P138 ?q . ?q rdf:type ontology:Q2221906 . ?g rdf:type ontology:Q2031291 } UNION { ?g property:P138 ?q . ?g rdf:type ontology:Q2031291 . ?q rdf:type ontology:Q486972 } } GROUP BY ?g } . FILTER ( ?i <= 1 ) }
Endless Forms Most Beautiful (album) Jimmy Figgatta de Blanc Deepthroat Revolution Meteora Ivalo Loudon Wainwright III Korova Milky Bar Nummela DiscoDildo Surpat' chez Léo Ferré I Remember Clifford Kate and Anna McGarrigle Lucy Love - Winter Season - Trouble: The Jamie Saft Trio Plays Bob Dylan Deià...Vu The 59th Street Bridge Song The Times They Are a-Changin' Saraba Haiseikō Paisley Park Gaudi Something Wicked This Way Comes One Tree Hill Les Perches du Nil Night on Bald Mountain Mercedes-Dance Something Wicked This Way Comes Pinocchio Vari-Colored Songs: A Tribute to Langston Hughes Natalie Merchant Rock Drill Dylan Lucy Woodward Is...Hot and Bothered Morrison Hotel Watarasebashi Lucy Pearl Bob Dylan De Stijl Waterloo Sunset Shot of Love Geidi Primes Du ringde från Flen Lucy Brown Baptized in Blood Abbey Road The Battle of Sealand Highway 61 Revisited Gram Per Person Every Grain of Sand: Barb Jungr Sings Bob Dylan Katra Vincere l'odio Rue des cascades Kairos Excalibur New Jersey Rosetta Kara Best 2007–2010 Muhammad Ali Lucy Gray Saved John Wesley Harding Masters of War Lucy Lucy New Eyes New Morning Inari Excalibur Twin Sons of Different Mothers La Grange A-Lex Judy in Disguise Something Wicked This Way Comes David Bowie Pe'ahi Curtis Lucy Lucy The Drowning of Lucy Hamilton King Tut Sunday Bloody Sunday Amarillo Ramp (For Robert Smithson) Nicole and Natalie The March of Brian Boru Gaudí Cadillac Ranch Hier kommt Alex The Pinocchio Theory David Bowie (Do You Wanna Date My) Avatar Pinocchio Lucy & Carly – The Simon Sisters Sing for Children Siberia Lucy Wuthering Heights Highway 61 Revisited NATO Dylan Mother-in-Law Lucy Love - Season II - Chantilly Lace The Roches Brian Boru Carpal Tunnel Syndrome Mon Pinocchio - Babar To Your Scattered Bodies Go Jim Webb Sings Jim Webb Rufus Wainwright The Wake of Magellan
109
action count
action atmost
action union
action find_tuple_counts
relation named after
type release
type geographic location
action find_tuple_counts
relation named after
type release
type human settlement
value 1
[{'concept': 'release'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?i ) WHERE { { ?g property:named_after ?q . ?q rdf:type ontology:geographic_location . ?g rdf:type ontology:release } UNION { ?g property:named_after ?q . ?g rdf:type ontology:release . ?q rdf:type ontology:human_settlement } } GROUP BY ?g } . FILTER ( ?i <= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4752749 Q7696942
P161 P175
Q502895
USER
Which people were staged by Television or are in Shakti ?
OR((Q7696942,P175,c(Q502895)), (Q4752749,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7696942
relation P175
action find
entity Q4752749
relation P161
type Q502895
{'OR': [['Q7696942', 'P175', {'concept': 'Q502895'}], ['Q4752749', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q7696942 property:P175 ?j } UNION { resource:Q4752749 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
Shakti Television
action filter_type
action union
action find
entity Television
relation performer
action find
entity Shakti
relation cast member
type common name
{'OR': [['Television', 'performer', {'concept': 'common name'}], ['Shakti', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Television property:performer ?j } UNION { resource:Shakti property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]
common name
Q677439 Q333443 Q313956 Q511074 Q377789 Q3196775 Q9570 Q467960
SYSTEM
Kulbhushan Kharbanda, Amrish Puri, Anil Kapoor, Dr. John, Dilip Kumar, Rakhee Gulzar, Amitabh Bachchan, Smita Patil
Q677439 Q333443 Q313956 Q511074 Q377789 Q3196775 Q9570 Q467960
OR((Q7696942,P175,c(Q502895)), (Q4752749,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7696942
relation P175
action find
entity Q4752749
relation P161
type Q502895
[ANSWERS] were staged by Television or are in Shakti
{'OR': [['Q7696942', 'P175', {'concept': 'Q502895'}], ['Q4752749', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q7696942 property:P175 ?j } UNION { resource:Q4752749 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
Kulbhushan Kharbanda Amrish Puri Anil Kapoor Dr. John Dilip Kumar Rakhee Gulzar Amitabh Bachchan Smita Patil
Kulbhushan Kharbanda, Amrish Puri, Anil Kapoor, Dr. John, Dilip Kumar, Rakhee Gulzar, Amitabh Bachchan and Smita Patil were staged by Television or are in Shakti
Kulbhushan Kharbanda Amrish Puri Anil Kapoor Dr. John Dilip Kumar Rakhee Gulzar Amitabh Bachchan Smita Patil
action filter_type
action union
action find
entity Television
relation performer
action find
entity Shakti
relation cast member
type common name
{'OR': [['Television', 'performer', {'concept': 'common name'}], ['Shakti', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Television property:performer ?j } UNION { resource:Shakti property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7782768
P264
Q334453
USER
Who sponsored the recoding of There Must Be a Better World Somewhere ?
(Q7782768,P264,c(Q334453))
action filter_type
action find
entity Q7782768
relation P264
type Q334453
['Q7782768', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q7782768 property:P264 ?a . ?a rdf:type ontology:Q334453 }
There Must Be a Better World Somewhere
action filter_type
action find
entity There Must Be a Better World Somewhere
relation record label
type division
['There Must Be a Better World Somewhere', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:There_Must_Be_a_Better_World_Somewhere property:record_label ?a . ?a rdf:type ontology:division }
[]
division
Q304509
SYSTEM
MCA Inc.
Q304509
(Q7782768,P264,c(Q334453))
action filter_type
action find
entity Q7782768
relation P264
type Q334453
[ANSWER] sponsored the recoding of There Must Be a Better World Somewhere
['Q7782768', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q7782768 property:P264 ?a . ?a rdf:type ontology:Q334453 }
MCA Inc.
MCA Inc. sponsored the recoding of There Must Be a Better World Somewhere
MCA Inc.
action filter_type
action find
entity There Must Be a Better World Somewhere
relation record label
type division
['There Must Be a Better World Somewhere', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:There_Must_Be_a_Better_World_Somewhere property:record_label ?a . ?a rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7782768
P407
Q34770
USER
Which language is that release composed in ?
(Q304509,P407,c(Q34770))
action filter_type
action find
entity Q7782768
relation P407
type Q34770
['Q304509', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q7782768 property:P407 ?f . ?f rdf:type ontology:Q34770 }
There Must Be a Better World Somewhere
action filter_type
action find
entity There Must Be a Better World Somewhere
relation language of work or name
type language
['MCA Inc.', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:There_Must_Be_a_Better_World_Somewhere property:language_of_work_or_name ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q304509,P407,c(Q34770))
action filter_type
action find
entity Q7782768
relation P407
type Q34770
That release is composed for [ANSWER]
['Q304509', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q7782768 property:P407 ?f . ?f rdf:type ontology:Q34770 }
English
That release is composed for English
English
action filter_type
action find
entity There Must Be a Better World Somewhere
relation language of work or name
type language
['MCA Inc.', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:There_Must_Be_a_Better_World_Somewhere property:language_of_work_or_name ?f . ?f rdf:type ontology:language }
[]