You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h3>Specific support for SHACL logical operators</h3>
319
+
320
+
<p/>SHACL logical operators, typically <ahref="https://www.w3.org/TR/shacl/#OrConstraintComponent">sh:or</a>, require a cumbersome RDF structure.
321
+
xls2rdf provide specific wrapper to enable to easily turn a list of values in a column to the corresponding SHACL logical operator (typically sh:or, or sh:and or sh:xone).
322
+
to do this add the parameter <code>wrapper="sh:or"</code> (or <code>wrapper="sh:and"</code> or <code>wrapper="sh:xone"</code>) to your header, combining it with a <code>separator="x"</code> parameter.
323
+
<p/>This is how it looks like:<br/>
324
+
<imgsrc="images/convert-screenshot-shor.png" />
325
+
<p/>The above example will output the single triple <code>ex sh:class <http://exemple.fr/1></code> if "http://exemple.fr/1" is the only value in the value, but will output the following if there is the 2 values "http://exemple.fr/1" and "http://exemple.fr/2" in the cell:
<li><code>reconcile="local"</code> or <code>reconcile="external"</code> : whether to reconcile the value either locally or to an external reconcile endpoint (not implemented yet)</li>
384
399
<li><code>separator=";"</code> : specifies the separator to split cell in multiple values</li>
385
400
<li><code>subjectColumn="dcterms:creator"</code> or <code>subjectColumn="columnId"</code> or <code>subjectColumn="C"</code> : specifies the column containing the URI of the subject for predicates generated from this column</li>
386
-
401
+
<li><code>wrapper="sh:or"</code> or <code>wrapper="sh:and"</code> or <code>wrapper="sh:xone"</code> : instruct the converter to wrap the list of values of the cell into a SHACL sh:or operator</li>
0 commit comments