We're updating the issue view to help you get more done. 

A blank node value of rdfs:range kill the Workbench Turtle Parser

Description

Trying to import this ontology in Turtle
https://github.com/FranckCo/OntoGeo/blob/master/insee-geo-onto.ttl
I got an error report for this description (line 715 of the original file) due to the rdfs:range declaration.

igeo:codeAdministratifGeonames
a owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain igeo:TerritoireAdministratif;
rdfs:range
[ a owl:Restriction ;
owl:hasValue <http://www.geonames.org/ontology#A> ;
owl:onProperty skos:inScheme.
] ;
rdfs:label "code administratif Geonames"@fr .

There are similar blank node restrictions in the file, used more usually as rdfs:subClassOf objects, with the same syntax and they don't trigger an error.

The same file re-serialized in RDF-XML using Protégé is imported w/o problem.

Environment

None

Status

Assignee

JeenB

Reporter

Bernard Vatant

Labels

None

Components

Fix versions

Affects versions

2.6.10
2.6.5

Priority

Minor