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
Define a Prolog predicate flatten(List, FlattenedList)  that asserts List  is any nested list of atoms and  FlattenedList  is the same list with the nesting removed. The atom [] sh

Write a function called triple (in a file called 'triple.m'). That takes a single variable x and returns a single variable in which every element of x is multiplied by 3. Make sure

Before I describe what you are supposed to do, please remember that this programming assignment is NOT a group project. You are NOT allowed to do this with anyone else's help. This

I want to set up automatic Amazon login

Determine the address accessed by each of the following instruction if DS=1100H, BX=0200H, LIST=0250H AND SI=0500H-: 1) MOV LIST[SI],EDX?0250+0500+11000=11750 2

.NET class library .NET structure comes with just one category selection. And that all developers need to learn!! Whether they create the value in C# or VB.NET or J#, it doesn't

* Comments in your code are required * Main Program Operation:  # Your program should first prompt the user for an integer to seed the random number Generator. "Enter an seed

how can we get the data from data base to combo box in jsp page dynamically

I am working on a game project using C# XNA. I only have two weeks from the deadline. Would you help me to finish it up? Please let me know as soon as possible. Thanks, Sophi

Produce a hierarchy chart, a structured flowchart, and a Pascal program (with appropriate comments) to generate the Sales Commission Report shown below. The commission for each sal