it gets even worse :)
we don't even know if it is
http://en.wikipedia.org/wiki/File:Flag_of_Afghanistan.svg or
http://commons.wikimedia.org/wiki/File:Flag_of_Afghanistan.svg

Cheers,
Dimitris


On Wed, Jun 11, 2014 at 1:17 PM, Alexandru Todor <to...@inf.fu-berlin.de>
wrote:

> Hi Diego,
>
> You can't map it to an owl:Thing or xsd:anyURI it's not a url, if you look
> into the contents of the wikipedia infoboxes you have something like:
> image_flag = Flag of Afghanistan.svg . You'd need to generate the images by
> yourself by adding "http://en.wikipedia.org/wiki/File:"; and unsersores to
> get "http://en.wikipedia.org/wiki/File:Flag_of_Afghanistan.svg"; . You can
> do this in your application or with regex in the sparql endpoint.
>
> Cheers,
> Alexandru
>
>
> On Sat, Jun 7, 2014 at 5:45 PM, Diego Valerio Camarda <di...@lodlive.it>
> wrote:
>
>> Hi!
>>
>> I have a question about the mapping procedure.
>> I want to map a property of an infobox that point to an uploaded file but
>> it doesn't work as I expect.
>>
>> Look at this:
>> http://mappings.dbpedia.org/server/extraction/en/extract?title=Italy&revid=&format=trix&extractors=mappings
>>
>> I tried to map
>> {{PropertyMapping | templateProperty = image_flag | ontologyProperty =
>> flag }} in
>> http://mappings.dbpedia.org/index.php/Mapping_en:Infobox_country and
>> extraction procedure give me "Italy flag.svg" as a string
>>
>> so I changed the rdfs:range of dbpprop:flag property (
>> http://mappings.dbpedia.org/index.php/OntologyProperty:Flag)  from
>> xsd:string to owl:Thing hoping to get the right value (something like <
>> http://url.to.file/Italy flag.svg> but the property totally disappeared
>>
>> something is wrong in my approach?
>>
>> thanks,
>> diego
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech
>> _______________________________________________
>> Dbpedia-discussion mailing list
>> Dbpedia-discussion@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>>
>>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Dbpedia-discussion mailing list
> Dbpedia-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
>


-- 
Kontokostas Dimitris
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to