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
Explain the applet Element ? Applets are embedded in web pages by using the and tags. The APPLET element is same to the IMG element. Like IMG APPLET references a source fil

i''ve a problem with rendering a page with django templates

We next require taking a look at arithmetic involving matrices. We'll begin with addition and subtraction of two matrices. Therefore, assume that we have two n x m matrices, which

1. Write a program that reads a minimum of three command line arguments and displays the program's results. a. Command Line arguments:  i. The first argument will be the program

UNIX Operating System 1. Explain all the layers present in a UNIX Architecture? List and explain each of them. 2. Describe the term Inter-Process Communication. What are var

can you give me online education system E-R daigram..

If it is a weekday and it is not a holiday, then you go to work. However, if it is a weekday and it is a holiday, then what you do depends on the weather. If it is raining, you pla

What are program visible and invisible resisters? A4) Program visible is those registers that can be programmed by the users, or which are customizable, whereas Program invisible

Problem 1. What are the potential advantages of treating two related classes as subclasses of some superclass? 2. Explain the various tools for software implementation 3.

Write a Program to illustrate the call by value? #include . int compute_sum(int m); int main( void) { int n=3, sum; printf("%d\n",n); /*3 is printed */ sum=compute_sum(n