Skip to content

Commit 8795103

Browse files
committed
2 parents 835cd6a + 32de5c3 commit 8795103

13 files changed

Lines changed: 39 additions & 15 deletions

File tree

CITATION.cff

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
title: "RML-FNML: Ontology, specification, shapes and test cases"
2+
license: CC-BY-4.0
3+
authors:
4+
- family-names: De Meester
5+
given-names: Ben
6+
- family-names: Jozashoori
7+
given-names: Samaneh
8+
- family-names: Iglesias-Molina
9+
given-names: Ana
10+
- family-names: Van Assche
11+
given-names: Dylan
12+
cff-version: 1.0.0
13+
version: 0.1.0
14+
doi: 10.5281/zenodo.7919856
15+
date-released: 2023-05-10
16+
url: "https://w3id.org/rml/fnml"

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ The FNML specification, SHACL shapes, test-cases, and ontology.
77
- SHACL shapes: http://w3id.org/rml/fnml/shapes
88
- Test-cases: [test-cases](./test-cases)
99

10+
## Specification
11+
12+
The specification webpage is generated from directory [/spec](spec).
13+
14+
It is accessible using URL https://w3id.org/rml/fnml/spec.
15+
16+
#### Edition quickstart
17+
18+
- cd to [/spec](spec)
19+
- Edit sections/index.html
20+
- Make sure all your local assets are in the `resources` folder, and the links in your `index.html` file are relative (important because the publishing script creates multiple nested paths)
21+
- Run a HTTP server in this directory: `python3 -m http.server`
22+
- Open `index.html` with a browser as http://localhost:8000/index.html
23+
- Save as snapshot to `rendered.html` [using the respec functionality](https://respec.org/docs/#using-browser) (button ReSpec/Export/HTML) and copy it to this same folder
24+
25+
URL https://w3id.org/rml/fnml/spec must redirect to the `/spec/docs`(docs) folder.
26+
1027
## License
1128

1229
RML-FNML (c) by W3C Community Group on Knowledge Graph Construction

spec/docs/definitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ An [=Expression Map=] can have the following properties:
5757
The [=Function=] is specified using an [=Function Map=] and the [=Parameter=]s are specified using [=Input=]s.
5858
- As such, an Function Execution can be seen as a way to describe [=Execution=]s.
5959
- An <dfn>Function Map</dfn>: a [=Term Map=] that MUST generate a named node. That named node specifies the referenced [=Function=].
60-
- This can also be specified using a [=constant shortcut property=].
60+
- This can also be specified using a [=constant expression shortcut property=].
6161
- An <dfn>Input</dfn>: a construct to pairwise connect a value (via a [=Term Map=]) to a [=Parameter Map=].
6262
- This [=Term Map=] generates the input value that should be bound to the [=Parameter=] of the referenced [=Function=].
6363
- This [=Term Map=] refers to values from the [=Triples Map=]s iteration.

spec/docs/ontology.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ the preferred prefix is `rml:`.
77
See below for how FNML introduced terms align with RML Core.
88

99
<figure id="figure-diagram">
10-
<img src="./diagrams/diagram.png" alt="FNML diagram" />
10+
<img src="../diagrams/diagram.png" alt="FNML diagram" />
1111
<figcaption>Visual overview of how FNML introduced terms align with RML Core</figcaption>
1212
</figure>
1313

@@ -88,7 +88,7 @@ Range: rml:ReturnMap
8888

8989
#### rml:return
9090

91-
[=constant shortcut property=] of rml:returnMap.
91+
[=constant expression shortcut property=] of rml:returnMap.
9292

9393
### rml:functionMap
9494

@@ -100,7 +100,7 @@ Range: fno:Function
100100

101101
#### rml:function
102102

103-
[=constant shortcut property=] of rml:functionMap.
103+
[=constant expression shortcut property=] of rml:functionMap.
104104

105105
### rml:input
106106

@@ -116,7 +116,7 @@ Range: rml:ParameterMap
116116

117117
#### rml:parameter
118118

119-
[=constant shortcut property=] of rml:parameterMap
119+
[=constant expression shortcut property=] of rml:parameterMap
120120

121121
### rml:inputValueMap
122122

@@ -128,7 +128,7 @@ Range: rml:TermMap
128128

129129
#### rml:inputValue
130130

131-
[=constant shortcut property=] of rml:inputValueMap
131+
[=constant expression shortcut property=] of rml:inputValueMap
132132

133133
<div class="practice">
134134

test-cases/RMLFNOTC0000-CSV/mapping.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
@prefix ex: <http://example.com/> .
33
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
44
@prefix rml: <http://w3id.org/rml/> .
5-
@prefix rml: <http://w3id.org/rml/ .
65
@prefix fno: <https://w3id.org/function/ontology#> .
76
@prefix morph-kgc: <https://github.com/morph-kgc/morph-kgc/function/built-in.ttl#> .
87
@prefix grel: <http://users.ugent.be/~bjdmeest/function/grel.ttl#> .

test-cases/RMLFNOTC0001-CSV/mapping.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
@prefix ex: <http://example.com/> .
33
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
44
@prefix rml: <http://w3id.org/rml/> .
5-
@prefix rml: <http://w3id.org/rml/ .
65
@prefix fno: <https://w3id.org/function/ontology#> .
76
@prefix morph-kgc: <https://github.com/morph-kgc/morph-kgc/function/built-in.ttl#> .
87
@prefix grel: <http://users.ugent.be/~bjdmeest/function/grel.ttl#> .

test-cases/RMLFNOTC0002-CSV/mapping.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
@prefix ex: <http://example.com/> .
33
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
44
@prefix rml: <http://w3id.org/rml/> .
5-
@prefix rml: <http://w3id.org/rml/ .
65
@prefix fno: <https://w3id.org/function/ontology#> .
76
@prefix morph-kgc: <https://github.com/morph-kgc/morph-kgc/function/built-in.ttl#> .
87
@prefix grel: <http://users.ugent.be/~bjdmeest/function/grel.ttl#> .

test-cases/RMLFNOTC0003-CSV/mapping.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
@prefix ex: <http://example.com/> .
33
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
44
@prefix rml: <http://w3id.org/rml/> .
5-
@prefix rml: <http://w3id.org/rml/ .
65
@prefix fno: <https://w3id.org/function/ontology#> .
76
@prefix morph-kgc: <https://github.com/morph-kgc/morph-kgc/function/built-in.ttl#> .
87
@prefix grel: <http://users.ugent.be/~bjdmeest/function/grel.ttl#> .

test-cases/RMLFNOTC0004-CSV/mapping.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
@prefix ex: <http://example.com/> .
33
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
44
@prefix rml: <http://w3id.org/rml/> .
5-
@prefix rml: <http://w3id.org/rml/ .
65
@prefix fno: <https://w3id.org/function/ontology#> .
76
@prefix morph-kgc: <https://github.com/morph-kgc/morph-kgc/function/built-in.ttl#> .
87
@prefix grel: <http://users.ugent.be/~bjdmeest/function/grel.ttl#> .

test-cases/RMLFNOTC0005-CSV/mapping.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
@prefix ex: <http://example.com/> .
33
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
44
@prefix rml: <http://w3id.org/rml/> .
5-
@prefix rml: <http://w3id.org/rml/ .
65
@prefix fno: <https://w3id.org/function/ontology#> .
76
@prefix morph-kgc: <https://github.com/morph-kgc/morph-kgc/function/built-in.ttl#> .
87
@prefix grel: <http://users.ugent.be/~bjdmeest/function/grel.ttl#> .

0 commit comments

Comments
 (0)