Skip to content

Instantly share code, notes, and snippets.

@stain
Created May 4, 2017 14:03
Show Gist options
  • Save stain/bab50aa1722929c0bc8bb14b9736b874 to your computer and use it in GitHub Desktop.
Save stain/bab50aa1722929c0bc8bb14b9736b874 to your computer and use it in GitHub Desktop.
Is this invalid in OWL2 Full? Punned object/annotation property used on the Ontology
@prefix : <http://example.com/annotatedOntology#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://example.com/annotatedOntology#> .
<http://example.com/annotatedOntology#> rdf:type owl:Ontology ;
owl:versionIRI <http://example.com/annotatedOntology/0.1.0> ;
:property1 <http://example.com/other> .
:property1 rdf:type owl:AnnotationProperty .
:property1 rdf:type owl:ObjectProperty .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment