Simple Question (Direct)
Simple Question
Q5207084
P19
Q56061
USER
Which administrative territory was D Fuse born in ?
(Q5207084,P19,c(Q56061))
action filter_type
action find
entity Q5207084
relation P19
type Q56061
['Q5207084', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q5207084 property:P19 ?w . ?w rdf:type ontology:Q56061 }
D Fuse
action filter_type
action find
entity D Fuse
relation place of birth
type administrative territorial entity
['D Fuse', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:D_Fuse property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16555
SYSTEM
Houston
Q16555
(Q5207084,P19,c(Q56061))
action filter_type
action find
entity Q5207084
relation P19
type Q56061
D Fuse was born in [ANSWER]
['Q5207084', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q5207084 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Houston
D Fuse was born in Houston
Houston
action filter_type
action find
entity D Fuse
relation place of birth
type administrative territorial entity
['D Fuse', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:D_Fuse property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5207084
P264
Q334453
USER
Which division is the record brand of that person ?
(Q16555,P264,c(Q334453))
action filter_type
action find
entity Q5207084
relation P264
type Q334453
['Q16555', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?x WHERE { resource:Q5207084 property:P264 ?x . ?x rdf:type ontology:Q334453 }
D Fuse
action filter_type
action find
entity D Fuse
relation record label
type division
['Houston', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?x WHERE { resource:D_Fuse property:record_label ?x . ?x rdf:type ontology:division }
[]
division
Q1653030
SYSTEM
Perfecto Records
Q1653030
(Q16555,P264,c(Q334453))
action filter_type
action find
entity Q5207084
relation P264
type Q334453
[ANSWER] is the record brand of that person
['Q16555', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?x WHERE { resource:Q5207084 property:P264 ?x . ?x rdf:type ontology:Q334453 }
Perfecto Records
Perfecto Records is the record brand of that person
Perfecto Records
action filter_type
action find
entity D Fuse
relation record label
type division
['Houston', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?x WHERE { resource:D_Fuse property:record_label ?x . ?x rdf:type ontology:division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1328605
P355
Q334453 Q334453
USER
Which divisions contains lesser number of divisions as their subordinate than King Records ?
(c(Q334453),P355,c(Q334453))
action less
action find_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q1328605
relation P355
type Q334453
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?h ) WHERE { ?v property:P355 ?c . ?v rdf:type ontology:Q334453 . ?c rdf:type ontology:Q334453 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q1328605 property:P355 ?e . ?e rdf:type ontology:Q334453 } } . FILTER ( ?h < ?g ) }
King Records
action less
action find_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity King Records
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?h ) WHERE { ?v property:subsidiary ?c . ?v rdf:type ontology:division . ?c rdf:type ontology:division } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:King_Records property:subsidiary ?e . ?e rdf:type ontology:division } } . FILTER ( ?h < ?g ) }
[]
division division
Q202585 Q483938 Q557632
SYSTEM
RCA Records, S.M. Entertainment, Decca Records
Q1238400 Q700359 Q1064327 Q557632 Q483938 Q843402 Q933025 Q1988428 Q1533331 Q202585 Q1205595
(c(Q334453),P355,c(Q334453))
action less
action find_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q1328605
relation P355
type Q334453
[ANSWERS] contain lesser number of divisions as their subordinate than King Records
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?h ) WHERE { ?v property:P355 ?c . ?v rdf:type ontology:Q334453 . ?c rdf:type ontology:Q334453 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q1328605 property:P355 ?e . ?e rdf:type ontology:Q334453 } } . FILTER ( ?h < ?g ) }
Domino Recording Company PolyGram Johnny & Associates Decca Records S.M. Entertainment Warner Bros. Records Windham Hill Records Avex Trax Go! Discs RCA Records NBCUniversal Entertainment Japan
RCA Records, S.M. Entertainment and Decca Records contain lesser number of divisions as their subordinate than King Records
RCA Records S.M. Entertainment Decca Records
action less
action find_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity King Records
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?h ) WHERE { ?v property:subsidiary ?c . ?v rdf:type ontology:division . ?c rdf:type ontology:division } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:King_Records property:subsidiary ?e . ?e rdf:type ontology:division } } . FILTER ( ?h < ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1551705
P355
Q334453 Q334453
USER
And how about Modern Records?
(c(Q334453),P355,c(Q334453))
action less
action find_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q1551705
relation P355
type Q334453
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q1551705 property:P355 ?o . ?o rdf:type ontology:Q334453 } } . FILTER ( ?j < ?a ) . { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?j ) WHERE { ?i property:P355 ?k . ?i rdf:type ontology:Q334453 . ?k rdf:type ontology:Q334453 } GROUP BY ?i } }
Modern Records
action less
action find_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity Modern Records
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Modern_Records property:subsidiary ?o . ?o rdf:type ontology:division } } . FILTER ( ?j < ?a ) . { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?j ) WHERE { ?i property:subsidiary ?k . ?i rdf:type ontology:division . ?k rdf:type ontology:division } GROUP BY ?i } }
[]
division division
Q202585 Q732503 Q483938
SYSTEM
RCA Records, Sony Music Entertainment Japan, S.M. Entertainment
Q1238400 Q700359 Q1064327 Q557632 Q483938 Q843402 Q1328605 Q933025 Q1988428 Q1533331 Q202585 Q732503 Q1205595
(c(Q334453),P355,c(Q334453))
action less
action find_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q1551705
relation P355
type Q334453
[ANSWERS]
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q1551705 property:P355 ?o . ?o rdf:type ontology:Q334453 } } . FILTER ( ?j < ?a ) . { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?j ) WHERE { ?i property:P355 ?k . ?i rdf:type ontology:Q334453 . ?k rdf:type ontology:Q334453 } GROUP BY ?i } }
Domino Recording Company PolyGram Johnny & Associates Decca Records S.M. Entertainment Warner Bros. Records King Records Windham Hill Records Avex Trax Go! Discs RCA Records Sony Music Entertainment Japan NBCUniversal Entertainment Japan
RCA Records Sony Music Entertainment Japan S.M. Entertainment
action less
action find_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity Modern Records
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Modern_Records property:subsidiary ?o . ?o rdf:type ontology:division } } . FILTER ( ?j < ?a ) . { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?j ) WHERE { ?i property:subsidiary ?k . ?i rdf:type ontology:division . ?k rdf:type ontology:division } GROUP BY ?i } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q483938
P272
Q482994
USER
Which album was released from the production company named that division ?
(c(Q482994),P272,Q483938)
action filter_type
action find_reverse
entity Q483938
relation P272
type Q482994
[{'concept': 'Q482994'}, 'P272', 'Q483938']
SELECT DISTINCT ?c WHERE { ?c property:P272 resource:Q483938 . ?c rdf:type ontology:Q482994 }
S.M. Entertainment
action filter_type
action find_reverse
entity S.M. Entertainment
relation production company
type album
[{'concept': 'album'}, 'production company', 'S.M. Entertainment']
SELECT DISTINCT ?c WHERE { ?c property:production_company resource:S.M._Entertainment . ?c rdf:type ontology:album }
[]
album
Clarification for simple ques.
Q202585
SYSTEM
Did you mean RCA Records ?
Q202585 Q732503 Q483938
(c(Q482994),P272,Q202585) (c(Q482994),P272,Q732503) (c(Q482994),P272,Q483938)
[ANSWER]
[{'concept': 'Q482994'}, 'P272', 'Q202585'] [{'concept': 'Q482994'}, 'P272', 'Q732503'] [{'concept': 'Q482994'}, 'P272', 'Q483938']
SELECT DISTINCT ?c WHERE { ?c property:P272 resource:Q483938 . ?c rdf:type ontology:Q482994 }
RCA Records Sony Music Entertainment Japan S.M. Entertainment
Did you mean RCA Records ?
RCA Records
[{'concept': 'album'}, 'production company', 'RCA Records'] [{'concept': 'album'}, 'production company', 'Sony Music Entertainment Japan'] [{'concept': 'album'}, 'production company', 'S.M. Entertainment']
SELECT DISTINCT ?c WHERE { ?c property:production_company resource:S.M._Entertainment . ?c rdf:type ontology:album }
[]
Simple Question (Coreferenced)
USER
No, I meant S.M. Entertainment. Could you tell me the answer for that?
(c(Q482994),P272,Q483938)
Q483938
[{'concept': 'Q482994'}, 'P272', 'Q483938']
[{'concept': 'album'}, 'production company', 'S.M. Entertainment']
[]
Q3284921
SYSTEM
All About Girls' Generation: Paradise in Phuket
Q3284921
(c(Q482994),P272,Q483938)
action filter_type
action find_reverse
entity Q483938
relation P272
type Q482994
[ANSWER] was released from the production company named that division
[{'concept': 'Q482994'}, 'P272', 'Q483938']
SELECT DISTINCT ?c WHERE { ?c property:P272 resource:Q483938 . ?c rdf:type ontology:Q482994 }
All About Girls' Generation: Paradise in Phuket
All About Girls' Generation: Paradise in Phuket was released from the production company named that division
All About Girls' Generation: Paradise in Phuket
action filter_type
action find_reverse
entity S.M. Entertainment
relation production company
type album
[{'concept': 'album'}, 'production company', 'S.M. Entertainment']
SELECT DISTINCT ?c WHERE { ?c property:production_company resource:S.M._Entertainment . ?c rdf:type ontology:album }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q482994 Q7725634
USER
How many literary works are a portion of approximately 1 album ?
(c(Q7725634),P361,c(Q482994))
action count
action approx
action find_tuple_counts
relation P361
type Q7725634
type Q482994
value 1
[{'concept': 'Q7725634'}, 'P361', {'concept': 'Q482994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?h ) WHERE { ?f property:P361 ?t . ?f rdf:type ontology:Q7725634 . ?t rdf:type ontology:Q482994 } GROUP BY ?f } . FILTER ( ?h = 1 ) }
action count
action approx
action find_tuple_counts
relation part of
type literary work
type album
value 1
[{'concept': 'literary work'}, 'part of', {'concept': 'album'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?h ) WHERE { ?f property:part_of ?t . ?f rdf:type ontology:literary_work . ?t rdf:type ontology:album } GROUP BY ?f } . FILTER ( ?h = 1 ) }
[]
album literary work
SYSTEM
113
Q22975445 Q3429472 Q17118679 Q1646614 Q17146911 Q17146910 Q5967259 Q589793 Q15924979 Q380825 Q7716467 Q27661575 Q22259695 Q22257495 Q18702139 Q27134142 Q7711036 Q6529877 Q1110226 Q5185522 Q858015 Q18636032 Q18030426 Q18635765 Q23647136 Q12005915 Q16164193 Q18154911 Q22257805 Q22972528 Q21694618 Q21203631 Q5707471 Q10483490 Q17146900 Q17022868 Q17146902 Q19058665 Q19193694 Q3908584 Q17146904 Q26764060 Q17146905 Q2419715 Q3154724 Q17150181 Q3366906 Q2930303 Q16930604 Q15295227 Q16994228 Q22971898 Q1125620 Q19926330 Q17146899 Q1058125 Q22972519 Q19158918 Q1407276 Q16251165 Q27660414 Q6690237 Q16238542 Q2734098 Q7848166 Q1031911 Q21480350 Q16158616 Q17299960 Q17146908 Q17146901 Q27044536 Q27145067 Q5148130 Q1921383 Q2028257 Q15924985 Q24000864 Q848923 Q18635963 Q5275773 Q17146903 Q15927749 Q16057816 Q15279409 Q17146907 Q4883586 Q313351 Q3485347 Q10540608 Q20800508 Q7637248 Q27661842 Q6946221 Q17151398 Q23853630 Q17150707 Q15832799 Q3119769 Q17146906 Q17299877 Q24856431 Q542497 Q20018023 Q4050180 Q27686311 Q2299769 Q5899099 Q3369702 Q2257959 Q27837182 Q23013730 Q17093258
(c(Q7725634),P361,c(Q482994))
action count
action approx
action find_tuple_counts
relation P361
type Q7725634
type Q482994
value 1
[ANSWER]
[{'concept': 'Q7725634'}, 'P361', {'concept': 'Q482994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?h ) WHERE { ?f property:P361 ?t . ?f rdf:type ontology:Q7725634 . ?t rdf:type ontology:Q482994 } GROUP BY ?f } . FILTER ( ?h = 1 ) }
Boyz With Fun With a Smile and a Song Never Smile at a Crocodile Hakuna Matata Dame Nature Belle bénévole I've Got No Strings A Dream Is a Wish Your Heart Makes Metal & Dust Thriller The Bells of Notre Dame Can You Feel the Love Tonight Mr. Blue Sky Inner Beauty Feeling Myself Once Upon a Dream That's What Friends Are For Les Poissons Kiss the Girl Criminal Be Prepared All Things Go New New York Savages Rare The Siamese Cat Song Not In Nottingham The Court of Miracles Let It Go Skit: One Night In A Strange City What Made the Red Man Red? Wild Hellfire The Second Star to the Right Omniprésent Sex Exotique ! I'm a Ruin (I) Get Lost Poor Unfortunate Souls Nos traces sur la plage Side to Side Ta maman m'amadoue Absolutely Sweet Marie Isaac Gaston Part of Your World Be Our Guest Pills N Potions Wasting My Young Years God Help the Outcasts Intro: Never Mind I Wan'na Be Like You The Deer's Cry Serpents et échelles I'm Gonna Be Alright Skit: Expectation! Devil Pray Hung Up Heigh-Ho Circle of Life Love Alice in Wonderland When You Wish upon a Star Trust in Me Can You Feel the Love Tonight My House Just Around the Riverbend Heaven's Light Sors de mon corps Au pays de la liberté Gangsta (Kehlani song) Cruella de Vil Colonel Hathi's March Music Colors of the Wind Strong Epilogue: Young Forever Bibbidi-Bobbidi-Boo Fathoms Below Digital Quelles sont les chances Drunk Last Night A Guy Like You Instant Crush La danse du drapeau Belle Frozen Sister Disco John Sinclair Hold Tight Summer I Just Can't Wait to Be King My Own Home The Madness of King Scar Let Me Love You The Mob Song Love is a Song Under the Sea Mambo métissé Fixer Upper Save ME Like a Virgin Once Upon a Time in New York City Still Colors of the Wind Stars Hope The Silly Song I Just Can't Wait to Be King God Help the Outcasts Misery Something There
113
action count
action approx
action find_tuple_counts
relation part of
type literary work
type album
value 1
[{'concept': 'literary work'}, 'part of', {'concept': 'album'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?h ) WHERE { ?f property:part_of ?t . ?f rdf:type ontology:literary_work . ?t rdf:type ontology:album } GROUP BY ?f } . FILTER ( ?h = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q732503
P272
Q838948
USER
Which works of art were produced by Sony Music Entertainment Japan ?
(c(Q838948),P272,Q732503)
action filter_type
action find_reverse
entity Q732503
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q732503']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P272 resource:Q732503 }
Sony Music Entertainment Japan
action filter_type
action find_reverse
entity Sony Music Entertainment Japan
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Sony Music Entertainment Japan']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:production_company resource:Sony_Music_Entertainment_Japan }
[]
work of art
Q2617315 Q2467977
SYSTEM
Paradise Kiss, Tekken: The Motion Picture
Q2617315 Q2467977
(c(Q838948),P272,Q732503)
action filter_type
action find_reverse
entity Q732503
relation P272
type Q838948
Respectively [ANSWERS] were produced by Sony Music Entertainment Japan
[{'concept': 'Q838948'}, 'P272', 'Q732503']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P272 resource:Q732503 }
Paradise Kiss Tekken: The Motion Picture
Respectively Paradise Kiss and Tekken: The Motion Picture were produced by Sony Music Entertainment Japan
Paradise Kiss Tekken: The Motion Picture
action filter_type
action find_reverse
entity Sony Music Entertainment Japan
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Sony Music Entertainment Japan']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:production_company resource:Sony_Music_Entertainment_Japan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q202585
P127
Q334453
USER
Which division owned RCA Records ?
(Q202585,P127,c(Q334453))
action filter_type
action find
entity Q202585
relation P127
type Q334453
['Q202585', 'P127', {'concept': 'Q334453'}]
SELECT DISTINCT ?z WHERE { resource:Q202585 property:P127 ?z . ?z rdf:type ontology:Q334453 }
RCA Records
action filter_type
action find
entity RCA Records
relation owned by
type division
['RCA Records', 'owned by', {'concept': 'division'}]
SELECT DISTINCT ?z WHERE { resource:RCA_Records property:owned_by ?z . ?z rdf:type ontology:division }
[]
division
Q330629
SYSTEM
Sony Music Entertainment
Q330629
(Q202585,P127,c(Q334453))
action filter_type
action find
entity Q202585
relation P127
type Q334453
[ANSWER] owned RCA Records
['Q202585', 'P127', {'concept': 'Q334453'}]
SELECT DISTINCT ?z WHERE { resource:Q202585 property:P127 ?z . ?z rdf:type ontology:Q334453 }
Sony Music Entertainment
Sony Music Entertainment owned RCA Records
Sony Music Entertainment
action filter_type
action find
entity RCA Records
relation owned by
type division
['RCA Records', 'owned by', {'concept': 'division'}]
SELECT DISTINCT ?z WHERE { resource:RCA_Records property:owned_by ?z . ?z rdf:type ontology:division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P749
Q4830453 Q43229 Q334453
USER
How many divisions are atmost 1 business enterprises or organizations a parent organization of ?
(c(Q334453),P749,c(Q4830453)|c(Q43229))
action count
action atmost
action union
action find_tuple_counts
relation P749
type Q334453
type Q4830453
action find_tuple_counts
relation P749
type Q334453
type Q43229
value 1
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?m rdf:type ?c } GROUP BY ?j } . FILTER ( ?h <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation parent organization
type division
type business enterprise
action find_tuple_counts
relation parent organization
type division
type organization
value 1
[{'concept': 'division'}, 'parent organization', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?m rdf:type ?c } GROUP BY ?j } . FILTER ( ?h <= 1 ) }
[]
business enterprise organization division
SYSTEM
102
Q21130152 Q5920003 Q304509 Q726251 Q190585 Q3244698 Q216364 Q231694 Q560841 Q183387 Q8194176 Q5359782 Q770103 Q3415299 Q645889 Q27037164 Q23018517 Q22829081 Q9170958 Q16994576 Q4836116 Q1988428 Q202440 Q13221666 Q11890138 Q1072828 Q2358400 Q18636329 Q11231809 Q5574527 Q3933535 Q3746620 Q10350938 Q10851326 Q772402 Q126543 Q2085119 Q1328605 Q820156 Q21029768 Q13636506 Q1070152 Q213710 Q1088453 Q10831860 Q1123266 Q2338889 Q513712 Q193023 Q7937485 Q1154245 Q1142456 Q654283 Q5757199 Q8194234 Q11190580 Q11190583 Q11190585 Q4828438 Q21402649 Q1124061 Q3868643 Q11190579 Q2907358 Q2733913 Q54860 Q732503 Q3233924 Q13489420 Q17211910 Q1046066 Q14944631 Q2402958 Q25172715 Q2265719 Q7225366 Q4796656 Q26261236 Q3113687 Q1202628 Q165711 Q20723082 Q7027790 Q1124849 Q1849138 Q330629 Q2749562 Q8210440 Q22126104 Q8210443 Q1062659 Q27670061 Q1205595 Q373246 Q203059 Q585643 Q2047343 Q656752 Q8210438 Q18628 Q1465200 Q21077
(c(Q334453),P749,c(Q4830453)|c(Q43229))
action count
action atmost
action union
action find_tuple_counts
relation P749
type Q334453
type Q4830453
action find_tuple_counts
relation P749
type Q334453
type Q43229
value 1
[ANSWER]
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?m rdf:type ?c } GROUP BY ?j } . FILTER ( ?h <= 1 ) }
RCA Italy You, Be Cool! MCA Inc. Elektra Records Island Records Sony Music Latin Epic Records Interscope Records Brain Records Columbia Records Starchild Eleven Thirty Records Bertelsmann Music Group RPM Records Reprise Records Ear Music SPRS Wall Recordings EMI Music Poland GRT Records BNA Records Avex Trax Atlantic Records Double Six Records Ratas Music Group Ki/oon Music Legacy Recordings PolyGram Polska MOB SQUAD Go! Beat Records Restless Records Flip Records Polygram do Brasil KMP Holdings Wave Master Trojan Records Nothing Records King Records Meteor Records Spinnin' Deep Flashback Records Young Money Entertainment Apple Records Chrysalis Records Warner Music Finland Enigma Records MCA Records Pony Canyon Capitol Records Viva Records Rhythm Zone GOOD Music Def Jam Recordings High Street Records Universal Music Japan Avex Club Avex Entertainment Avex Ideak Avex Taiwan HSQRecords Concord Records Musical Freedom Avex-Classics Bluesville Records Deram Records Walt Disney Records Sony Music Entertainment Japan CBS Records Universal Music Hong Kong Sistus Records Fueled By Ramen EMI Records Japan Temple Records Ministry of Sound Australia I.R.S. Records East Asia Music ArtPeople 105 Music Hut Records Victor Entertainment Sire Records Universal Music France Nick Records Verve Records Nonesuch Records Sony Music Entertainment EmArcy Records Avex Mode Evil Line Records Avex Tune Lantis PolyGram Records, Inc. NBCUniversal Entertainment Japan Eagle Records Virgin Records Atco Records Flair Records Rykodisc Avex Globe Roadrunner Records Peaceville Records Warner Music Group
102
action count
action atmost
action union
action find_tuple_counts
relation parent organization
type division
type business enterprise
action find_tuple_counts
relation parent organization
type division
type organization
value 1
[{'concept': 'division'}, 'parent organization', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?m rdf:type ?c } GROUP BY ?j } . FILTER ( ?h <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q330629
P750
Q838948
USER
Who have Sony Music Entertainment as their distributor ?
(c(Q838948),P750,Q330629)
action filter_type
action find_reverse
entity Q330629
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q330629']
SELECT DISTINCT ?r WHERE { ?r property:P750 resource:Q330629 . ?r rdf:type ontology:Q838948 }
Sony Music Entertainment
action filter_type
action find_reverse
entity Sony Music Entertainment
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Sony Music Entertainment']
SELECT DISTINCT ?r WHERE { ?r property:distributor resource:Sony_Music_Entertainment . ?r rdf:type ontology:work_of_art }
[]
work of art
Q6015510 Q903541 Q7852451
SYSTEM
Incubus HQ Live, Delicate Sound of Thunder, Tum Mile
Q6015510 Q903541 Q7852451
(c(Q838948),P750,Q330629)
action filter_type
action find_reverse
entity Q330629
relation P750
type Q838948
[ANSWERS] have Sony Music Entertainment as their distributor
[{'concept': 'Q838948'}, 'P750', 'Q330629']
SELECT DISTINCT ?r WHERE { ?r property:P750 resource:Q330629 . ?r rdf:type ontology:Q838948 }
Incubus HQ Live Delicate Sound of Thunder Tum Mile
Incubus HQ Live, Delicate Sound of Thunder and Tum Mile have Sony Music Entertainment as their distributor
Incubus HQ Live Delicate Sound of Thunder Tum Mile
action filter_type
action find_reverse
entity Sony Music Entertainment
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Sony Music Entertainment']
SELECT DISTINCT ?r WHERE { ?r property:distributor resource:Sony_Music_Entertainment . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q330629
P123
Q482994
USER
Which albums were issued by Sony Music Entertainment ?
(c(Q482994),P123,Q330629)
action filter_type
action find_reverse
entity Q330629
relation P123
type Q482994
[{'concept': 'Q482994'}, 'P123', 'Q330629']
SELECT DISTINCT ?i WHERE { ?i property:P123 resource:Q330629 . ?i rdf:type ontology:Q482994 }
Sony Music Entertainment
action filter_type
action find_reverse
entity Sony Music Entertainment
relation publisher
type album
[{'concept': 'album'}, 'publisher', 'Sony Music Entertainment']
SELECT DISTINCT ?i WHERE { ?i property:publisher resource:Sony_Music_Entertainment . ?i rdf:type ontology:album }
[]
album
Q13370742 Q167848
SYSTEM
Recto Verso, Zaz
Q13370742 Q167848
(c(Q482994),P123,Q330629)
action filter_type
action find_reverse
entity Q330629
relation P123
type Q482994
Records [ANSWERS] were issued by Sony Music Entertainment
[{'concept': 'Q482994'}, 'P123', 'Q330629']
SELECT DISTINCT ?i WHERE { ?i property:P123 resource:Q330629 . ?i rdf:type ontology:Q482994 }
Recto Verso Zaz
Records Recto Verso and Zaz were issued by Sony Music Entertainment
Recto Verso Zaz
action filter_type
action find_reverse
entity Sony Music Entertainment
relation publisher
type album
[{'concept': 'album'}, 'publisher', 'Sony Music Entertainment']
SELECT DISTINCT ?i WHERE { ?i property:publisher resource:Sony_Music_Entertainment . ?i rdf:type ontology:album }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16555
P190
Q56061
USER
Which administrative territories are sister town of Houston ?
(c(Q56061),P190,Q16555)
action filter_type
action find_reverse
entity Q16555
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q16555']
SELECT DISTINCT ?s WHERE { ?s property:P190 resource:Q16555 . ?s rdf:type ontology:Q56061 }
Houston
action filter_type
action find_reverse
entity Houston
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Houston']
SELECT DISTINCT ?s WHERE { ?s property:sister_city resource:Houston . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q406 Q1867 Q1489
SYSTEM
Istanbul, Taipei, Mexico City
Q3897 Q36405 Q25416 Q12246 Q1489 Q816845 Q9248 Q406 Q43509 Q1867 Q85 Q5815
(c(Q56061),P190,Q16555)
action filter_type
action find_reverse
entity Q16555
relation P190
type Q56061
[ANSWERS] are sister town of Houston
[{'concept': 'Q56061'}, 'P190', 'Q16555']
SELECT DISTINCT ?s WHERE { ?s property:P190 resource:Q16555 . ?s rdf:type ontology:Q56061 }
Luanda Aberdeen Stavanger Huelva Mexico City Irapuato Baku Istanbul Guayaquil Taipei Cairo Tyumen
Istanbul, Taipei and Mexico City are sister town of Houston
Istanbul Taipei Mexico City
action filter_type
action find_reverse
entity Houston
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Houston']
SELECT DISTINCT ?s WHERE { ?s property:sister_city resource:Houston . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q406 Q1867 Q1489
P190
Q13220204
USER
Which administrative country subdivisions are sister towns of those administrative territories ?
(Q406,P190,c(Q13220204)) (Q1867,P190,c(Q13220204)) (Q1489,P190,c(Q13220204))
action filter_type
action find
entity prev_answer
relation P190
type Q13220204
['Q406', 'P190', {'concept': 'Q13220204'}] ['Q1867', 'P190', {'concept': 'Q13220204'}] ['Q1489', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q13220204 . VALUES ( ?w ) { ( resource:Q3897 ) ( resource:Q36405 ) ( resource:Q25416 ) } . ?w property:P190 ?q }
Istanbul Taipei Mexico City
action filter_type
action find
entity prev_answer
relation sister city
type second-level administrative country subdivision
['Istanbul', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Taipei', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Mexico City', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:second-level_administrative_country_subdivision . VALUES ( ?w ) { ( resource:Luanda ) ( resource:Aberdeen ) ( resource:Stavanger ) } . ?w property:sister_city ?q }
[]
second-level administrative country subdivision
Q9899 Q7903 Q2933
SYSTEM
Amsterdam, Casablanca, Asunción
Q9899 Q7903 Q2933 Q43595 Q2841
(Q406,P190,c(Q13220204)) (Q1867,P190,c(Q13220204)) (Q1489,P190,c(Q13220204))
action filter_type
action find
entity prev_answer
relation P190
type Q13220204
[ANSWERS] are sister towns of those administrative territories
['Q406', 'P190', {'concept': 'Q13220204'}] ['Q1867', 'P190', {'concept': 'Q13220204'}] ['Q1489', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q13220204 . VALUES ( ?w ) { ( resource:Q3897 ) ( resource:Q36405 ) ( resource:Q25416 ) } . ?w property:P190 ?q }
Amsterdam Casablanca Asunción Cotonou Bogotá
Amsterdam, Casablanca and Asunción are sister towns of those administrative territories
Amsterdam Casablanca Asunción
action filter_type
action find
entity prev_answer
relation sister city
type second-level administrative country subdivision
['Istanbul', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Taipei', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Mexico City', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:second-level_administrative_country_subdivision . VALUES ( ?w ) { ( resource:Luanda ) ( resource:Aberdeen ) ( resource:Stavanger ) } . ?w property:sister_city ?q }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9899 Q7903 Q2933
P190
Q56061
USER
Which administrative territories are twin cities of Amsterdam, Casablanca and Asunción ?
(Q9899,P190,c(Q56061)) (Q7903,P190,c(Q56061)) (Q2933,P190,c(Q56061))
action union
action filter_type
action find
entity Q9899
relation P190
type Q56061
action filter_type
action find
entity Q7903
relation P190
type Q56061
action filter_type
action find
entity Q2933
relation P190
type Q56061
['Q9899', 'P190', {'concept': 'Q56061'}] ['Q7903', 'P190', {'concept': 'Q56061'}] ['Q2933', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q56061 . resource:Q9899 property:P190 ?l } UNION { resource:Q7903 property:P190 ?l . ?l rdf:type ontology:Q56061 } }
Amsterdam Casablanca Asunción
action union
action filter_type
action find
entity Amsterdam
relation sister city
type administrative territorial entity
action filter_type
action find
entity Casablanca
relation sister city
type administrative territorial entity
action filter_type
action find
entity Asunción
relation sister city
type administrative territorial entity
['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}] ['Casablanca', 'sister city', {'concept': 'administrative territorial entity'}] ['Asunción', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:administrative_territorial_entity . resource:Amsterdam property:sister_city ?l } UNION { resource:Casablanca property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q18125 Q649 Q3274 Q824594 Q3856 Q1524 Q1748 Q33935 Q84 Q406 Q24639 Q172 Q239 Q956 Q65 Q1085 Q8686 Q1297 Q1479 Q340 Q1524 Q126148 Q193445 Q3630 Q3561 Q87 Q85 Q406 Q8678 Q597 Q1490 Q214173 Q174 Q518431 Q34820 Q3561 Q2807 Q1867 Q52535 Q4361 Q44206 Q44059
(Q9899,P190,c(Q56061)) (Q7903,P190,c(Q56061)) (Q2933,P190,c(Q56061))
action union
action filter_type
action find
entity Q9899
relation P190
type Q56061
action filter_type
action find
entity Q7903
relation P190
type Q56061
action filter_type
action find
entity Q2933
relation P190
type Q56061
[ANSWERS] are twin cities of Amsterdam, Casablanca and Asunción
['Q9899', 'P190', {'concept': 'Q56061'}] ['Q7903', 'P190', {'concept': 'Q56061'}] ['Q2933', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q56061 . resource:Q9899 property:P190 ?l } UNION { resource:Q7903 property:P190 ?l . ?l rdf:type ontology:Q56061 } }
Manchester Moscow Managua Nador Nicosia Athens Copenhagen Tel Aviv London Istanbul Vancouver Toronto Brussels Beijing Los Angeles Prague Shanghai Chicago Bordeaux Montreal Athens Tangier Artvin Jakarta Algiers Alexandria Cairo Istanbul Rio de Janeiro Lisbon Tokyo Trujillo São Paulo Chimbote Santo Domingo Algiers Madrid Taipei Rosario Curitiba Resistencia La Plata
Prague, Moscow and Madrid are twin cities of Amsterdam, Casablanca and Asunción
Prague Moscow Madrid
action union
action filter_type
action find
entity Amsterdam
relation sister city
type administrative territorial entity
action filter_type
action find
entity Casablanca
relation sister city
type administrative territorial entity
action filter_type
action find
entity Asunción
relation sister city
type administrative territorial entity
['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}] ['Casablanca', 'sister city', {'concept': 'administrative territorial entity'}] ['Asunción', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:administrative_territorial_entity . resource:Amsterdam property:sister_city ?l } UNION { resource:Casablanca property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity } }
[]