Resources
RDF resources and their management
Within documents, users can create RDF resources, i.e. instances of both built-in and user-defined RDF classes.
Built-in classes are defined in system ontologies while user-defined classes are defined in user ontologies.
User-defined classes
TBD
Built-in classes
LinkedDataHub's built-in classes have pre-defined constructors, constraints and often a customized UI rendering (implemented by overriding generic XSLT templates with type-specific templates) as well, for example a query editor or a chart.
| Type | Class | Description |
|---|---|---|
| ASK | sp:Ask |
SPARQL ASK query |
| Application | ldh:Application |
Remote LinkedDataHub application |
| CONSTRUCT | sp:Construct |
SPARQL CONSTRUCT query |
| CSV import | ldh:CSVImport |
Async CSV data import |
| File | nfo:FileDataObject |
File to upload |
| Graph chart | ldh:GraphChart |
Chart based on CONSTRUCT/DESCRIBE query results |
| RDF import | ldh:RDFImport |
Async RDF data import |
| Result set chart | ldh:ResultSetChart |
Chart based on SELECT query results |
| Select | sp:Select |
SPARQL SELECT query |
| Service | sd:Service |
SPARQL service (identified by its endpoint URL) |
| View | ldh:View |
View based on SELECT query results |
Resources that have customized UIs (such as queries, views, charts) are documented in more detail.
Management
User interface
Resources can only be managed when the Properties layout mode is active.
| Action | Description |
|---|---|
| Create | Click the Create dropdown on the bottom of the page. Fill out the fields in the form that appears. Click Save. |
| Update | Click the button in the top-right corner of the resource header (in the middle column of the content). Make changes in the form that appears. Click Save. |
| Delete | Click the button in the top-right corner of the resource header. Click the button to delete the block. |
Command line interface
The following actions can also be performed using the command line interface.
| Type | Action | CLI script |
|---|---|---|
| ASK | Create | imports/create-query.sh |
| Application | Create | |
| CONSTRUCT | Create | admin/model/add-construct.sh |
| CSV import | Create | imports/create-csv-import.sh |
| File | Create | imports/create-file.sh |
| Graph chart | Create | |
| RDF import | Create | imports/create-rdf-import.sh |
| Result set chart | Create | add-result-set-chart.sh |
| Select | Create | add-select.sh |
| Service | Create | add-generic-service.sh |
| View | Create | add-view.sh |