Thank you for your answers
I writed a program that generate an OWL ontology
I store all the concepts in an OntModel Object, after that I generate an
OWL file
But I don't know where I can found the graph name !

thank you
regards,



2013/6/5 David Jordan <[email protected]>

>
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> PREFIX owl: <http://www.w3.org/2002/07/owl#>
>
> select (count(?class) as ?count)
> where {
>         graph <put_your_model_graph_name_here> {
>                 ?class   a   owl:Class .
>         }
> }
>
> -----Original Message-----
> From: reda chbihi [mailto:[email protected]]
> Sent: Wednesday, June 05, 2013 3:42 PM
> To: [email protected]
> Subject: Re: Retrieving informations from a model
>
> can you give me an example?
> Thank you
>
> Regards,
>
>
> 2013/5/30 David Jordan <[email protected]>
>
> > Yes, it is most efficient to do this via a SPARQL query.
> >
> > -----Original Message-----
> > From: reda chbihi [mailto:[email protected]]
> > Sent: Thursday, May 30, 2013 12:44 PM
> > To: [email protected]
> > Subject: Retrieving informations from a model
> >
> > Hi all,
> >
> > Is it possible to retrieve informations like number of class, number
> > of ObjectProperties and so on from a model object ?
> >
> > Thank you
> > Regards,
> >
> > --
> > Mohammed Reda CHBIHI LOUHDI
> >
> >
>
>
> --
> Mohammed Reda CHBIHI LOUHDI
>
>


-- 
Mohammed Reda CHBIHI LOUHDI

Reply via email to