-
Notifications
You must be signed in to change notification settings - Fork 12
NamedNode
elf Pavlik edited this page Mar 12, 2016
·
16 revisions
This wiki serves as structure documentation for proposal to use term NamedNode instead of IRI
excerpts from original chat:
timbl Like you can say in turtle
<#pi> = math:Pi, 3.14159 .
That will smush to a node which has two URIs, and th value a decimal number.
— https://gitter.im/rdfjs/public?at=56d61e05b01413547d894cff
timbl
In pi = 3.141
x = pi + 1
what is the name of x? what is the value of x?
x ’s name is ‘x’
x’s value is 4.141
that’s how i think of these things
— https://gitter.im/rdfjs/public?at=56d6264806ba9a282a285667
Niklas:
- what does this API represent? The "bottom level" representation, as in: The graph composed of nodes connected with edges, represented by triples of id:s (IRIs or node IDs or Literals)?
- if the node is the vertex (https://en.wikipedia.org/wiki/Vertex_(graph_theory)) it cannot be the edge (predicate)? (That would also be in favour of renaming BlankNode to BlankNodeID I guess)
- also consider https://www.w3.org/TR/json-ld/#data-model
- considering differences between:
- Triple(subject=IRI, predicate=IRI, object=BNodeID)
- Edge(from=Node(label=subjectIRI), label=predicateIRI, to=Node(label=BNodeID))
- Resource(id=IRI)r.getObjects(predicate=IRI) == [Resource(id=BNodeID)] — https://etherpad.wikimedia.org/p/rdfjs
https://lists.w3.org/Archives/Public/public-data-shapes-wg/2014Dec/0274.html
ex:two rdf:type xsd:Integer .
ex:two ex:prime xsd:true .https://www.w3.org/TR/rdf-schema/#ch_value
<http://www.example.com/2002/04/products#item10245>
<http://www.example.org/terms/weight> [
rdf:value 2.4 ;
<http://www.example.org/terms/units> <http://www.example.org/units/kilograms>
] .