Simple Question (Direct)
Simple Question
Q268615
P264
Q334453
USER
Which division sponsored the recording of Warda Al-Jazairia ?
(Q268615,P264,c(Q334453))
action filter_type
action find
entity Q268615
relation P264
type Q334453
['Q268615', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q268615 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Warda Al-Jazairia
action filter_type
action find
entity Warda Al-Jazairia
relation record label
type division
['Warda Al-Jazairia', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Warda_Al-Jazairia property:record_label ?v . ?v rdf:type ontology:division }
[]
division
Q183412
SYSTEM
EMI
Q183412
(Q268615,P264,c(Q334453))
action filter_type
action find
entity Q268615
relation P264
type Q334453
[ANSWER] sponsored the recording of Warda Al-Jazairia
['Q268615', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q268615 property:P264 ?v . ?v rdf:type ontology:Q334453 }
EMI
EMI sponsored the recording of Warda Al-Jazairia
EMI
action filter_type
action find
entity Warda Al-Jazairia
relation record label
type division
['Warda Al-Jazairia', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Warda_Al-Jazairia property:record_label ?v . ?v rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q268615
P172
Q2472587
USER
Which ethnic group does that person belong ?
(Q183412,P172,c(Q2472587))
action filter_type
action find
entity Q268615
relation P172
type Q2472587
['Q183412', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?b WHERE { resource:Q268615 property:P172 ?b . ?b rdf:type ontology:Q2472587 }
Warda Al-Jazairia
action filter_type
action find
entity Warda Al-Jazairia
relation ethnic group
type people
['EMI', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?b WHERE { resource:Warda_Al-Jazairia property:ethnic_group ?b . ?b rdf:type ontology:people }
[]
people
Q35323
SYSTEM
Arab
Q35323
(Q183412,P172,c(Q2472587))
action filter_type
action find
entity Q268615
relation P172
type Q2472587
That person belongs to [ANSWER]
['Q183412', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?b WHERE { resource:Q268615 property:P172 ?b . ?b rdf:type ontology:Q2472587 }
Arab
That person belongs to Arab
Arab
action filter_type
action find
entity Warda Al-Jazairia
relation ethnic group
type people
['EMI', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?b WHERE { resource:Warda_Al-Jazairia property:ethnic_group ?b . ?b rdf:type ontology:people }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q20978620
P159
Q13220204 Q515 Q334453
USER
Which divisions have HQ at more number of administrative country subdivisions and cities than The Fried Music ?
(c(Q334453),P159,c(Q13220204)|c(Q515))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q13220204
action find_tuple_counts
relation P159
type Q334453
type Q515
action count
action filter_multi_types
action find
entity Q20978620
relation P159
type Q13220204
type Q515
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?d WHERE { { ?v rdf:type ontology:Q13220204 . ?d rdf:type ontology:Q334453 . ?d property:P159 ?v } UNION { ?d property:P159 ?v . ?v rdf:type ontology:Q515 . ?d rdf:type ontology:Q334453 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q20978620 property:P159 ?m . { { ?m rdf:type ontology:Q13220204 } UNION { ?m rdf:type ontology:Q515 } } } } . FILTER ( ?e > ?n ) }
The Fried Music
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type second-level administrative country subdivision
action find_tuple_counts
relation headquarters location
type division
type city
action count
action filter_multi_types
action find
entity The Fried Music
relation headquarters location
type second-level administrative country subdivision
type city
[{'concept': 'division'}, 'headquarters location', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?d WHERE { { ?v rdf:type ontology:second-level_administrative_country_subdivision . ?d rdf:type ontology:division . ?d property:headquarters_location ?v } UNION { ?d property:headquarters_location ?v . ?v rdf:type ontology:city . ?d rdf:type ontology:division } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:The_Fried_Music property:headquarters_location ?m . { { ?m rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?m rdf:type ontology:city } } } } . FILTER ( ?e > ?n ) }
[]
second-level administrative country subdivision city division
Q2067985 Q484449 Q1718083
SYSTEM
Pelham Power Productions, Cube Entertainment, K-tel
Q845506 Q13424955 Q116184 Q16842305 Q6003306 Q5593921 Q1548644 Q1094430 Q10856910 Q3206859 Q4958352 Q1081874 Q12045341 Q489428 Q4992261 Q1744506 Q496608 Q6094434 Q16161254 Q2347683 Q1099094 Q12599305 Q50596 Q700115 Q16950144 Q3179416 Q16465976 Q5715080 Q1718083 Q896202 Q355175 Q484449 Q10851326 Q815803 Q322738 Q491998 Q21554828 Q571385 Q11986060 Q1425832 Q1322935 Q323976 Q255363 Q1758109 Q2626519 Q2421252 Q2067985 Q1742077 Q7226103 Q605512 Q12040326 Q483971
(c(Q334453),P159,c(Q13220204)|c(Q515))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q13220204
action find_tuple_counts
relation P159
type Q334453
type Q515
action count
action filter_multi_types
action find
entity Q20978620
relation P159
type Q13220204
type Q515
[ANSWERS] have HQ at more number of administrative country subdivisions and cities than The Fried Music
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?d WHERE { { ?v rdf:type ontology:Q13220204 . ?d rdf:type ontology:Q334453 . ?d property:P159 ?v } UNION { ?d property:P159 ?v . ?v rdf:type ontology:Q515 . ?d rdf:type ontology:Q334453 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q20978620 property:P159 ?m . { { ?m rdf:type ontology:Q13220204 } UNION { ?m rdf:type ontology:Q515 } } } } . FILTER ( ?e > ?n ) }
Electrecord Fantagio Displeased Records Hayat Production Imani Entertainment Gramofon Season of Mist Jugoton X Production Star Empire Entertainment Brave Entertainment Slip-n-Slide Records Piper Records DSP Media Microphone Records Mo' Wax J. Tune Entertainment Quemasucabeza Big Hit Entertainment Indies Records Aquarius Records Brand New Music S.M. Culture and Contents Label Woolim Lifeforce Records Slow Roast Records MediaPro Music NH Media Azione Artigianale K-tel Bozz Music Adeline Records Cube Entertainment KMP Holdings Bellaphon Records Cocoon Recordings TS Entertainment Plan A Entertainment Mille Plateaux FT Records G7 Welcoming Committee Records Genuin Raster-Noton Starship Entertainment Saddle Creek Records Diskoton Thinner Pelham Power Productions King Records PolyEast Records Maybach Music Group Naga Productions CJ E&M Music and Live
Pelham Power Productions, Cube Entertainment and K-tel have HQ at more number of administrative country subdivisions and cities than The Fried Music
Pelham Power Productions Cube Entertainment K-tel
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type second-level administrative country subdivision
action find_tuple_counts
relation headquarters location
type division
type city
action count
action filter_multi_types
action find
entity The Fried Music
relation headquarters location
type second-level administrative country subdivision
type city
[{'concept': 'division'}, 'headquarters location', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?d WHERE { { ?v rdf:type ontology:second-level_administrative_country_subdivision . ?d rdf:type ontology:division . ?d property:headquarters_location ?v } UNION { ?d property:headquarters_location ?v . ?v rdf:type ontology:city . ?d rdf:type ontology:division } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:The_Fried_Music property:headquarters_location ?m . { { ?m rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?m rdf:type ontology:city } } } } . FILTER ( ?e > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3001888
P159
Q13220204 Q515 Q334453
USER
And also tell me about Sony BMG?
(c(Q334453),P159,c(Q13220204)|c(Q515))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q13220204
action find_tuple_counts
relation P159
type Q334453
type Q515
action count
action filter_multi_types
action find
entity Q3001888
relation P159
type Q13220204
type Q515
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q3001888 property:P159 ?b . { VALUES ( ?m ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } . ?b rdf:type ?m } } } . FILTER ( ?z > ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?r WHERE { { ?r property:P159 ?e . ?r rdf:type ontology:Q334453 . ?e rdf:type ontology:Q13220204 } UNION { ?r property:P159 ?e . ?e rdf:type ontology:Q515 . ?r rdf:type ontology:Q334453 } } GROUP BY ?r } }
Sony BMG
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type second-level administrative country subdivision
action find_tuple_counts
relation headquarters location
type division
type city
action count
action filter_multi_types
action find
entity Sony BMG
relation headquarters location
type second-level administrative country subdivision
type city
[{'concept': 'division'}, 'headquarters location', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Sony_BMG property:headquarters_location ?b . { VALUES ( ?m ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } . ?b rdf:type ?m } } } . FILTER ( ?z > ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?r WHERE { { ?r property:headquarters_location ?e . ?r rdf:type ontology:division . ?e rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?r property:headquarters_location ?e . ?e rdf:type ontology:city . ?r rdf:type ontology:division } } GROUP BY ?r } }
[]
second-level administrative country subdivision city division
Q2067985 Q484449 Q1718083
SYSTEM
Pelham Power Productions, Cube Entertainment, K-tel
Q845506 Q13424955 Q116184 Q16842305 Q6003306 Q5593921 Q1548644 Q1094430 Q10856910 Q3206859 Q4958352 Q1081874 Q12045341 Q489428 Q4992261 Q1744506 Q496608 Q6094434 Q16161254 Q2347683 Q1099094 Q12599305 Q50596 Q700115 Q16950144 Q3179416 Q16465976 Q5715080 Q1718083 Q896202 Q355175 Q484449 Q10851326 Q815803 Q322738 Q491998 Q21554828 Q571385 Q11986060 Q1425832 Q1322935 Q323976 Q255363 Q1758109 Q2626519 Q2421252 Q2067985 Q1742077 Q7226103 Q605512 Q12040326 Q483971
(c(Q334453),P159,c(Q13220204)|c(Q515))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q13220204
action find_tuple_counts
relation P159
type Q334453
type Q515
action count
action filter_multi_types
action find
entity Q3001888
relation P159
type Q13220204
type Q515
[ANSWERS]
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q3001888 property:P159 ?b . { VALUES ( ?m ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } . ?b rdf:type ?m } } } . FILTER ( ?z > ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?r WHERE { { ?r property:P159 ?e . ?r rdf:type ontology:Q334453 . ?e rdf:type ontology:Q13220204 } UNION { ?r property:P159 ?e . ?e rdf:type ontology:Q515 . ?r rdf:type ontology:Q334453 } } GROUP BY ?r } }
Electrecord Fantagio Displeased Records Hayat Production Imani Entertainment Gramofon Season of Mist Jugoton X Production Star Empire Entertainment Brave Entertainment Slip-n-Slide Records Piper Records DSP Media Microphone Records Mo' Wax J. Tune Entertainment Quemasucabeza Big Hit Entertainment Indies Records Aquarius Records Brand New Music S.M. Culture and Contents Label Woolim Lifeforce Records Slow Roast Records MediaPro Music NH Media Azione Artigianale K-tel Bozz Music Adeline Records Cube Entertainment KMP Holdings Bellaphon Records Cocoon Recordings TS Entertainment Plan A Entertainment Mille Plateaux FT Records G7 Welcoming Committee Records Genuin Raster-Noton Starship Entertainment Saddle Creek Records Diskoton Thinner Pelham Power Productions King Records PolyEast Records Maybach Music Group Naga Productions CJ E&M Music and Live
Pelham Power Productions Cube Entertainment K-tel
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type second-level administrative country subdivision
action find_tuple_counts
relation headquarters location
type division
type city
action count
action filter_multi_types
action find
entity Sony BMG
relation headquarters location
type second-level administrative country subdivision
type city
[{'concept': 'division'}, 'headquarters location', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Sony_BMG property:headquarters_location ?b . { VALUES ( ?m ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } . ?b rdf:type ?m } } } . FILTER ( ?z > ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?r WHERE { { ?r property:headquarters_location ?e . ?r rdf:type ontology:division . ?e rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?r property:headquarters_location ?e . ?e rdf:type ontology:city . ?r rdf:type ontology:division } } GROUP BY ?r } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1416
Q334453 Q502895
USER
Which divisions are more number of people affiliated to than that division ?
(c(Q502895),P1416,c(Q334453))
[{'concept': 'Q502895'}, 'P1416', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { ?z property:P1416 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3625329 }
[{'concept': 'common name'}, 'affiliation', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { ?z property:affiliation ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:division }
[]
division common name
Comparative|More/Less|Single entity type|Clarification
Q1718083
SYSTEM
Did you mean K-tel ?
(c(Q502895),P1416,c(Q334453))
[ANSWER]
[{'concept': 'Q502895'}, 'P1416', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { ?z property:P1416 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3625329 }
Did you mean K-tel ?
K-tel
[{'concept': 'common name'}, 'affiliation', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { ?z property:affiliation ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:division }
[]
Comparative Reasoning (All)
USER
No, I meant Cube Entertainment. Could you tell me the answer for that?
(c(Q502895),P1416,c(Q334453))
Q484449
[{'concept': 'Q502895'}, 'P1416', {'concept': 'Q334453'}]
[{'concept': 'common name'}, 'affiliation', {'concept': 'division'}]
[]
Q50595 Q483238 Q11233843
SYSTEM
YG Entertainment, JYP Entertainment, TOP Media
Q11233843 Q45282 Q50595 Q16161254 Q483238
(c(Q502895),P1416,c(Q334453))
[ANSWERS] are more number of people affiliated to than that division
[{'concept': 'Q502895'}, 'P1416', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { ?z property:P1416 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3625329 }
TOP Media Pledis Entertainment YG Entertainment Big Hit Entertainment JYP Entertainment
YG Entertainment, JYP Entertainment and TOP Media are more number of people affiliated to than that division
YG Entertainment JYP Entertainment TOP Media
[{'concept': 'common name'}, 'affiliation', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { ?z property:affiliation ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11233843
P740
Q15617994
USER
Which location did that division orginate in ?
(Q11233843,P740,c(Q15617994))
action filter_type
action find
entity Q11233843
relation P740
type Q15617994
['Q11233843', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q11233843 property:P740 ?l . ?l rdf:type ontology:Q15617994 }
TOP Media
action filter_type
action find
entity TOP Media
relation location of formation
type designation for an administrative territorial entity
['TOP Media', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:TOP_Media property:location_of_formation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q483238
SYSTEM
Did you mean JYP Entertainment ?
Q50595 Q483238 Q11233843
(Q50595,P740,c(Q15617994)) (Q483238,P740,c(Q15617994)) (Q11233843,P740,c(Q15617994))
[ANSWER]
['Q50595', 'P740', {'concept': 'Q15617994'}] ['Q483238', 'P740', {'concept': 'Q15617994'}] ['Q11233843', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q11233843 property:P740 ?l . ?l rdf:type ontology:Q15617994 }
YG Entertainment JYP Entertainment TOP Media
Did you mean JYP Entertainment ?
JYP Entertainment
['YG Entertainment', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['JYP Entertainment', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['TOP Media', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:TOP_Media property:location_of_formation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant TOP Media. Could you tell me the answer for that?
(Q11233843,P740,c(Q15617994))
Q11233843
['Q11233843', 'P740', {'concept': 'Q15617994'}]
['TOP Media', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
[]
Q884
SYSTEM
South Korea
Q884
(Q11233843,P740,c(Q15617994))
action filter_type
action find
entity Q11233843
relation P740
type Q15617994
That division orginated by [ANSWER]
['Q11233843', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q11233843 property:P740 ?l . ?l rdf:type ontology:Q15617994 }
South Korea
That division orginated by South Korea
South Korea
action filter_type
action find
entity TOP Media
relation location of formation
type designation for an administrative territorial entity
['TOP Media', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:TOP_Media property:location_of_formation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P749
Q43229 Q334453 Q334453
USER
Which divisions have min number of organizations or divisions as parent organization ?
(c(Q334453),P749,c(Q43229)|c(Q334453))
action argmin
action union
action find_tuple_counts
relation P749
type Q334453
type Q43229
action find_tuple_counts
relation P749
type Q334453
type Q334453
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q43229'}, {'concept': 'Q334453'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?b ) { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?q ) WHERE { { ?k property:P749 ?c . ?k rdf:type ontology:Q334453 . ?c rdf:type ontology:Q334453 } UNION { ?k property:P749 ?c . ?k rdf:type ontology:Q334453 . ?c rdf:type ontology:Q43229 } } GROUP BY ?k } } . { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?l ) WHERE { { ?z property:P749 ?u . ?z rdf:type ontology:Q334453 . ?u rdf:type ontology:Q43229 } UNION { ?z property:P749 ?u . ?z rdf:type ontology:Q334453 . ?u rdf:type ontology:Q334453 } } GROUP BY ?z } . FILTER ( ?l = ?b ) }
action argmin
action union
action find_tuple_counts
relation parent organization
type division
type organization
action find_tuple_counts
relation parent organization
type division
type division
[{'concept': 'division'}, 'parent organization', [{'concept': 'organization'}, {'concept': 'division'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?b ) { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?q ) WHERE { { ?k property:parent_organization ?c . ?k rdf:type ontology:division . ?c rdf:type ontology:division } UNION { ?k property:parent_organization ?c . ?k rdf:type ontology:division . ?c rdf:type ontology:organization } } GROUP BY ?k } } . { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?l ) WHERE { { ?z property:parent_organization ?u . ?z rdf:type ontology:division . ?u rdf:type ontology:organization } UNION { ?z property:parent_organization ?u . ?z rdf:type ontology:division . ?u rdf:type ontology:division } } GROUP BY ?z } . FILTER ( ?l = ?b ) }
[]
organization division division
Q27037164 Q193023 Q21402649
SYSTEM
Ear Music, Capitol Records, HSQRecords
Q304509 Q770103 Q27037164 Q16994576 Q11890138 Q3746620 Q772402 Q2085119 Q1070152 Q2338889 Q513712 Q193023 Q654283 Q8194234 Q21402649 Q54860 Q13489420 Q14944631 Q2265719 Q4796656 Q20723082 Q7027790 Q1124849 Q2749562 Q1205595 Q203059
(c(Q334453),P749,c(Q43229)|c(Q334453))
action argmin
action union
action find_tuple_counts
relation P749
type Q334453
type Q43229
action find_tuple_counts
relation P749
type Q334453
type Q334453
[ANSWERS] have min number of organizations or divisions as parent organization
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q43229'}, {'concept': 'Q334453'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?b ) { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?q ) WHERE { { ?k property:P749 ?c . ?k rdf:type ontology:Q334453 . ?c rdf:type ontology:Q334453 } UNION { ?k property:P749 ?c . ?k rdf:type ontology:Q334453 . ?c rdf:type ontology:Q43229 } } GROUP BY ?k } } . { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?l ) WHERE { { ?z property:P749 ?u . ?z rdf:type ontology:Q334453 . ?u rdf:type ontology:Q43229 } UNION { ?z property:P749 ?u . ?z rdf:type ontology:Q334453 . ?u rdf:type ontology:Q334453 } } GROUP BY ?z } . FILTER ( ?l = ?b ) }
MCA Inc. Bertelsmann Music Group Ear Music GRT Records Ratas Music Group Flip Records Wave Master Nothing Records Young Money Entertainment MCA Records Pony Canyon Capitol Records Def Jam Recordings Universal Music Japan HSQRecords Walt Disney Records Universal Music Hong Kong EMI Records Japan I.R.S. Records ArtPeople Universal Music France Nick Records Verve Records EmArcy Records NBCUniversal Entertainment Japan Virgin Records
Ear Music, Capitol Records and HSQRecords have min number of organizations or divisions as parent organization
Ear Music Capitol Records HSQRecords
action argmin
action union
action find_tuple_counts
relation parent organization
type division
type organization
action find_tuple_counts
relation parent organization
type division
type division
[{'concept': 'division'}, 'parent organization', [{'concept': 'organization'}, {'concept': 'division'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?b ) { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?q ) WHERE { { ?k property:parent_organization ?c . ?k rdf:type ontology:division . ?c rdf:type ontology:division } UNION { ?k property:parent_organization ?c . ?k rdf:type ontology:division . ?c rdf:type ontology:organization } } GROUP BY ?k } } . { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?l ) WHERE { { ?z property:parent_organization ?u . ?z rdf:type ontology:division . ?u rdf:type ontology:organization } UNION { ?z property:parent_organization ?u . ?z rdf:type ontology:division . ?u rdf:type ontology:division } } GROUP BY ?z } . FILTER ( ?l = ?b ) }
[]