Open AaronNGray opened 1 year ago
https://github.com/awwright/node-rdf/blob/master/lib/RDFNode.js#L353 modified to :-
if(!iri.match(api.NamedNode.SCHEME_MATCH)) throw new Error(`Expected arguments[0] '${iri}' to look like an IRI`);
Error: Expected arguments[0] '"Extended Activity Streams 2.0 Vocabulary"@en' to look like an IRI
at new NamedNode (C:\Users\aaron\GitHub\AaronNGray\rdf-tools\node_modules\rdf\lib\RDFNode.js:353:51)
https://github.com/ontola/ontologies/blob/master/ontologies/as/ontology.ttl#L11
<https://www.w3.org/ns/activitystreams#> a owl:Ontology ;
rdfs:comment "Extended Activity Streams 2.0 Vocabulary"@en ;
rdfs:label "Activity Streams 2.0"@en ;
owl:imports <http://www.w3.org/ns/prov#> .
Error: Expected arguments[0] iri to look like an IRI for 'rdf-tools typescript activitystreams-owl.ttl'