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
Question 1 How to call a WML Script from a WML Page? Question 2 Write short notes on WML Script Operators and Expressions Question 3 Write short notes on WML Script Statements

develop a pseudocode algorithm to determine the total amount of extra cost changed to the organizers for expenses accurednduring the workshop. the code is to be written for an unde

i(t)=(V/R) * (1-e^-(R/L)(t)) (a) Defi ne an anonymous function answerE that returns i(t) given input t. (b) The fi nal value for the current is 2 amps. Find a time tm when the curr

Define The if - else - if Statement - Computer Programming? The universal form is                         if (expression 1)                         {

how to store an url in a dartabase(sql server 2005)? (or) create table b(url what is the datatype for url?

In this project, we have measured and compared the performance given by RTLinux, which is real time system with non-real time Linux operating system. Also, we have measured the

Return a new picture with each pixel''s color values made up of 80% of the color values of the corresponding pixel in the first picture and 20% of the color values of the

Plan, design and dry run a program for the Little Man Computer (LMC) that produces the same result using a fixed number of 10 iterations.

the details on the two pictures on the link below : http://rak-up.com/up/files/18637.jpg ">http://rak-up.com/up/files/18636.jpg http://rak-up.com/up/files/18637.jpg

hi, can you help me with testing java classes I have wrote using java and jsp and servlet in eclipse ? I want to use JUnit for testing