I tried validating a very simple manually-written RDF online, using the W3C RDF Validator. To my surprise, it correctly resolved the URIs from the rdf namespace, but not from a different namespace (also from W3C). Why did this happen?
Let's take the…
In RDF 1.1 XML Syntax documentation rdf:resource is used as a shortened form when defining Empty Property Elements:
When a predicate arc in an RDF graph points to an object node which has no further predicate arcs, which appears in RDF/XML as an…
When running this VB.net, I get the error "Data at the root level is invalid. Line 1, position 1" when reaching line 3 where it adds the RDF namespace to the Schemaset.
Dim doc As New XmlDocument()
Dim xss As New XmlSchemaSet()
xss.Add("rdf",…
I am trying to parse a RDF/XML formatted document into JSON-LD in order to frame it. All using Node.js and not utilizing any web service APIs (a not too uncommon solution).
I feel that I am almost there, but my current approach feels clumsy to say…
I am making a tool to render a program into SVG representation of the program. I would like to store input source code into SVG so that it can be reproduced if necessary. The source code is in JSON (it is a domain specific language).
I am currently…
I am trying to understand RDF/XML basics. I have a problem understading data referencing.
For a simple example, let's consider the relationship between Person and Document.
In a relational data model, this would be a simple one to many relationship…
I have an RDF/XML Element and would like to find out all the elements between the start and end of a particular tag. How could I do that?
for example :
…
I'm trying to put Schema.org on a website. First I made JSON-LD but the website is not allowing any script in the head element. Then I converted it into RDF/XML format below.
Now, where on the website should I put this for Google to read it.…
I am experimenting with converting RDF to another format (JSON-LD in this case, via RDFLib) and back to RDF.
The resulting RDF is a tad different from the original, and although as a human both kinda make sense, I do wonder if they are actually…
This is a picture of my OpenRefine project.
I need to extract all the instances of skos:CloseMacth URIs from an RDF/XML column into a separate column in OpenRefine.
This is my RDF/XML code:
I am new to RDF/XML notation and I am having trouble with addresses. I tried to google for examples but I can't find any; all I find are graphical notations, which isn't in the format I need.
This is an example of what I want to achieve.
This is…
I am using RDF/XML to insert tripples in a tripplestore (GraphDb).
This works but I also need all tripples are gathered into a unique named graph and I am looking for the right syntax in RDF/XML to do this, when inserting data and always using the…
I want to write Python script using Raptor to compare two RDF files where the 2nd RDF file would have a a specific format that the 1st one should follow. If there is a difference, then I want to print that difference. No luck with W3...
I recently started using SPARQL and have an exercise to make a query that will allow me to get song titles that have a singer as their only vocalist? In this case being John Lennon the only singer.
I have a beatles.ttl data file, so far I was able…