在 2014年10月10日 22:25, Joshua TAYLOR 写道:
Are you asking how to get classes that don't have any (declared,
nontrivial, etc.) subclasses?  You could do that with the Jena Model
API, but a SPARQL query here would be *very* simple:

select ?class where {
   ?leaf a rdfs:Class .
   filter not exists { ?subleaf rdfs:subClassOf ?leaf }
}
Yes.
I don't find a convenient Jena Model API to do that. But the above SPARQL query is really very simple.
Thank you very much.


On Fri, Oct 10, 2014 at 10:11 AM, Deyan Chen <[email protected]> wrote:
在 2014年10月10日 19:40, Joshua TAYLOR 写道:
On Thu, Oct 9, 2014 at 11:23 PM, Deyan Chen <[email protected]> wrote:
class view
What is class view?
Maybe my expression is not right. It means class hierarchical structure in
an ontology schema.

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation,
its subsidiaries and/or its affiliates. If any reader of this communication
is not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying is strictly prohibited, and may be
unlawful.If you have received this communication in error,please immediately
notify the sender by return e-mail, and delete the original message and all
copies from your system. Thank you.
---------------------------------------------------------------------------------------------------



---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---------------------------------------------------------------------------------------------------

Reply via email to