Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 1.35 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.35 KB

Schema Dot Org Server

Schema.org offers a well thought out RDF schema for representing knowledge. It serves as a good starting point for modelling application specific ontologies. While Schema.org supports the notion of "Extensions", we needed more flexibility in order to iterate rapidly.

SDOServer offers the ability to support a development cycle for RDF Schemas based on Schema.org Ontology. It lets you view and explore your RDF Schema interactively in a browser and does some basic validation.

The RDF files provided as input to SDOServer follow the same format as those of schema.org. The views are rendered based on rangeIncludes and domainIncludes both of which are RDFS properties defined by schema.org.

Installation and Usage

git clone https://github.com/deep-compute/sdo-server.git && cd sdo-server
pip install git+git://github.com/deep-compute/basescript.git
pip install git+git://github.com/deep-compute/funcserver.git
pip install -r requirements.txt
# <RDFDIRN> is a directory where rdfs files are stored
# If context files are required for json ld, pass the dir where they are
# access them via /schema/context/<context_file>
python sdoserver.py --log-level info --port <PORT> <RDFDIR1> <RDFDIR2> [ --context-dir <CONTEXT_DIR> ]

Misc notes

SDOServer is built using funcserver.