Explorar o código

removed resource:definition annotation

rakshit %!s(int64=2) %!d(string=hai) anos
pai
achega
a2dca1ec2b

+ 2 - 9
be.uantwerpen.msdl.vafl.docgen/src/be/uantwerpen/msdl/vafl/docgen/main/generate.mtl

@@ -37,8 +37,8 @@ The vocabulary bundle is composed of the following sub-vocabulary bundles:
 [generateBoxAnnotations(aVocabularyBundle)/]
 
 The vocabulary bundle is composed of the following vocabularies:
-
-[for (anInclusion: VocabularyBundleInclusion | aVocabularyBundle.ownedImports->filter(oml::VocabularyBundleInclusion))]
+[comment Vocabularies/]
+[for (anInclusion: VocabularyBundleInclusion | aVocabularyBundle.ownedImports->filter(oml::VocabularyBundleInclusion)->select(p|p.prefix = null))]
 [let aVocabulary : Vocabulary = getAllVocabularies(topBundle)->select(p|p.namespace.matches(anInclusion.namespace))->any(true)]
 \subsection{[annotationValue(getTitleAnnotation(aVocabulary))/][isDeprecated(aVocabulary)/]}
 \label{subsec:[annotationValue(getLabelAnnotation(aVocabulary))/]}
@@ -70,13 +70,6 @@ Also known as: [for (aName : Annotation | anEntity.ownedAnnotations->select(p|p.
 
 \todo{add @dc:description annotation to entity!}
 [/if]
-[if (anEntity.ownedAnnotations->exists(p|p.property.name.toString().matches('definition')))]
-
-[annotationValue(getDefinitionAnnotation(anEntity))/]
-[else]
-
-\todo{add @resource:definition annotation to entity!}
-[/if]
 [if (anEntity.ownedSpecializations->notEmpty())]
 
 \textbf{Subclass of:}

+ 0 - 1
be.uantwerpen.msdl.vafl.ontology/README.md

@@ -42,7 +42,6 @@
 | @rdfs:label                       | True name of the type                                                            |
 | @resource:aka (optional)          | Other names of the type                                                          |
 | @dc:^description                  | Brief description of the type class                                              |
-| @resource:definition              | Definition of the individuals of type                                            |
 | @resource:illustration (optional) | Illustrative example of an individual of the type                                |
 | @owl:deprecated (optional)        | Type is deprecated                                                               |
 | @owl:priorVersion (optional)      | The previous version (if exists) of the type (format as NAMESPACE)               |