+ Post New Thread
Results 1 to 2 of 2
Web Development Thread, SPARQL - Anybody seen any good online tutorials? in Coding and Web Development; The title pretty much says it all. I've found a few tutorials dotted around online but they all seem a ...
  1. #1

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,771
    Thank Post
    1,511
    Thanked 1,294 Times in 884 Posts
    Rep Power
    813

    SPARQL - Anybody seen any good online tutorials?

    The title pretty much says it all. I've found a few tutorials dotted around online but they all seem a bit vague and too specific to their example data sets.

    Background: our SEN department need to identify students out of borough, so the plan is to knock a SIMS report (Excel/VBA) together that will do a lookup on the OS Linked Data SPARQL API to find the borough for each post code. I know all the data is there because I can easily browse it via their website but as this needs to be run against over 300 post codes, I'd really like to pull this information via the aforementioned API

  2. #2

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,771
    Thank Post
    1,511
    Thanked 1,294 Times in 884 Posts
    Rep Power
    813
    Well I'm still getting my head around SPARQL and RDF, but I did at least manage to work out the solution to my particular problem:

    Code:
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX postcode: <http://data.ordnancesurvey.co.uk/ontology/postcode/>
    
    SELECT DISTINCT ?district ?name
    WHERE {
    
    ?postcode rdfs:label "MK3 6EB" ;
     postcode:district ?district .
    ?district rdfs:label ?name  .
    }
    Found this to be a good jumping off point: Tech: A Crash Course in SPARQL

    All sorted now, still want to pursue SPARQL further though, could come in very handy in the future...



SHARE:
+ Post New Thread

Similar Threads

  1. AV / Multimedia Cabinet suppliers for schools - Anybody know any good ones...?
    By DocHouse in forum West Midlands Regional Broadband Consortium (WMnet)
    Replies: 3
    Last Post: 11th July 2012, 09:54 PM
  2. Replies: 0
    Last Post: 20th April 2010, 02:34 PM
  3. Curriculum Vitae - Any good advice?
    By tarquel in forum Educational IT Jobs
    Replies: 42
    Last Post: 5th January 2010, 09:59 PM
  4. OKI 3200 Colour Laser Printers. Any good?
    By CM786 in forum Hardware
    Replies: 9
    Last Post: 28th April 2006, 01:26 PM
  5. Anyone know of any good software usage logging software?
    By ninjabeaver in forum Educational Software
    Replies: 15
    Last Post: 28th November 2005, 02:26 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •