RDF1.1 semantics defines an RDF Interpretation and mixes up the model and the mapping from the syntax to the model. I want to work out independently what its category of all models is. (In order to perhaps later be able to define an institution for it).
Luckily the model is extremely simple:
- A non-empty set IR of resources, called the domain or universe of I.
- A set IP, called the set of properties of I.
- A mapping IEXT from IP into the powerset of $IR \times IR$ i.e. the set of sets of pairs $ \langle x, y \rangle$ with x and y in IR .
It looks like one can map this structure nicely to a Quiver, by creating the set of arrows like this $AR =\{ \langle a,p,b\rangle \mid p \in IP \land \langle a,b \rangle \in IEXT(p) \}$. We can then define two functions $s,t : AR \to IR \cup IP$ as $s \langle a,p,b \rangle=a$ and ${t \langle a,p,b \rangle =b}$ which gives us the Quiver.
This is a subset of all Quivers I believe. Is it a special one? By mapping this to a Quiver this way I loose the type information, which does play a central role in RDF. So I was wondering if there is a structure that keeps that, so that I could know that all arrows that are part of the same $IEXT(p)$ powerset have something in common.
Do I need to add to the set of arrows some more arrows from an element of one of the relations selected by IEXT, ie to a subobject of $IR \times IR$. So we need to add $TP= \{ \langle rels,0,a \rangle, \langle rels,1,b \rangle \mid p \in IP \land IEXT(p) = rels \land \langle a,b \rangle \in rels \}$ ?
As this is used for logical modelling and we have powersets I was wondering if there is an obvious relation to topos theory perhaps...