On Thu, May 15, 2008 at 6:13 PM, mmmmmrob <mmmm...@gmail.com> wrote:
>
> Hey folks,
>
> We're looking at sioc pretty seriously for a project we're partway
> through - changing the underlying model which is very similar to sioc
> to use sioc directly.
>
> Couple of quick questions...
>
> If we have things that fit nicely with the concept of sioc:Container
> but not the more specific types defined here: http://sioc-project.org/ontology#sec-modules-types
> is it preferable to subClass sioc:Container with a class in our
> ontology or simply to use sioc:Container directly?
>
> Same questions for sioc:Item, which I guess gets the same answer ;-)
Indeed, so I'll answer for both, based on the way I'm using SIOC in
order to integrate various existing Web 2.0 services in a corporate
environment.
I'll go for subclassing both elements in a dedicated ontology, in case
your system supports inferencing based on rdfs:subClassOf when
querying data.
Thus, it will let you run queries with different levels of precision,
which could be useful if you add other types of data in the same
system but want to be able to limit queries only to your type of
Container / Item.
Eg: Retrieve all sioc:Post, all myont:XXX, or all sioc:Item (should
retrieve both since they are subclasses of sioc:Item). This will be
more difficult if you directly use sioc:Item, as there is no way to
differentiate sioc:Post from your data when retrieving sioc:Item.
Unless you can de-activate inferencing, or retrieve data that was not
originally a sioc:Item (but became it thanks to inferencing), yet
those aspects depends on the triple store you're using. (Even if
another solution would be to consider the ability to use named graphs
/ provenance)
BTW, do you think your Container / Item types could be integrated in
the SIOC types module ?
>
> Then, I noticed there was no predicate for ordering items with a
> Container other than with next_by_date and previous_by_date. Has the
> idea of generic sioc:next and sioc:previous predicates been discussed
> before? They would help us with our data very much.
I'm not sure, but I think we already discussed it.
Yet, if next_by_date is not what you need, my question will be: how do
you relate two elements with a next property, if that's not by date ?
by ID ?
Alex.
> rob
> >
>
> I'll go for subclassing both elements in a dedicated ontology, in case
> your system supports inferencing based on rdfs:subClassOf when
> querying data.
[...]
> BTW, do you think your Container / Item types could be integrated in
> the SIOC types module ?
Alex answered this in detail already. And, if you have in mind
subtypes of Container or Item which do not appear in the existing SIOC
Types "palette", consider suggesting to add them to the SIOC Types
module.
>> Then, I noticed there was no predicate for ordering items with a
>> Container other than with next_by_date and previous_by_date. Has the
>> idea of generic sioc:next and sioc:previous predicates been discussed
>> before? They would help us with our data very much.
>
> I'm not sure, but I think we already discussed it.
> Yet, if next_by_date is not what you need, my question will be: how do
> you relate two elements with a next property, if that's not by date ?
> by ID ?
One of SIOC-Dev threads discussing this is at [1]. There may be others.
If the properties you mention are needed then we can add them. In such
case, what about making them a bit more specific (in what they
connect): sioc:next_item / sioc:previous_item?
One thing which bothers me about this is that a "linked list" created
by connecting items with previous/next properties is quite volatile -
what if some item in the middle disappears?. You may then "bridge" the
gap and say, e.g. [ item3 --sioc:next-> item5 ] (if item4 was
removed), but other systems which may have consumed previous
information may end up with item3 having two values of the sioc:next
property.
What are details of your use case and would these concerns worry you?
What do other participants of SIOC-Dev think?
P.S. Another idea (which does not exclude the previous) is to create a
new property of a Container which tells / suggests how (by value of
which property) should the container be sorted.
[1] http://groups.google.com/group/sioc-dev/browse_thread/thread/403060c5b7080507/
Uldis
i dont realy care about all the headers, otherwise id make a real schema up
body maps to #content, in-reply-to maps to #reply-of, etc
but how do i say a post is 'directed to' 'has intended recipient'?
i cant find anything. otherwise everything i need fits in fine...
One thing which bothers me about this is that a "linked list" created
by connecting items with previous/next properties is quite volatile -
what if some item in the middle disappears?. You may then "bridge" the
gap and say, e.g. [ item3 --sioc:next-> item5 ] (if item4 was
removed), but other systems which may have consumed previous
information may end up with item3 having two values of the sioc:next
property.
Could you point me at the spec where it says that two domains means the resource must be both?
Uldis and I don't have a problem with it - we always leave out the
domain and range if the OWL thing isn't workable...
We're at Sem Tech though so won't get to do it this week - Uldis, is
next or next_item / previous or previous_item what we proposed when
discussing it on the way over here?
As regards note, is this more than a dc:description associated with a
Container?
Thanks!
John.
--
--
Dr. John Breslin
DERI, NUI Galway
http://sw.deri.org/~jbreslin/
john.b...@deri.org