incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McBride (JIRA)" <>
Subject [jira] [Created] (JENA-112) enhance schemagen to import ontologies for inference
Date Wed, 07 Sep 2011 10:01:10 GMT
enhance schemagen to import ontologies for inference

                 Key: JENA-112
             Project: Jena
          Issue Type: Improvement
          Components: Jena
            Reporter: Brian McBride

I have an ontology for publishing linked data that is based on the data cube ontology [1].
 It defines properties as AttributeProperties.  The data cube ontology defines AttributeProperties
to be a subclass of rdf:Property.  However, even with inference turned on, schemagen does
not recognise my AttributeProperties as properties, presumably because it has not loaded the
cube ontology and thus cannot infer that they are properties.  Instead it treats them as resources.

e.g. for

		a					qb:AttributeProperty;
		rdfs:label			"using"@en;
		rdfs:comment		"An instrument used in making a measurement"@en;
		rdfs:isDefinedBy	<>;

schemagen produces


    /** <p>An instrument used in making a measurement</p> */
    public static final Resource using = m_model.createResource( ""

It would be good if schemagen could process imported ontologies, either including them directly
from the web or by enabling the user to specifiy files where they may be found.


This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message