Hi all,

I just remembered there already is a similar DBpedia property: runtime
[1][2]. It even declares schema:duration as owl:equivalentProperty.

The name 'runtime' is less than perfect and only applies to movies
etc, 'duration' is more general. For example, schema.org/Movie also
uses schema:duration. Maybe we should have renamed 'runtime' to
'duration' instead?

While it's on our wiki, I just changed schema:duration from
ObjectProperty to DatatypeProperty. It has range schema.org/Duration,
which because of the capital D looks like a class, but is actually a
datatype that looks equivalent to xsd:duration.

At first I liked the idea of using schema.org properties and types,
but maybe we should wait until the RDF schema for schema.org is
published and used. For example, schema:duration doesn't have a
dereferencable URI yet.

Regards,
Christopher

[1] http://dbpedia.org/ontology/runtime
[2] http://mappings.dbpedia.org/index.php/OntologyProperty:Runtime

On Thu, May 3, 2012 at 1:49 PM, Jona Christopher Sahnwaldt
<[email protected]> wrote:
>> OK, so should I add schema:duration in the wiki?
> +1
>
> On Thu, May 3, 2012 at 11:42 AM, Marco Fossati <[email protected]> wrote:
>> 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

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