W3C home > Mailing lists > Public > public-schemaorg@w3.org > March 2017

Question regarding using <http://www.schema.org/ItemList> with items from other ontologies

From: Tobias Schweizer <t.schweizer@unibas.ch>
Date: Thu, 23 Mar 2017 18:16:28 +0100
To: public-schemaorg@w3.org
Message-ID: <1f35d1cc-c1df-77cb-8283-7824d374be28@unibas.ch>

I am currently designing the API V2 for our repository 
(http://www.knora.org) that is based on an RDF-triplestore.

I would like to use |JSON-LD| along with entity definitions from 
http://www.schema.org in order to re-use existing ontologies (as stated 
We would like to use http://www.schema.org/ItemList because then 
everyone familiar with http://www.schema.org entities could process our 
search results.

My question is if I can represent items in an |ItemList| that are not 
derived from http://www.schema.org/Thing as shown in this example:

|{ "@context": { "@vocab": "http://schema.org/", "title_inc": 
"http://www.knora.org/ontology/incunabula/title", "title_beol": 
"http://www.knora.org/ontology/beol/title" }, "@type": "ItemList", 
"url": "http://www.knora.org/v2/search/fulltext/someString", 
"numberOfItems": "2", "itemListElement": [{ "@type": 
"http://www.knora.org/ontology/beol/letter", "title_beol": "Johann 
Bernoulli an ..." }, { "@type": 
"http://www.knora.org/ontology/incunabula/book", "title_inc": "Das 
Narrenschiff" } ] } |

http://www.knora.org/ontology/beol/letter and 
http://www.knora.org/ontology/incunabula/book are both subclasses of 
which is very generic.

However, this does not comply with the expected type of |itemListElement|.

You find more information about the background of my question here: 

I am very grateful for any kind of hint.

kind regards

Tobias Schweizer


Dr. Tobias Schweizer
Digital Humanites Lab
University of Basel
Received on Thursday, 23 March 2017 17:19:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:12:34 UTC