-
Notifications
You must be signed in to change notification settings - Fork 12
Meeting 2016 04 09
^ PR https://github.com/rdfjs/representation-task-force/pull/61
Literal .literal(String value, [String languageOrDatatype]) returns a new instance of Literal.
If languageOrDatatype is an IRI, then a NamedNode is constructed with that IRI, and is used for the value of .datatype.
Otherwise languageOrDatatype is used for the value of .language.
For default values of the instance properties, see the individual interface definitions
2) PR to address https://github.com/rdfjs/representation-task-force/wiki/NamedNode rename
The Term can be seen as a container. .termType would mean the type of the Term, so the interface name/type. But it describes the type of the value ("iri", "bnode", "literal", and "variable"). We had a very long discussion about these values. So let's keep these values and rename .termType to .valueType. Than it would describe the type of the value the container holds.
-
Rename Literal's
.datatypeto camel cased.dataType -
Separate issue/PR to rename
termTypetovalueType.