Comments (4)
Gregg's suggestion:
It should say "concatentating the prefix and suffix separated by a colon (:)." If a key matches a production containing NCNAME ':' followed by anything else, and the NCNAME portion (prefix) matches a defined term, the prefix ':' combination is replaced by the value of the term definition. In these examples, you should get the following:
<> <http://example.com/payment/payment> "done" .
<> <http://example.com/payment/amount> "20.4"^^xsd:double .
The only portion of the key subject to term replacement is the prefix, everything after the colon is used without performing any substitution.
from json-ld.org.
This is now well described In the latest version of the API spec but we might wanna include some of the details as well in the syntax spec.
from json-ld.org.
I tried to make more explicit how terms and prefix:suffix are expanded in the IRIs section of Basic Concepts. If you think this is now clear enough, please mark the issue as closed, and this will complete my action item from the last call.
from json-ld.org.
http://json-ld.org/spec/ED/json-ld-syntax/20120122/#the-context
http://json-ld.org/spec/ED/json-ld-syntax/20120122/#prefixes
http://json-ld.org/spec/ED/json-ld-syntax/20120122/#iri-expansion-within-a-context
from json-ld.org.
Related Issues (20)
- Framing primitive types vs typed literals HOT 1
- create a repo for NDJSON-LD HOT 2
- create a repo for NDJSON-LD [1] HOT 1
- Playground is choking on `http://schema.org` (no trailing slash) HOT 4
- Json ld
- Change redirect for RDF Dataset Canonicalization to WG spec
- json-ld.org site is down HOT 2
- playground error: read properties of null HOT 2
- Proposal: Using `@graph` to specify the name of the graph which contains a statement
- JSON-LD for R? HOT 2
- @base treats trailing hash ('#') different from slash '/' HOT 3
- Improve playground proxy and/or playground document loader HOT 3
- Output N-Quads in the Playground
- proposal for @shift keyword HOT 7
- Issue compacting using a context with a property value index HOT 2
- Creating a gist fails HOT 4
- JSON-LD Context similarity to XML External Entity attack HOT 1
- Recursive index map of index maps HOT 4
- How to combine two or more script into one using json-ld
- type-scoped local context is not applied if the @type property is @nested HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-ld.org.