Comments (6)
Lists of lists are supported in the working group draft: https://w3.org/TR/JSON-LD11.
The community group, which this site is based on, handed off work to the working group some time ago.
There is a specific example for Geo-JSON in the spec.
from json-ld.org.
We need somebody to do a deep dive into this issue. I don't have a strong opinion one way or the other. It seems like something that would be easy to express using the syntax that we have, but may have severe complications when normalizing or converting to RDF.
@dlongley Do you have any thoughts on this?
from json-ld.org.
I recommend we make lists of lists illegal for the time being. We might support them in the future, but I don't see the need right now -- and don't think we should go making implementations more complicated for a use case that might be really limited.
from json-ld.org.
That would be fine for me, we just have to make that clear in the spec. I think sooner or later we will need to add something like a schema to the spec to formally describe which constructs are allowed and which aren't. We are discovering a lot of corner cases these days..
from json-ld.org.
RESOLVED: Lists of lists are not allowed for JSON-LD 1.0. If a list of lists is detected, the JSON-LD processor MUST throw an exception.
from json-ld.org.
There's a use case for lists of lists in GeoJSON-LD: geojson/geojson-ld#12 (all non-point, non-empty geometries cannot be represented).
from json-ld.org.
Related Issues (20)
- 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
- Null values in RDF Lists HOT 6
- "@container": "@sequence"? HOT 3
- Replace tinyurl with non-commercial URL shortener
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.