- From: Niklas Lindström <lindstream@gmail.com>
- Date: Thu, 5 Mar 2015 18:05:52 +0100
- To: Jeff Evans <jeffrey.wayne.evans@gmail.com>
- Cc: John Walker <john.walker@semaku.com>, "public-vocabs@w3.org" <public-vocabs@w3.org>
- Message-ID: <CADjV5jeake+vJRNOTOJtriOMZhTWYPBJEH9MLfsMMzTLEXjMLQ@mail.gmail.com>
Is it possible that you could simply describe web pages with subpages? That is, the "web surface", regardless of what constitutes the underlying structures on disk. Then you can use http://schema.org/WebPage (or specializations such as schema:SearchResultsPage or schema:CollectionPage), and link to subpages with http://schema.org/hasPart (these being of type schema:WebPage). Cheers, Niklas On Thu, Mar 5, 2015 at 5:47 PM, Jeff Evans <jeffrey.wayne.evans@gmail.com> wrote: > I would prefer to use schema.org as the base type/context, for > eventual integration with Gmail. Even if it can't really understand > what to do about a file or folder, my hope is it would at least show a > link to the website URL, similar to the ones shown for airline > reservations, etc. The goal would be to have a single JSON-LD > document that could be consumed by Gmail, as well as our own internal > applications that receive these emails (which will, of course, know > what to look for more specifically). > > Do you know of any examples that make use of a schema.org extension > mechanism, and include attributes from both schema.org types, as well > as types from an additional grammar (NFO, in this case)? If they > exist, I haven't had much luck finding them in web searches. > > > 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 Thursday, 5 March 2015 17:06:49 UTC