Object blocks

Blocks that embed/transclude any dereferenceable URI

Blocks other than HTML content is called an object and has to have a URI that dereferences. Objects are embedded (transcluded) into the HTML page. You can use any RDF resource or uploaded file as an object.

LinkedDataHub will first attempt to load RDF data from the obejct URI and render it as block. If that fails, it will simply embed it using the HTML <object> element. Object blocks can be used to embed queries, charts, and other LinkedDataHub system resources.

Built-in block types use a UI convention where their UI is split into left, main, and right content areas. The layout of the main content may depend on the active mode of the block. Left and right sections are block-type specific.

RDF serialization

@prefix ldh: <https://w3id.org/atomgraph/linkeddatahub#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ac: <https://w3id.org/atomgraph/client#> .

<https://localhost:4443/concepts/example/#object-block>
    a       ldh:Object ;
    rdf:value <http://dbpedia.org/resource/Copenhagen> ;
    ac:mode  ac:MapMode .

Management

User interface

Action Description
Create Click the Object button at the bottom of the page (in content mode). Enter the object's value URI. Click Save.
Update Click the button in the top-right corner of the block (it will only appear when you move the mouse close to that corner). Change the object's value URI. Click Save.
Delete Click the button in the top-right corner of the block (it will only appear when you move the mouse close to that corner). Click the button to delete the block.

Command line interface

Action CLI script
Create add-object-block.sh
Update
Delete