Hi,
does anybody know of a tool capable of doing for OWL ontologies what Hibernate does for relational databases, that is, from my point of view, abstract away the need to manually code SQL queries to read/write Java objects from/to relational databases and manage the consistency of in-memory objects and their serialized form on the DB.
...
Hi,
I have a RDF file thats used to track item revisions. Using this data I can traceback the changes made to an item through its lifetime. Once a specific has changed the corresponding data is placed as a new revision. Have a look..
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/0...
Hi Everyone
Just a small thing tonight; I was wondering how I could modify this query to show only bands with the name "kinks", I tried tagging = #kinks after dc:Band but got no results.
Query SPARQL_QUERY = QueryFactory.create("" +
"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>" +
"PREF...
Hi,
I want write query that allow to display all comment of all class in protege
and other query to display specific comment
please ,Iwante the answer quickly as soon as possible .
...
Hi Guys,
I got interested in semantic technologies after reading a lot of books, blogs and articles on the net saying that it would make data machine-understandable, allow intelligent agents make great reasoning, automated & dynamic service composition etc..
I am still reading the same stuff from 2 years. The number of articles/blogs/s...
At http://dbpedia.org/sparql/ I want to select something like this:
SELECT ?hostCity WHERE { <http://dbpedia.org/resource/Lisbon> <http://dbpedia.org/property/hostCity> ?hostCity . }
Do you know, where is a problem?
...
Hi I have an XML as below
<result>
<binding name="PropertyURI">
<uri>http://dbpedia.org/ontology/motto</uri>
</binding>
<binding name="Property">
<literal xml:lang="en">motto</literal>
</binding>
<binding name="ValueURI">
<uri>http://dbpedia.org/ontology/motto</uri>
</binding>
<bin...
I have this query. It match anything which has "South in its Name". But I only want the one whose foaf:name exactly matches "South"
SELECT Distinct ?TypeLabel
Where
{
?a foaf:name "South".
?a rdf:type ?Type.
?Type rdfs:label ?TypeLabel.
}
...
Is there any Library for .NET that returns SPARQL results in some structured List instead of standard XML format? I am using SemWeb. I could not find any such method.
...
How can I "say" to SPARQL that ?churchname is in UTF-8 formatting? because response is like:Pražský hrad
PREFIX lgv: <http://linkedgeodata.org/vocabulary#>
PREFIX abc: <http://dbpedia.org/class/yago/>
SELECT ?churchname
WHERE
{
<http://dbpedia.org/resource/Prague> geo:geometry ?gm .
?church a lgv:castle .
?church geo:g...
How can I get in Jena (Java language) result in UTF-8 format?
My code:
Query query= QueryFactory.create(queryString);
QueryExecution qexec= QueryExecutionFactory.sparqlService("http://lod.openlinksw.com/sparql", queryString);
ResultSet results = qexec.execSelect();
List<QuerySolution> list = ResultSetFormatter.toList(results);
System....
I want to create simple application using Java Jena and SPARQL
,that insert, delete , update and query the OWL/RDF data
I worked on protege to create the ontology and noticed SPARQL in it
but I want to use SPARQL using java and jena ...
1) I saw this thread and I knew how to use SPARQL with jena
(after http)stackoverflow.com/questions/...
hello,
i have such a sparql query:
select ?s ?p ?o from <http://localhost:8890/DAV/ranking> where {
{<http://seekda.com/providers/cdyne.com/PhoneNotify> so:hasEndpoint ?s.
?s ?p ?o} union
{<http://seekda.com/providers/cdyne.com/PhoneNotify> ?p ?o}
}
but i need a graph query (construct ord describe). unfortunatly i have no...
I have two queries:
query 1:
SELECT DISTINCT ?o COUNT(?o)
WHERE
{ ?s1 ?somep1 <predicate_one-uri>. ?s1 ?p ?o}
query 2:
SELECT DISTINCT ?o COUNT(?o)
WHERE
{?s2 ?somep2 <predicate_two-uri>.?s2 ?p ?o.}
Each query gives me a different result set (as expected). I need to make a union of these two sets, from what I understand the...
I am doing (want to do) some experiments with Linked Open Datasets particularly those put out by governments.
I have a RDBMS (more specifically MySQL). I designed it with semantic web ideas in mind i.e. I have a information stored as objects, predicates and classes which define objects. In turn all objects are related to each other thou...
i want to query a triple store which is multilingual ,
Query that works :
select * where {?s ?p "sdfsdf"@en}
i want that "sdfsdf" to be an attribute in general like ?o@en
how should i query then ?
...
Hi All,
I am looking for an open source (java is preferred) semantic web project which it's input is SPARQL and its output is a triple RDF format grid & graph, like this site: http://linkedlifedata.com
Any help would be appreciated
Cheers
Erwin
...
whenever i start using sql i tend to throw a couple of exploratory statements at the database in order to understand what is avaliable, and what form the data takes.
eg.
show tables
describe table
select * from table
could anyone help me understand the way to complete a similar exploration of an rdf datastore using a SPARQL endpoin...
In the following DBpedia query, is there a way to consolidate the UNIONs into a single pattern?
PREFIX prop: <http://resedia.org/ontology/>
PREFIX res: <http://resedia.org/resource/>
SELECT DISTINCT ?language ?label
WHERE {
{res:Spain prop:language ?language}
UNION
{res:France prop:language ?language}
UNION
{res:I...
Why does the end point matters so much to the end results of the query.
For this query:
SELECT ?episode,?chalkboard_gag WHERE {
?episode skos:subject
http://dbpedia.org/resource/Category:The_Simpsons_episodes%2C_season_12.
?episode dbpedia2:blackboard ?chalkboard_gag
}
The endpoint "OpenLink Virtuoso SPARQL protocol" returns...