Skip to content

Commit 64cb542

Browse files
authored
Merge pull request #18 from AtomGraph/chore-rename-generate-ops
Prefix Generate* LDH ops with ldh-
2 parents ab4a4eb + 13f11f2 commit 64cb542

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
@@ -15,6 +15,10 @@ class GenerateOntologyViews(Operation):
1515
owl:maxQualifiedCardinality restriction of 1.
1616
"""
1717

18+
@classmethod
19+
def name(cls):
20+
return "ldh-GenerateOntologyViews"
21+
1822
@classmethod
1923
def description(cls) -> str:
2024
return "Generates LinkedDataHub view templates and SPIN queries for non-functional properties"

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)