From: Wartik, S. P \Steve\ <sw...@id...> - 2013-04-29 12:30:03
|
Ricardo, If the IRI is represented as a member of class org.semanticweb.owlapi.model.IRI, use the getFragment() method. (If it's just a string, use IRI.create(string).getFragment()). Regards, Steve Wartik -----Original Message----- From: Ricardo González Saldívar [mailto:ri...@gm...] Sent: Sunday, April 28, 2013 11:37 PM To: owl...@li... Subject: [OWLAPI-developer] How to extract the name of a entity Hi everyone, I'm looking for a way to extract only the "name" of an entity. Supose we have the follow IRI: <http://www.semanticweb.org/ontologies/2013/3/Ontology1365128457088.owl#FeasibilityAnalysis> and I need extract only "FeasibilityAnalysis". I have already done this using splits, but I wonder if there is a "better" way for doing this. Regards. R ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Owlapi-developer mailing list Owl...@li...<mailto:Owl...@li...> https://lists.sourceforge.net/lists/listinfo/owlapi-developer |