Skip to content

Commit

Permalink
Revert "Update example JSON to something with graphs"
Browse files Browse the repository at this point in the history
This reverts commit 65a60eb.

The `@graph` example looses the data inside the `@graph`, so
removing the example until we handle that in some way.
  • Loading branch information
BigBlueHat committed Apr 4, 2017
1 parent 13e9922 commit 1364f02
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 41 deletions.
28 changes: 7 additions & 21 deletions dist/index.js
Expand Up @@ -5806,29 +5806,15 @@ window.db = db;

var default_jsonld = JSON.stringify({
"@context": {
"generatedAt": {
"@id": "http://www.w3.org/ns/prov#generatedAtTime",
"@type": "http://www.w3.org/2001/XMLSchema#date"
},
"Person": "http://xmlns.com/foaf/0.1/Person",
"name": "http://xmlns.com/foaf/0.1/name",
"knows": "http://xmlns.com/foaf/0.1/knows"
},
"@id": "http://example.org/graphs/73",
"generatedAt": "2012-04-09",
"@graph":
[
"@vocab": "http://xmlns.com/foaf/0.1/",
},
"@id": "http://bigbluehat.com/#",
"name": "BigBlueHat",
"knows": [
{
"@id": "http://manu.sporny.org/about#manu",
"@type": "Person",
"@id": "http://manu.sporny.org#person",
"name": "Manu Sporny",
"knows": "http://greggkellogg.net/foaf#me"
},
{
"@id": "http://greggkellogg.net/foaf#me",
"@type": "Person",
"name": "Gregg Kellogg",
"knows": "http://manu.sporny.org/about#manu"
"homepage": "http://manu.sporny.org/"
}
]
}, null, 2);
Expand Down
26 changes: 6 additions & 20 deletions index.js
Expand Up @@ -25,29 +25,15 @@ window.db = db;

var default_jsonld = JSON.stringify({
"@context": {
"generatedAt": {
"@id": "http://www.w3.org/ns/prov#generatedAtTime",
"@type": "http://www.w3.org/2001/XMLSchema#date"
},
"Person": "http://xmlns.com/foaf/0.1/Person",
"name": "http://xmlns.com/foaf/0.1/name",
"knows": "http://xmlns.com/foaf/0.1/knows"
"@vocab": "http://xmlns.com/foaf/0.1/",
},
"@id": "http://example.org/graphs/73",
"generatedAt": "2012-04-09",
"@graph":
[
"@id": "http://bigbluehat.com/#",
"name": "BigBlueHat",
"knows": [
{
"@id": "http://manu.sporny.org/about#manu",
"@type": "Person",
"@id": "http://manu.sporny.org#person",
"name": "Manu Sporny",
"knows": "http://greggkellogg.net/foaf#me"
},
{
"@id": "http://greggkellogg.net/foaf#me",
"@type": "Person",
"name": "Gregg Kellogg",
"knows": "http://manu.sporny.org/about#manu"
"homepage": "http://manu.sporny.org/"
}
]
}, null, 2);
Expand Down

0 comments on commit 1364f02

Please sign in to comment.