summaryrefslogtreecommitdiffstats
path: root/quickstart/template.py
diff options
context:
space:
mode:
Diffstat (limited to 'quickstart/template.py')
-rwxr-xr-xquickstart/template.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/quickstart/template.py b/quickstart/template.py
index ead6874..eaa1669 100755
--- a/quickstart/template.py
+++ b/quickstart/template.py
@@ -1,5 +1,12 @@
#!/usr/bin/env python
# Example quickstart template for designing new ontologies
+"""Descriptive vocabulary for foos
+
+This vocabulary serves a purpose of shedding light into semantics
+in the field of foos.
+"""
+__author__ = 'John Doe'
+
from sys import argv
#from genshi.input import XML
@@ -10,7 +17,7 @@ from ontogen.ontogen import Property, Class, Example, OntologyWithFigure, \
#from ontogen.ontogen import log
#log.setLevel('DEBUG')
-BASE = 'http://example.org/net/template'
+base_uri = 'http://example.org/net/template'
#
@@ -74,16 +81,10 @@ ontologies = Ontologies()
class template(OntologyWithFigure):
- """Descriptive vocabulary for foos
-
- This vocabulary serves a purpose of shedding light into semantics
- in the field of foos.
- """
- base_uri = BASE
#creator = XML('''\
# <dc:X xmlns:dc="http://purl.org/dc/elements/1.1/"
# >John Doe</dc:X>''')
- creator = 'John Doe'
+ pass
@ontologies.include