Play around with JSON-LD markup by typing out some JSON below and seeing what gets generated from it at the bottom of the page. Pick any of the examples below to get started.
{
"@context": {
"ex": "http://example.org/ns/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"ex:thing3": {
"@context": {
"ex:foo": {
"@type": "@id"
}
}
},
"ex:thing4": {
"@context": {
"ex:foo": {
"@type": "xsd:dateTime"
}
}
}
},
"ex:thing1": {
"ex:foo": 1
},
"ex:thing2": {
"ex:foo": "a string"
},
"ex:thing3": {
"ex:foo": "http://example.org/yugo"
},
"ex:thing4": {
"ex:foo": "2022-11-16T21:04:41"
}
}
MIICWwIBAAKBgQC4R1AmYYyE47FMZgo708NhFU+t+VWn133PYGt/WYmD5BnKj679
NOTE: A remote context that is not known to be fully working yet was detected in your input. If you wish, you can use an alternative context created by the JSON-LD community to process your document nevertheless.
Original | Development |
_:b0 <http://example.org/ns/thing1> _:b1 .
_:b0 <http://example.org/ns/thing2> _:b2 .
_:b0 <http://example.org/ns/thing3> _:b3 .
_:b0 <http://example.org/ns/thing4> _:b4 .
_:b1 <http://example.org/ns/foo> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:b2 <http://example.org/ns/foo> "a string" .
_:b3 <http://example.org/ns/foo> <http://example.org/yugo> .
_:b4 <http://example.org/ns/foo> "2022-11-16T21:04:41"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
Subject | Predicate | Object | Language | Datatype | Graph |
---|
Website content released under a Creative Commons CC0 Public Domain Dedication except where an alternate is specified. Part of the PaySwarm standardization initiative.