W3C home > Mailing lists > Public > public-vocabs@w3.org > March 2015

Re: Modeling question: folders (directories) and files

From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
Date: Sat, 07 Mar 2015 13:08:27 +0100
Message-ID: <54FAEA3B.1030500@wwelves.org>
To: Jeff Evans <jeffrey.wayne.evans@gmail.com>, John Walker <john.walker@semaku.com>
CC: public-vocabs@w3.org
Hi Jeff,

On 03/07/2015 06:11 AM, Jeff Evans wrote:
> I appreciate all the responses.  I tried using Nepomuk File Ontology
> in conjunction with a base of schema.org/CreativeWork, as it seems to
> make a bit more sense to me than the alternatives I've seen (again,
> given my desire to use schema.org types for future Gmail integration).
> I had a hard time finding JSON-LD examples for doing this, so I would
> appreciate any feedback to determine if I'm on the right track  -
> http://tinyurl.com/l4cyylq
I made 2 fixes and added some suggestions, see differences in
http://tinyurl.com/nh7ld7u

* s/action/potentialAction/
* s/url/target/
see http://schema.org/docs/actions.html

* s/nie:#created/nie:created/
* s/nie:#lastModified/nie:lastModified/
datatype xsd:dateTime didn't apply with those extra #

* moved value from additionalType to "@type" array
AFAIK additionalType serves only as workaround for limitations in Microdata

* added encodingFormat
AFAIK you can use any property on any type no matter rangeIncludes
domainIncludes *hints*

Cheers!


> 
> On Thu, Mar 5, 2015 at 5:20 AM, John Walker <john.walker@semaku.com> wrote:
>> Hi Jeff,
>>
>> If you are not set on using Schema.org, you could look at Nepomuk File
>> Ontology for inspiration:
>> http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/
>>
>> John
>>
>>
>>> On March 4, 2015 at 10:53 PM Jeff Evans <jeffrey.wayne.evans@gmail.com>
>>> wrote:
>>>
>>>
>>> Apologies if this is the incorrect forum for this type of question. I
>>> looked through the various pages on schema.org and didn't find
>>> anything that seemed more suitable. But feel free to redirect me to a
>>> more appropriate place if one exists.
>>>
>>> I'm trying to model the concept of folders (or directories) and files
>>> for an application. Folders can contain files, or other folders
>>> (arbitrary nested recursive structure, like on your basic filesystem).
>>> I would ideally like to start with a schema.org context, and extend it
>>> to represent these entities. I am also interested in using JSON-LD as
>>> the format.
>>>
>>> After some research and looking into examples, it seems like using a
>>> base of http://schema.org/CreativeWork, along with additionalType in
>>> conjunction with productontology.org is a relatively straightforward
>>> way to express this. I just wanted to get some input on whether I'm
>>> going about this in the right way, or if perhaps there is a
>>> cleaner/more sensible way to model these concepts. Any insight is
>>> appreciated.
>>>
>>> Sample folder: http://tinyurl.com/onyp3jn
>>> Sample file: http://tinyurl.com/nanr9ga
>>>
>>>
> 
> 



Received on Saturday, 7 March 2015 12:08:41 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 7 March 2015 12:08:42 UTC