serialising literal subjects to rdf/xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

serialising literal subjects to rdf/xml

Henry Story-2

Suggestion:

It should be easy to allow any N3 graph with literal subjects to be  
serialised to rdf/xml, Turtle or Ntriples.
Use the following method:

    replace
        "subject" relation object .
    with
        subjectUri owl:sameAs "subject";
                   relation object .

That should allow any such graph to be serialised to rdf/xml .

        Henry


Home page: http://bblfish.net/


Reply | Threaded
Open this post in threaded view
|

Re: serialising literal subjects to rdf/xml

Sandro Hawke


> Suggestion:
>
> It should be easy to allow any N3 graph with literal subjects to be  
> serialised to rdf/xml, Turtle or Ntriples.
> Use the following method:
>
>     replace
>         "subject" relation object .
>     with
>         subjectUri owl:sameAs "subject";
>                    relation object .
>
> That should allow any such graph to be serialised to rdf/xml .

That is to say, one can transform any graph with literal subjects into a
similar one that does not have literal subjects, and then serialize
that.

Would you care to formally characterize the similarity?

      -- Sandro