Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,44 @@ The operations cover read-write Linked Data, SPARQL queries, URI manipulation, a
- `DESCRIBE`
- `SELECT`
- `Substitute`
- `SPARQLString`
- Schema
- `ExtractClasses`
- `ExtractDatatypeProperties`
- `ExtractObjectProperties`
- `ExtractOntology`
- URI & String Operations
- `ResolveURI`
- `EncodeForURI`
- `Concat`
- `Replace`
- `Str`
- `STRUUID`
- `URI`
- Control Flow & Variables
- `Value`
- `Variable`
- `ForEach`
- `Filter`
- `Bindings`
- `Current`
- `Execute`
- `Merge`
- LinkedDataHub-specific
- `ldh-CreateContainer`
- `ldh-CreateItem`
- `ldh-List`
- `ldh-AddFile`
- `ldh-AddGenericService`
- `ldh-AddResultSetChart`
- `ldh-AddSelect`
- `ldh-AddView`
- `ldh-AddObjectBlock`
- `ldh-AddXHTMLBlock`
- `ldh-RemoveBlock`
- `ldh-GeneratePortal`
- `ldh-GenerateClassContainers`
- `ldh-GenerateOntologyViews`

## Usage

Expand Down
2 changes: 1 addition & 1 deletion examples/generate-portal.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@op": "GeneratePortal",
"@op": "ldh-GeneratePortal",
"args": {
"endpoint": {
"@op": "URI",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "web-algebra"
version = "1.3.0"
version = "1.4.0"
description = "Composable RDF operations in JSON"
readme = "README.md"
license = "Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ class GenerateClassContainers(Operation):
This operation orchestrates actual HTTP operations to set up the portal structure.
"""

@classmethod
def name(cls):
return "ldh-GenerateClassContainers"

@classmethod
def description(cls) -> str:
return "Creates LinkedDataHub containers with instance list views for ontology classes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ class GenerateOntologyViews(Operation):
owl:maxQualifiedCardinality restriction of 1.
"""

@classmethod
def name(cls):
return "ldh-GenerateOntologyViews"

@classmethod
def description(cls) -> str:
return "Generates LinkedDataHub view templates and SPIN queries for non-functional properties"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ class GeneratePortal(Operation):
4. GenerateClassContainers - creates containers for each class with instance views
"""

@classmethod
def name(cls):
return "ldh-GeneratePortal"

@classmethod
def description(cls) -> str:
return "Generates a complete LinkedDataHub portal with class containers and property views from a SPARQL endpoint"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading