Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define basic components & setup an import mechanism for them #1

Open
2 of 7 tasks
kareniel opened this issue Jan 7, 2017 · 1 comment
Open
2 of 7 tasks

define basic components & setup an import mechanism for them #1

kareniel opened this issue Jan 7, 2017 · 1 comment

Comments

@kareniel
Copy link
Contributor

kareniel commented Jan 7, 2017

These basic components should be defined in a rdf/xml file.
We need a script to import any rdf/xml file, and then a script that serves as an init process for the server app.

  • define basic components (start with RDF's spec)
  • write definition as rdf/xml
  • write import script
    • grab document at a URL
    • parse N3
    • batch save to db
  • write init script
@kareniel kareniel changed the title define & import basic define basic components & setup an import mechanism for them Jan 7, 2017
@kareniel
Copy link
Contributor Author

kareniel commented Jan 8, 2017

Documents from which to get the basic necessary vocubulary:

The relation between an instance and its class is stated through the rdf:type property.

rdf:type -> property to attribute classes to subjects
rdfs:Resource -> class of every subject

So to simply define a new thing, you would declare:
<thing> <rdf:type> <rdfs:Resource>
But this is not necessary because it is implied by every statement.

Main modeling constructs provided by RDF Schema:

Construct Syntactic form Description
type (a property) I rdf:type C I (a resource) is an instance of C (a class)
Class (a class) C rdf:type rdfs:Class C (a resource) is an RDF class
Property (a class) P rdf:type rdf:Property P (a resource) is an RDF property
subClassOf (a property) C1 rdfs:subClassOf C2 C1 (a class) is a subclass of C2 (a class)
subPropertyOf (a property) P1 rdfs:subPropertyOf P2 P1 (a property) is a sub-property of P2 (a property)
domain (a property) P rdfs:domain C domain of P (a property) is C (a class)
range (a property) P rdfs:range C range of P (a property) is C (a class)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant