Submitted by Leigh Dodds on 25th July 2011
This query lists the name and code for all UK Primary Care Trusts. The query can be easily amended to select a different type of resource, e.g. nhs:CareTrust, nhs:AcuteTrust, nhs:Dispensary, etc.
Query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX nhs: <http://data.kasabi.com/dataset/nhs-organization/def/>
PREFIX org: <http://www.w3.org/ns/org#>
SELECT ?code ?name WHERE {
?org a nhs:PrimaryCareTrust;
org:identifier ?code;
rdfs:label ?name.
}
ORDER BY ?code
| Dataset | NHS Organization |
|---|---|
| Created By | Leigh Dodds |
| Published | 2011-07-25 13:22 |