Loading test.md +36 −1 Original line number Diff line number Diff line Go to a certain [point](README.md#explanation-of-lua-scripts). +--------------------------------------------+--------------------------------------------------+ | []{.media} |  | | | | | **Figure 5: Standard RDF reification** | **Figure 6: Singleton property reification** | +============================================+==================================================+ | **JSON-LD Format:** | **JSON-LD Format:** | | | | | ``` json | ``` json | | [ | [ | | {"@id": "CameraA", | {"@id": "CameraA", | | "monitors": {"@id": "StreetA"}} | "monitors#id1": | | {"@id": "Statement_1", | {"@id": "StreetA}} | | "subject": | {"@id": "monitors#id1", | | {"@id": "CameraA"}, | "singletonPropertyOf": | | "predicate": | {"@id": "monitors"}, | | {"@id": "monitors"}, | "hasCoverage": "90%" } | | "object": | ] | | {"@id": "StreetA"}, | ``` | | "hasCoverage": "70%" } | | | ] | | | ``` | | +--------------------------------------------+--------------------------------------------------+ | **SPARQL Query:** | **SPARQL Query:** | | | | | ``` json | ``` json | | SELECT ?R WHERE { | SELECT ?R WHERE { | | ?st rdf:subject :CameraA. | :CameraA ?p :StreetA. | | ?st rdf:predicate | ?p :singletonPropertyOf | | :monitors. | :monitors. | | ?st rdf:object StreetA. | ?p :hasCoverage ?R | | ?st :hasCoverage ?R | } | | } | ``` | | ``` | | +--------------------------------------------+--------------------------------------------------+ No newline at end of file Loading
test.md +36 −1 Original line number Diff line number Diff line Go to a certain [point](README.md#explanation-of-lua-scripts). +--------------------------------------------+--------------------------------------------------+ | []{.media} |  | | | | | **Figure 5: Standard RDF reification** | **Figure 6: Singleton property reification** | +============================================+==================================================+ | **JSON-LD Format:** | **JSON-LD Format:** | | | | | ``` json | ``` json | | [ | [ | | {"@id": "CameraA", | {"@id": "CameraA", | | "monitors": {"@id": "StreetA"}} | "monitors#id1": | | {"@id": "Statement_1", | {"@id": "StreetA}} | | "subject": | {"@id": "monitors#id1", | | {"@id": "CameraA"}, | "singletonPropertyOf": | | "predicate": | {"@id": "monitors"}, | | {"@id": "monitors"}, | "hasCoverage": "90%" } | | "object": | ] | | {"@id": "StreetA"}, | ``` | | "hasCoverage": "70%" } | | | ] | | | ``` | | +--------------------------------------------+--------------------------------------------------+ | **SPARQL Query:** | **SPARQL Query:** | | | | | ``` json | ``` json | | SELECT ?R WHERE { | SELECT ?R WHERE { | | ?st rdf:subject :CameraA. | :CameraA ?p :StreetA. | | ?st rdf:predicate | ?p :singletonPropertyOf | | :monitors. | :monitors. | | ?st rdf:object StreetA. | ?p :hasCoverage ?R | | ?st :hasCoverage ?R | } | | } | ``` | | ``` | | +--------------------------------------------+--------------------------------------------------+ No newline at end of file