|
Hello, I have a problem referencing an owl ontology in RDF document. I think that I can include my ontology by using a prefix in the header of my RDf and than use its predicates but I'm getting "The prefix "nova" for element "nova:precededBy" is not bound ", here is my RDF file:
|
|
What? That's not an RDF file, it's totally broken. Honestly, don't try to write RDF/XML by hand. RDF/XML is intended to be used with an RDF API and an RDF/XML serializer. If you want to write RDF triples by hand, then don't use the RDF/XML syntax but instead use the Turtle syntax. It's very similar to the graph pattern syntax of SPARQL (the RDF query language), so if you are also going to learn SPARQL then you'll have to learn Turtle anyways. sorry, it's an encoding problem. Here is the link for my RDF file:http://www-inf.int-evry.fr/~sakka_mo/domainModels/archiver.rdf Can you tell me if what I'm trying to do is possible? Otherwise, you think that I can do it using Turtle syntax? |
|
From the document you linked on @cygri's answer, you have a stray ' Replace the head of your document with this and avoid leading whitespace.
cygri's advice to avoid editting/writing RDF/XML by hand still applies. If you must do so, then the RDF/XML validator is your only friend. Good luck! |

