Query a SPARQL endpoint using JENA JAVA API, Programming Languages

program the following exercises using JAVA and JENA API:
SPARQL endpoint to be queried: http://services.data.gov.uk/education/sparql
QUERY:
What are the school’s names that belong to the “local authority district” 00AA?
ANSWER:
PREFIX sch-ont: <http://education.data.gov.uk/def/school/>
SELECT
?name WHERE {
?school a sch-ont:School.
?school sch-ont:establishmentName ?name.
?school sch-ont:districtAdministrative <http://statistics.data.gov.uk/id/local-authority-district/00AA>.
}

The
previous code is in SPARQL.Make a JAVA application that displays the answer in the console.
Eclipse SDK Version: 4.2.0

Posted Date: 9/28/2012 6:12:18 AM | Location : United States







Related Discussions:- Query a SPARQL endpoint using JENA JAVA API, Assignment Help, Ask Question on Query a SPARQL endpoint using JENA JAVA API, Get Answer, Expert's Help, Query a SPARQL endpoint using JENA JAVA API Discussions

Write discussion on Query a SPARQL endpoint using JENA JAVA API
Your posts are moderated
Related Questions
The standard way for debuggers to plant interactive breakpoints in a program in RAM (whatever the processor instruction set) is to save the break pointed instruction and replace it

want to do an image-mean. but image is and mean is so an error showing Error using ==> minus Number of array dimensions must match for binary array op. wat to do?

This is Python program I am stuck Modify the Russian peasant multiplication mod n function from class to perform "Russian peasant exponentiation" instead. You can assume that you

Consider the following schema (DTD) and sample instance document: name    ID      #REQUIRED spouse  IDREF   #IMPLIED job     CDATA   #IMPLIED > ]>

(a) Write a procedure called (lookup n t). This procedure has 2 arguments: n is the value being looked up, t is the AVL tree. The subtree with n as its root is returned (or '() if

Using os.walk, write a script that will print the filenames of zero length files. It should also print the count of zero length files.

A deterministic finite automaton (DFA) is an abstract machine that reads input from a serial (nonreversible) stream and changes between a finite number of  states according to the

In analytical geometry, a convex polygon can be represented by the Cartesian coordinates of its vertices, x and y. Assume such data of a polygon are stored in a file called "vertic

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

how to store multidimensional array in a single column in mysql database using MATLAB?