[foaf-protocols] new spec version out
sergio.fernandez at fundacionctic.org
Tue Oct 18 16:24:24 CEST 2011
2011/10/18 Henry Story <henry.story at bblfish.net>:
>>> -2 In the cert ontology I tried putting my comments using rdf:RDFLiteral datatypes so that this could
>>> appear in the html. But the transformation specgen does not seem to deal with that.
>> Not sure which is the right way to add html markup on literals...
>> a) Escape the characters '<' and '>' (as you are already doing for
> I am not sure I am escaping it. Am I? Not in the cert.n3 file on the
> cert:hex skos:editorialNote """<span ns="http://www.w3.org/1999/xhtml"><p> .... </span>"""^^rdf:XMLLiteral .
The specgen only supports rdf/xml, so I'm using the cert.rdf file for
my tests. And on that file rdfs:comment and skos:editorialNote are
using different approaches about escape chars.
>> b) Use the white-space selector of CSS:
> That's also a solution. There are a lot of links in the notes currently so unless we move to a wiki format,
>I think it would be nice if one could just put in some simple and light weight html...
Yes. because this way is causing many problems generating valid
>> On the previous thread Dominik requested support to
>> owl:equivalentClass. I've just added on specgen. Debugging the new
>> feature I detected that you were wrongly using owl:equivalentClass on
>> datatypes (on cert:hex for instance), when it must be
>> owl:equivalentProperty, right?
> datatypes are classes. cert:hex used to be a property and is now a datatype too.
> That is allowed by rdf in fact, though there is a debate which direction the arrows should go.
> The details of that transition are explained in the notes I think.
Yes, I just read why cert:hex is both a class and a property. I agree,
>> BTW, rdfs:Datatypes are not showing right now on the spec (e.g.
>> cert:int). Would you like to add it?
> yes, please. Thanks a lot :-)
Meanwhile I'll try to add support to datatypes on the tools.
CTIC - Technological Center
Parque Científico y Tecnológico de Gijón
C/ Ada Byron, 39 Edificio Centros Tecnológicos
33203 Gijón - Asturias - Spain
Tel.: +34 984 29 12 12
Fax: +34 984 39 06 12
E-mail: sergio.fernandez at fundacionctic.org
More information about the foaf-protocols