Re: Content in RDF property types

Here is the suggested, fixed version after a search/replace. The only
remaining object property is cnt:dtDecl. Also, XMLLiteral ranges had
the wrong namespace.

I also commented out the DCTerms import as it generally cause
confusion with object/annotation properties - but feel free to add it
in.



On 16 August 2013 15:58, Stian Soiland-Reyes
<soiland-reyes@cs.manchester.ac.uk> wrote:
> Hi, I am trying to use Content in RDF http://www.w3.org/TR/Content-in-RDF10/
>
> as part of recording provenance of a workflow system.
>
> I am however running into an issue with the OWL that I retrieve from
> http://www.w3.org/2011/content#
>
> in that all the datatype properties like cnt:chars, cnt:bytes etc are
> declared as ObjectProperties:
>
>         <rdf:Property rdf:ID="chars">
>                 <rdfs:domain rdf:resource="#ContentAsText" />
>                 <rdfs:label xml:lang="en">Character sequence</rdfs:label>
>                 <rdfs:comment xml:lang="en">The character sequence of
> the text content.</rdfs:comment>
>                 <rdfs:range
> rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal" />
>                 <rdf:type
> rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty" />
>         </rdf:Property>
>
> This must be a mistake, because you can't have an ObjectProperty
> (pointing to a resource) with a range of rdfs:Literal - and the whole
> point of Content-in-RDF was to embed the literal, so cnt:chars
> <http://example.com/chars.txt> would sound wrong to me.
>
> This also breaks Jena, as it means it can't find the (correct)
> DatetypeProperty. Loaded in Protege, it will interpret this as Punning
> and make two properties, an ObjectProperty with unknown range, and a
> DataTypeProperty with unknown domain.
>
>
> Is it possible to update the file in http://www.w3.org/2011/content# ?
> It seems to not convey the message from
> http://www.w3.org/TR/Content-in-RDF10/ where the properties are
> clearly described in (what I interpret to be) Datatype properties.
>
>
> --
> Stian Soiland-Reyes, myGrid team
> School of Computer Science
> The University of Manchester
> http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718

Received on Friday, 16 August 2013 16:08:51 UTC