Re: typing named nodes/blank nodes/literals

On 12/11/15 11:18 AM, Ruben Verborgh wrote:
> Dear all,
>
> Thanks for your input on this issue.
> We have settled on .termType.
> A Term is conceptually a superclass of Node.
> For example: a list is an RDF term, but not a node.
> A literal is a node, and hence also a term.
>
> Follow-up question: there's still uncertainty
> about the value of the .termType property.
> It will be a string, but options include:
>
> a) Have it the same as the interface name.
> Easy, but might be long, capitalized, etc.
>
> b) Have something shorter, like
> "iri", "blank", "literal", "variable".
> Faster to type, but needs 2 constants per term type
> (interface name and string name).
>
> What would you suggest?
My vote would be for:

#b)

As in:

"iri", "blank", "literal", "variable".


Kingsley
>
> Your input on this is appreciated by 17 December,
> so we can discuss it in the call on 18 December.
> Status is tracked on GitHub:
> https://github.com/rdfjs/representation-task-force/issues/3
>
> Best,
>
> Ruben
>
>


-- 
Regards,

Kingsley Idehen	      
Founder & CEO 
OpenLink Software     
Company Web: http://www.openlinksw.com
Personal Weblog 1: http://kidehen.blogspot.com
Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen
Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this

Received on Friday, 11 December 2015 18:44:36 UTC