On 2 May 2012 17:10, Marco Fossati <[email protected]> wrote: > Hi guys, > > I've just added a mapping [1] in the wiki and I got validation errors > like this: > > Couldn't load property mapping on page title=Box > successione;ns=212/Mapping it/Mapping it;language:wiki=en,locale=en. > Details: Ontology property not found: schema:duration > > I'm actually using a property coming from schema.org ontology. > Validation works well when using foaf ontology for example. > Any hints? >
Properties like foaf:name have entries in the wiki (e.g., http://mappings.dbpedia.org/index.php/OntologyProperty:Foaf:name) schema:duration doesn't, hence the error. > Thank you in advance. > Cheers, > > Marco > > [1] http://mappings.dbpedia.org/index.php/Mapping_it:Box_successione Here, you would ideally use: {{DateIntervalMapping | templateProperty = periodo | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }} but the date interval parser would need some changes for language-specific intervals (that is, it expects things like '[[1900]] - [[1910]]', and won't catch things like 'dal [[1900]] al [[1910]]') -- <Sefam> Are any of the mentors around? <jimregan> yes, they're the ones trolling you ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
