dbpedia / extraction-framework

The software used to extract structured data from Wikipedia
860 stars 269 forks source link

RML mapping uses wrong namespace http://en.dbpedia.org/resource/ #512

Open VladimirAlexiev opened 7 years ago

VladimirAlexiev commented 7 years ago

@wmaroy Eg https://github.com/dbpedia/extraction-framework/blob/rml/mappings/rml/en/Mapping_en:Cornwall-geo-stub.ttl:

@prefix dbr-en:     <http://en.dbpedia.org/resource/>.

<ConstantMapping/1>  a  rr:PredicateObjectMap ;
  rr:object     dbr-en:Conrwall ;
  rr:predicate  dbo:country .

<ConstantMapping/0>  a  rr:PredicateObjectMap ;
   rr:object     dbr-en:United_Kingdom ;
   rr:predicate  dbo:country .

But http://en.dbpedia.org/resource/United_Kingdom doesn't resolve, http://dbpedia.org/resource/United_Kingdom does

chile12 commented 7 years ago

@wmaroy can you point me to the place where you insert the prefixes in this string?

wmaroy commented 7 years ago

@chile12 This happens here . http://en.dbpedia.org/resource/ is derived from the ConstantMapping that is loaded by the Extraction Framework.

m1ci commented 4 years ago

@VladimirAlexiev @wmaroy is this issue still valid?

VladimirAlexiev commented 4 years ago

@m1ci both links by me and by @wmaroy are broken, so maybe the issue is obsolete .

What drives the mapping process now, RML or the mapping wiki?