I did a quick test with
http://www.w3.org/ns/prov-oIt indeed fails. Looking into the details, there are newline characters which one could find a bit unexpected. And indeed changing
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <http://www.w3.org/ns/prov#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
rdfs:comment
a owl:AnnotationProperty ;
rdfs:comment ""@en ;
rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> .
rdfs:isDefinedBy
a owl:AnnotationProperty .
to (note the removed newline char at line 7)
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <http://www.w3.org/ns/prov#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
rdfs:comment a owl:AnnotationProperty ;
rdfs:comment ""@en ;
rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> .
rdfs:isDefinedBy
a owl:AnnotationProperty .
makes the parser explode at line 11 rather than 7.
Until Jiba has a beautiful fix, you might want to the remove the extra newline chars, which should not be too hard using regex hopefully.
Hope this helps.
GP