owl.rb revision e7b98e9afc1566c16deab31c630a1f272b549f1d
IDENTIFIERS = %w(OWL OWL2)
end
if is_annotation_sentence?(hash)
\s+
\s+
"(?<annotation>.*)" # The actual annotation
\s*
if m
case m['annotation_type']
when 'label'
when 'comment'
end if entity
end
false
else
true
end
end
end
def ontology_end(hash, ontology)
rescue ActiveRecord::RecordNotFound => e
Rails.logger.warn "Could not create entity tree for: #{ontology.name} (#{ontology.id}) caused #{e}"
end
end
return true if hash['kind'] == 'AnnotationProperty'
end
false
end
end
end