Skip to content

Commit d1fb302

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat-ldh-view-vocabulary
# Conflicts: # uv.lock
2 parents a57e0a1 + 64cb542 commit d1fb302

7 files changed

Lines changed: 31 additions & 3 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,44 @@ The operations cover read-write Linked Data, SPARQL queries, URI manipulation, a
4949
- `DESCRIBE`
5050
- `SELECT`
5151
- `Substitute`
52+
- `SPARQLString`
53+
- Schema
54+
- `ExtractClasses`
55+
- `ExtractDatatypeProperties`
56+
- `ExtractObjectProperties`
57+
- `ExtractOntology`
5258
- URI & String Operations
5359
- `ResolveURI`
5460
- `EncodeForURI`
5561
- `Concat`
5662
- `Replace`
5763
- `Str`
64+
- `STRUUID`
5865
- `URI`
5966
- Control Flow & Variables
6067
- `Value`
6168
- `Variable`
6269
- `ForEach`
70+
- `Filter`
71+
- `Bindings`
72+
- `Current`
73+
- `Execute`
74+
- `Merge`
6375
- LinkedDataHub-specific
6476
- `ldh-CreateContainer`
6577
- `ldh-CreateItem`
6678
- `ldh-List`
79+
- `ldh-AddFile`
6780
- `ldh-AddGenericService`
6881
- `ldh-AddResultSetChart`
6982
- `ldh-AddSelect`
7083
- `ldh-AddView`
7184
- `ldh-AddObjectBlock`
7285
- `ldh-AddXHTMLBlock`
7386
- `ldh-RemoveBlock`
87+
- `ldh-GeneratePortal`
88+
- `ldh-GenerateClassContainers`
89+
- `ldh-GenerateOntologyViews`
7490

7591
## Usage
7692

examples/generate-portal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@op": "GeneratePortal",
2+
"@op": "ldh-GeneratePortal",
33
"args": {
44
"endpoint": {
55
"@op": "URI",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "web-algebra"
3-
version = "1.3.0"
3+
version = "1.4.0"
44
description = "Composable RDF operations in JSON"
55
readme = "README.md"
66
license = "Apache-2.0"

src/web_algebra/operations/linkeddatahub/content/generate_class_containers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ class GenerateClassContainers(Operation):
2020
This operation orchestrates actual HTTP operations to set up the portal structure.
2121
"""
2222

23+
@classmethod
24+
def name(cls):
25+
return "ldh-GenerateClassContainers"
26+
2327
@classmethod
2428
def description(cls) -> str:
2529
return "Creates LinkedDataHub containers with instance list views for ontology classes"

src/web_algebra/operations/linkeddatahub/content/generate_ontology_views.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ class GenerateOntologyViews(Operation):
1616
they yield at most one value, so a table view would be redundant.
1717
"""
1818

19+
@classmethod
20+
def name(cls):
21+
return "ldh-GenerateOntologyViews"
22+
1923
@classmethod
2024
def description(cls) -> str:
2125
return "Generates LinkedDataHub views and SPIN queries for ontology properties (excluding owl:FunctionalProperty)"

src/web_algebra/operations/linkeddatahub/content/generate_portal.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ class GeneratePortal(Operation):
2020
4. GenerateClassContainers - creates containers for each class with instance views
2121
"""
2222

23+
@classmethod
24+
def name(cls):
25+
return "ldh-GeneratePortal"
26+
2327
@classmethod
2428
def description(cls) -> str:
2529
return "Generates a complete LinkedDataHub portal with class containers and property views from a SPARQL endpoint"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)