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
Advantages of asp.net mvc framework MVC is a conventional style design that many designers are acquainted with. Some kinds of Web programs will advantage from the MVC structur

This is the programming language of the Web. It is mainly used for validating forms. JavaScript & Java can be associated to each other. There exist several other differences betwee

Go to the following link and please do Problem 6. This is in C language. http://wikisend.com/download/304748/hw%206.pdf The code I need must be in C language and not C++ . Thank

Task .Task 1 Database design This task will allow you to demonstrate the following Learning Outcomes (LOs): LO 2. Justify the design and development of the application and critica

Write a Prolog predicate  has_duplicates(L)  that is true if list  L  contains duplicated elements (that is at least 2 copies of an element). For instance: ?- has_duplicates([a,

I need someone to make an ER diagram.

Write a Prolog predicate remove_nth(N,L1,L2) that is true if list L2 is just list L1 with its Nth element removed. If L1 does not have an Nth element then the predicate should fail

You must use the keyword ''var'' to create and initialize a variable. The placement of the variable creation in your code is very important. Examples: var first = 21; var secon

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

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