Last active
February 19, 2023 21:01
-
-
Save cosmin-marginean/057e5846e716ca2171db54129f31c47a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
PREFIX bods: <http://bods.openownership.org/vocabulary/> | |
PREFIX bodsr: <http://bods.openownership.org/resource/> | |
PREFIX cht: <http://www.companieshouse.gov.uk/terms/> | |
SELECT DISTINCT ?companyName ?commonSicCode (GROUP_CONCAT(DISTINCT ?sicText;SEPARATOR="; ") AS ?sicInfo) | |
WHERE { | |
?parent bods:ownsOrControls+ ?company . | |
?parent bods:ownsOrControls+ bodsr:openownership-register-13475426836689652051 . | |
?company foaf:name ?companyName . | |
?company cht:SicText ?sicText . | |
?company cht:SICCode ?commonSicCode . | |
bodsr:openownership-register-13475426836689652051 cht:SICCode ?commonSicCode . | |
FILTER (!sameTerm(?company, bodsr:openownership-register-13475426836689652051)) | |
} | |
GROUP BY ?companyName ?commonSicCode | |
ORDER BY ?companyName |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
companyName | commonSicCode | sicInfo | |
---|---|---|---|
BIFFA (CORBY) LIMITED | 38320 | 77390 - Renting and leasing of other machinery, equipment and tangible goods n.e.c.; 38320 - Recovery of sorted materials | |
BIFFA (EARLS BARTON) LIMITED | 38320 | 46900 - Non-specialised wholesale trade; 46770 - Wholesale of waste and scrap; 38320 - Recovery of sorted materials | |
BIFFA (WES) LIMITED | 38320 | 38320 - Recovery of sorted materials | |
BIFFA ENVIRONMENTAL MUNICIPAL SERVICES LIMITED | 38320 | 38110 - Collection of non-hazardous waste; 38320 - Recovery of sorted materials; 38120 - Collection of hazardous waste | |
BIFFA GS (FC) LIMITED | 38320 | 38110 - Collection of non-hazardous waste; 38320 - Recovery of sorted materials | |
BIFFA GS (LPP) LIMITED | 38320 | 38320 - Recovery of sorted materials | |
BIFFA GS ENVIRONMENTAL LIMITED | 38320 | 38320 - Recovery of sorted materials | |
SPECIALIST WASTE RECYCLING LIMITED | 38320 | 38320 - Recovery of sorted materials | |
SWRNEWSTAR LIMITED | 38320 | 38320 - Recovery of sorted materials | |
WEIR WASTE SERVICES LIMITED | 38320 | 38110 - Collection of non-hazardous waste; 38320 - Recovery of sorted materials; 38210 - Treatment and disposal of non-hazardous waste |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment