buda-base / owl-schema

BDRC Ontology Schema
11 stars 2 forks source link

TemporarilyRestricted vs. RestrictedTemporarily #130

Closed MarcAgate closed 5 years ago

MarcAgate commented 5 years ago

in http://purl.bdrc.io/resource/W1KG24968.ttl we have adm:access bdr:AccessTemporarilyRestricted ;

but http://purl.bdrc.io/resource/AccessTemporarilyRestricted.ttl fails while http://localhost:8080/resource/AccessRestrictedTemporarily.ttl succeeds

eroux commented 5 years ago

It's probably a problem in xmltold... I think it would be faster to run a small SPARQL query changing the triples than running a new migration though

MarcAgate commented 5 years ago

the following update request did the job in fuseki dataset:

DELETE {graph ?s {?s adm:access bdr:AccessTemporarilyRestricted .}} INSERT {graph ?s {?s adm:access bdr:AccessRestrictedTemporarily .}} where { { ?s adm:access bdr:AccessTemporarilyRestricted .} }

eroux commented 5 years ago

Great, thanks!