Questions tagged [rdf-xml]

RDF/XML is an RDF serialization (using XML), defined by the W3C

Related tags

  • for question about RDF (not about a specific RDF serialization)
  • for questions about XML

Internet media type

application/rdf+xml

External links

51 questions
5
votes
1 answer

Why doesn't the W3C RDF validator replace the URI using the full namespace?

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…
Rumi P.
  • 1,688
  • 3
  • 23
  • 31
5
votes
1 answer

What is the difference between rdf:resource and rdfs:Resource?

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…
giulio
  • 53
  • 4
4
votes
1 answer

How to create a root RDF/XML element for Craigslist Bulk Posting in ASP.NET

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",…
masteroleary
  • 1,014
  • 2
  • 16
  • 33
3
votes
1 answer

Convert or translate a RDF/XML file to JSON-LD format

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…
Fontanka16
  • 1,161
  • 1
  • 9
  • 37
2
votes
0 answers

Embedding JSON source code into SVG (using RDF)

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…
Mitar
  • 6,756
  • 5
  • 54
  • 86
2
votes
1 answer

Referencing classes in RDF/XML

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…
Coderr19
  • 23
  • 4
2
votes
1 answer

How to limit the Scope of element extraction between the start and end tag of a particular xml element using XPath in Python?

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 :
Susa
  • 361
  • 4
  • 9
2
votes
1 answer

Where on the website should I put RDF/XML Schema.org code?

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.…
susan
  • 21
  • 1
1
vote
1 answer

Are those 2 RDF/XML snippets semantically equivalent?

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…
Guillaume
  • 2,325
  • 2
  • 22
  • 40
1
vote
1 answer

Why are there triples with rdf:type predicates for my RDF graph?

This is my RDF graph represented in RDF/XML fromat:
user20297975
  • 129
  • 8
1
vote
2 answers

Extracting skos:closeMatch from RDF/XML using GREL in OpenRefine

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:
Zayn Sab
  • 13
  • 3
1
vote
1 answer

RDF/XML Representing address with blank nodes

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…
1
vote
1 answer

Specify a named graph when inserting tripple using RDF/XML

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…
Okilele
  • 85
  • 1
  • 5
1
vote
1 answer

Comparing two RDF/XML files using Raptor and also generating differences?

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...
1
vote
1 answer

SPARQL: Using filter in query

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…
user12532474
1
2 3 4