Skip to content

Commit

Permalink
spec: prepare submission
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVanAssche committed May 10, 2023
1 parent 78498d8 commit 161d78e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 37 deletions.
4 changes: 2 additions & 2 deletions spec/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@
<section id="sotd"></section>
<section id="conformance"></section>

<section id="introduction" data-include="introduction.md" data-include-format="markdown"></section>
<!--<section id="introduction" data-include="introduction.md" data-include-format="markdown"></section>-->

<section id="overview" data-include="overview.md" data-include-format="markdown"></section>
<!--<section id="overview" data-include="overview.md" data-include-format="markdown"></section>-->

<section id="vocabulary" data-include="vocabulary.md" data-include-format="markdown"></section>

Expand Down
4 changes: 0 additions & 4 deletions spec/docs/mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ but needs to be computed based on the contents of the database,
can be achieved by defining a [predicate-object map]() with predicate `rdf:type`
and a non-constant [object map]().

+++ ADD example +++

+++ ADD generated RDF +++

## Creating Properties and Values with Predicate-Object Maps

A predicate-object map is a function
Expand Down
8 changes: 0 additions & 8 deletions spec/docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ place some or all of the triples into [named graphs]() instead.

**TODO: Add updated figure here**

## Example Input

## Desired RDF Output

## Examples

# Conformance

# RML Mapping Documents

### RML Mapping
Expand Down
23 changes: 0 additions & 23 deletions spec/docs/termmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ that is the value of its `rml:constant` property.

A constant-valued Expression Map generates by default an [RDF Term]() which is an [IRI]().

+++ ADD example +++

If the [constant-valued Expression Map]()
is a [Subject Map](), [Predicate Map]() or [Graph Map](),
then its constant value MUST be an [IRI]().
Expand All @@ -70,8 +68,6 @@ then its constant value MUST be an [IRI]() or [literal]().

To overwrite the default term type, one needs to specify the [Term Type]() of the [Term Map]().

+++ ADD example +++

| constant-valued Expression Map | Termtype | RDF Term type generated |
| :-------------| :-----| :-----|
| Subject Map | `rml:IRI` (default) | `IRI` (default) |
Expand Down Expand Up @@ -99,8 +95,6 @@ the following triples were present in the mapping graph instead:
| `?x rml:datatype ?y.` | `?x rml:datatypeMap [ rml:constant ?y ].` |
| `?x rml:language ?y.` | `?x rml:languageMap [ rml:constant ?y ].` |

+++ ADD example +++

### Reference (rml:reference)

A _**reference-valued Expression Map**_ is represented by a resource
Expand All @@ -127,8 +121,6 @@ which should generate an [RDF Term]() which is an [IRI](),
or to generate an [IRI]() for an [Object Map](),
then the default [Term Type]() needs to be overwritten.

+++ ADD example +++

### From a Template (rml:template)

A [template-valued term map]() is represented by a resource
Expand Down Expand Up @@ -199,22 +191,14 @@ is the set of column names enclosed in unescaped curly braces in the [template s
The following example defines a [subject map]()
that generates [IRIs]() from ??? of a logical data source.

+++ ADD EXAMPLE +++

Using the sample iteration from ??? as a logical data source,
the template value of the [subject map]() would be:

+++ ADD EXAMPLE +++

The following example shows how an [IRI-safe]() template value is created:

+++ ADD EXAMPLE +++

Using the sample iteration from ??? as a logical data source,
the template value of the [subject map]() would be:

+++ ADD EXAMPLE +++

The space character is not in the iunreserved set,
and therefore percent-encoding is applied to the character, yielding “%20”.

Expand All @@ -230,8 +214,6 @@ By default, `rml:template` generates IRIs.
Since the intention here is to create a literal instead,
the [term type]() has to be set.

+++ ADD EXAMPLE +++


Note that because
[backslashes need to be escaped by a second backslash in the Turtle syntax]() [[TURTLE]],
Expand Down Expand Up @@ -291,9 +273,6 @@ In the following example,
plain literals with language tag “en-us” (U.S. English)
will be generated for the data values in the DNAME column.

+++ ADD EXAMPLE +++


## Typed Literals (rml:datatype)

A _**datatypeable term map**_ is a term map with a term type of `rml:Literal`
Expand Down Expand Up @@ -326,5 +305,3 @@ and a term type of `rml:Literal` can be used.
The following example shows an [object map]()
that explicitly specifies `xsd:positiveInteger` type.
A [datatype-override RDF literal] of that datatype will be generated.

+++ ADD EXAMPLE +++

0 comments on commit 161d78e

Please sign in to comment.