rdmpage / lois-kg

Lots of interesting stuff knowledge graph
0 stars 0 forks source link

schema:sameAs is a URI #14

Open rdmpage opened 4 years ago

rdmpage commented 4 years ago

I have been treating URIs in schema:sameAs as strings not URIs, based on how they are rendered in JSON-LD examples as arrays of strings. But, in the schema.org context we can see:

sameAs: {
"@id": "schema:sameAs",
"@type": "@id"
}

so, of course, these are URIs that are only displayed as strings. Oh what an idiot :( Need to modify some code to deal with this (and can now avoid contortions with BIND(?string) AS ?uri).