Re: Picture of Dbpedia resource

2016-09-22 Thread A. Soroka
Jena does not render SVG graphics. It is an RDF framework and that is not at 
all part of its purpose. There are many other projects available that have this 
as a supported purpose:

https://www.google.com/search?q=java+svg

---
A. Soroka
The University of Virginia Library

> On Sep 22, 2016, at 6:27 AM, tina sani  wrote:
> 
> Hi
> 
> If I download the depiction/picture from Dbpedia about a resource such as
> Berlin, import it in Protege as:
> 
>  
> "Coat_of_arms_of_Berlin.svg"
> 
> Then how can I display it using Jena code.



Re: Picture of Dbpedia resource

2016-09-22 Thread Andy Seaborne



On 22/09/16 11:27, tina sani wrote:

Hi

If I download the depiction/picture from Dbpedia about a resource such as
Berlin, import it in Protege as:

 


Wrong predicate for foaf:depiction: it is
   http://xmlns.com/foaf/0.1/depication


"Coat_of_arms_of_Berlin.svg"


That is not the result of result of querying DBpedia where you get a URL 
for the depiction.


Then how can I display it using Jena code.


Jena does not have an SVG viewer.

Try sending the URL for the depcition to your local browser.

Andy





Picture of Dbpedia resource

2016-09-22 Thread tina sani
Hi

If I download the depiction/picture from Dbpedia about a resource such as
Berlin, import it in Protege as:

 
"Coat_of_arms_of_Berlin.svg"

Then how can I display it using Jena code.