First of all, thanks for the quick answer.

On 5/2/12 8:23 PM, Jimmy O'Regan wrote:
> 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.
OK, so should I add schema:duration in the wiki?
>
>> 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]]')
>
I will investigate this solution.
Cheers,

Marco

------------------------------------------------------------------------------
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

Reply via email to