the manifest can be used in:
- ShEx.JS shex-simple interface
using the rawlink address
var n3 = require('n3') | |
function describe (dlabel, d) { | |
d(it, xit) | |
function it (ilabel, i) { | |
try { | |
i() | |
++passing | |
} catch (e) { |
--- /home/eric/checkouts/linkeddata/rabel/node_modules/file-fetch/index-orig.js 2017-10-30 06:33:39.254504474 -0400 | |
+++ /home/eric/checkouts/linkeddata/rabel/node_modules/file-fetch/index.js 2017-10-30 08:20:25.020709986 -0400 | |
@@ -57,6 +57,30 @@ | |
} | |
} | |
+const util = require('util') | |
+const EventEmitter = require('events') | |
+function send (options) { | |
+ if (!(this instanceof send)) |
{ | |
"@context": { | |
"steps": "act:steps", | |
"score": "act:score", | |
"distance": "act:distance", | |
"date": "act:date", | |
"calories": "act:calories", | |
"act": "http://shapes.pub/shapes/activity.shex#", | |
"xsd": "http://www.w3.org/2001/XMLSchema#" |
{ | |
"@context": { | |
"fitsense": "https://shapes.pub/shapes/activity.shex#", | |
"calories": "fitsense:calories", | |
"date": "fitsense:date", | |
"distance": "fitsense:distance", | |
"score": "fitsense:score", | |
"steps": "fitsense:steps" | |
} | |
} |
module.exports = class { | |
constructor (foo) { | |
class A { | |
constructor (a) { | |
this.a = foo(a); | |
} | |
} | |
class B { | |
constructor (b) { |
PREFIX : <http://example.org/> | |
PREFIX schema: <http://schema.org/> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
PREFIX og: <http://ogp.me/ns#> | |
BASE <http://schema.org/shex> | |
<#BasicUrlSh> ((IRI OR LITERAL) AND CLOSED {} AND /^(https?|gopher|ftps?):/) | |
<#SchemaText> LITERAL OR xsd:string |
diff --git a/packages/eval-simple-1err/eval-simple-1err.js b/packages/eval-simple-1err/eval-simple-1err.js | |
index 2cd9144..6c44bf0 100644 | |
--- a/packages/eval-simple-1err/eval-simple-1err.js | |
+++ b/packages/eval-simple-1err/eval-simple-1err.js | |
@@ -62,6 +62,13 @@ var EvalSimple1Err = (function () { | |
// maybeAddRept(s, [s]); | |
} | |
+ else if (expr.type === "NestedShape") { | |
+ s = State_make(expr, []); |
BASE <http://localhost/checkouts/shexSpec/shex.js/packages/shex-webapp/doc/shex-simple.html> | |
<S1> { | |
<http://schema.org/url> . + | |
%<https://example.org/extension/dummy>{console.log('some url checking code here')%} | |
} AND { | |
<http://schema.org/datePublished> . ? | |
} AND { | |
<http://schema.org/claimReviewed> . | |
} AND { | |
<http://schema.org/itemReviewed> { |
the manifest can be used in:
using the rawlink address
the manifest can be used in:
using the raw link address.