Submitted by Leigh Dodds on 25th July 2011
This query returns the URI, code and name for all organizations associated with a specific Primary Care Trust. The query is written to allow the PCT to be identified by its unique code, rather than its URI.
Query:
PREFIX nhs: <http://data.kasabi.com/dataset/nhs-organization/def/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?org ?code ?name WHERE {
?org org:identifier ?code;
rdfs:label ?name;
nhs:primaryCareTrust ?trust.
?trust org:identifier "5E1"^^nhs:odsCode.
}
| Dataset | NHS Organization |
|---|---|
| Created By | Leigh Dodds |
| Published | 2011-07-25 13:37 |