We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e811907 commit a4ad1a2Copy full SHA for a4ad1a2
core/src/main/scala/org/dbpedia/extraction/ontology/io/OntologyOWLWriter.scala
@@ -91,7 +91,8 @@ class OntologyOWLWriter(writeSpecificProperties : Boolean = true)
91
{
92
val xml = new scala.xml.NodeBuffer()
93
94
- //Type
+ //Type (add rdf:Property as well, we already do it for the class instances)
95
+ xml += <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property" />
96
if (property.isFunctional)
97
98
xml += <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty" />
0 commit comments