Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-dev] How to display the "property" on webprotege

Matthew Horridge matthew.horridge at
Mon May 11 15:16:17 PDT 2015


You need to add a SubClassOf axiom where athing is the subclass and “row some xsd:string” is the superclass.

In OWL it looks like this:

SubClassOf( :athing  DataSomeValuesFrom( :row  xsd:string))

In turtle (RDF triples) like this:

:athing  rdf:type owl:Class ;
            rdfs:label “athing” ;
	    rdfs:subClassOf  [
		 	rdf:type owl:Restriction ;
			owl:onProperty  :row ;
     			owl:someValuesFrom  xsd:string 
		] .

You should make sure that :row is typed as a data property.


:row rdf:type owl:DatatypeProperty .

Hope this helps. 




> On 11 May 2015, at 14:46, mywbob <mywbob at> wrote:
> Hello all,
> I am new to webprotege. I want to generate some file that can be upload to
> webprotege to shown the example in the figure using Jena. 
> <> 
> note the "row" and "string" are displayed on the property section.
> I am able to make Java program to add "row" as dataproperty or
> objectproperty(using Jena) and I can see them under the property tab. But I
> just cannot figure out how to display this property like the way shown in
> the figure.
> any Java code example to generate something shown in the figure are welcome.
> Thank You!
> --
> View this message in context:
> Sent from the Protege Developer mailing list archive at
> _______________________________________________
> protege-dev mailing list
> protege-dev at

More information about the protege-dev mailing list