rdf

Using contexts in rdflib

I am having trouble finding a clear, sensible example of usage of context with rdflib. ConjunctiveGraph does not accept contexts, and Graph is deprecated. How am I supposed to create and operate on different contexts within the same global ConjunctiveGraph ? ...

Pick and RDF/SPARQL

Anyone have any interest in intergrating RDF and/or SPARQL with a PICK database? Has anyone tried this yet? I have some thoughts about what to try. One idea is to figure out how to create a file with a dictionary that defines some correlatives that allow data to be pulled from the file as RDF, as one or many of n-triple, turtle, n3 or XM...

Is there something like SESAME for OWL

Sesame is for RDF, so if I want to use OWL is there anythin? ...

How to import data in relational database to RDF?

How can I get data from a relational database into RDF? ...

how to plot an RDF graph for inspection ?

The W3 has a RDF validator that plots the RDF graph. Do you know a similar utility desktop side ? Forgot to say. I'm on a mac. ...

rdflib graph not updated. Why?

I am trying to understand this behavior. It's definitely not what I expect. I have two programs, one reader, and one writer. The reader opens a RDFlib graph store, then performs a query every 2 seconds import rdflib import random from rdflib import store import time default_graph_uri = "urn:uuid:a19f9b78-cc43-4866-b9a1-4b009fe91f52" s...

How can you remove the XML schema datattype from sparql query?

Hey all. Im running a sparql query on a file that contains <User rdf:about="#RJ"> <hasName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"&gt;RJ&lt;/hasName&gt; </User> I want to return only the name i.e. 'RJ' but when i enter my query SELECT ?name FROM <example.com> WHERE { assign:RJ assign:hasName ?name . } ...

Duplicate triple in RDF, authoritative view?

if a triple store contains twice the same triple, what is (if any exist) the authoritative position about this redundancy ? Additionally, should a triplestore be allowed to store twice the same triple within the same context ? I ask this because in rdflib apparently you can store the same triple twice (or more). This is the reader imp...

REST and RDF, what's the representation strategy?

Your triplestore contains a lot of nodes, and you have to make accessible this database via a REST interface. Now, my solution would be that every named (not-anonymous) node is exported as a resource, whose representation is: all the triples having the node as a subject all the triples having the node as an object all the connected an...

How to extract the RDF snippet out of an HTML page?

I want to extract the RDF snippet of an web page. Since it can even be inside a HTML-comment I'm at a loss here. Can anybody point me into the right direction, what libraries or classes to use or something like that? The goal is to have the trackback URL to be able to send trackbacks. ...

Defining cardinality for a RDF statement.

Im having a problem with RDF. I have a couple of triples defined as : <User rdf:about="#T"> <hasName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"&gt;T&lt;/hasName&gt; <hasFavourite rdf:resource="#x"/> <hasFavourite rdf:resource="#y"/> </User> Im wanting to add to the (user, hasFavourite, x) and (user, hasFavourite, y) tri...

Java RDF libraries for Google App Engine?

Are there any Java libraries available that allow RDF processing on the Google App Engine? ...

Question on RDF and how thisweknow.org works

I was reading through this question http://stackoverflow.com/questions/273218/what-is-an-rdf-triple and the excellent answers to it. Roger Federer | won | wimbledon I understand that the above sentence is a triplet. But if the sentence is Roger Federer won wimbledon in 2009, how do we represent it as a RDF triplet? This site t...

Dynamically updating RDF File

Is it possible to update an rdf file dynamically from user generated input through a webform? The exact scenario would beskos concept definitions being created and updated through user input to html forms. I was considering xpath but is there a better / generally accepted / best practice way of doing this kind of thing? ...

Where are the notation3 (n3) debugging tools?

Looking for tools for debugging n3. Are we stuck with using XML just because of easier debugging? ...

SPARQL query weirdness

SELECT * WHERE{ ?x rdfs:label "Chalti Ka Naam Gaadi"@en . ?x foaf:name ?z . } This works SELECT * WHERE{ ?x foaf:name "Chalti Ka Naam Gaadi" . ?x rdfs:label ?z . } This doesnt Why? Can try running it here http://dbpedia.org/snorql/ Tried adding the query link directly but doesnt work, possibly due to some markup or escap...

Conversion from RSS to RDF

Hi, I don't quite understand RDF, but I am looking to convert RSS feeds from places like yahoo and google into RDF format to display on a website. Any advice/help would be greatly appreciated. Thanks! Update: it seems I need to understand XSTL and stuff like that. ...

Usage of MongoDB as a RDFStore for data objects.

Is there any tool to query MongoDB using SPARQL ? I store object using an RDF schema (boo Mongo no schema ^^), and now i looking for a tool/server to query the datastore using SPARQL. I started to write a SPARQL parser, but if such as tool exists, i think i would use it. Thanks in advance. ...

Can RDF Properties contain other properties?

Can the RDF:Property contain other properties along with rdf:range and rdf:domain. For example, could you have the following: <rdf:Property rdf:about="&base;adminStaff"> <rdfs:domain rdf:resource="&base;Staff"/> <rdfs:range rdf:resource="&rdfs;Literal"/> <dcterms:description>This is a member of staff</dcterms:description> <...

Property chain reasoning over rdf:type

I am trying to get Pellet to propagate properties from classes down to the individuals belonging to those classes. For example, if I have Class A with Property X, and Individual B with rdf:type=Class A, I want Individual B to have Property X after running the reasoner. I'm using the technique of property chain inclusion referenced on the...