[ 
https://issues.apache.org/jira/browse/JENA-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne resolved JENA-1196.
---------------------------------
       Resolution: Not A Bug
         Assignee: Andy Seaborne
    Fix Version/s:     (was: Jena 3.1.1)

> jena.graph.Node.getLocalName() bad output
> -----------------------------------------
>
>                 Key: JENA-1196
>                 URL: https://issues.apache.org/jira/browse/JENA-1196
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 3.0.1
>         Environment: Ubuntu 14.04 LTS
>            Reporter: Jacques Fize
>            Assignee: Andy Seaborne
>              Labels: method, patch, triple
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Hi,
> I'm currently using Jena to extract data from DBpedia dumps. In my process, i 
> need to extract the URI of a DBpedia resource URL. I'm using a 
> *Triple*(jena.graph.Triple) to fetch the data. But when i use the 
> _Node.getLocalName()_ on an URL like 
> http://dbpedia.org/resource/World_War_II/London I get *London* which is false.
> To avoid this issue, I propose to implement a new method : 
> *String* _Node.getLocalName_(*String* namespace)
> It allows the user to specify the namespace to have a better extraction of 
> the URI. If such a method exists already, I'm interested in knowing its name.
> Hope it helps.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to