Proposed properties (summary / stats properties) for discussions

2 views
Skip to first unread message

Breslin, John

unread,
May 13, 2009, 10:52:10 AM5/13/09
to sioc...@googlegroups.com
Hi all -

Based on the efforts at the Drupal RDF(a) code sprint here in DERI, I am asking for feedback on a few new properties that are similar to some existing ones like num_replies.

I'd value your opinions. Many of these can be of course derived from other data but they would provide nice summaries that could be used e.g. in a search such as http://www.google.com/search?q=best+irish+pubs+boards

num_threads
The number of Threads (AKA discussion topics) in a Forum.
Domain: sioc:Forum; Range: xsd:integer

num_posts (or else num_items)
The number of Posts (or Items) in a Forum (or a Container).
Domain: sioc:Forum (or else sioc:Container); Range: xsd:integer

last_post_date (or else last_item_date)
The date and time of the last Post (or Item) in a Forum (or a Container).
Domain: sioc:Forum (or else sioc:Container); Range: xsd:dateTime
subPropertyOf: dcterms:date

num_authors
The number of unique authors (Users and unregistered posters) who have contributed to this Item, Thread, Post, etc.
Domain: owl:Thing; Range: xsd:Integer

num_replies (*already exists*)

last_reply_date
The date and time of the last reply Post or Comment. This could be associated with a starter Item or Post, or with a Thread.
Domain: owl:Thing; Range: xsd:dateTime
subPropertyOf: dcterms:date

Thanks,

John.

--
John Breslin
NUI Galway
http://www.johnbreslin.org/
john.b...@nuigalway.ie

Simon Reinhardt

unread,
May 13, 2009, 11:23:28 AM5/13/09
to SIOC-Dev
On May 13, 3:52 pm, "Breslin, John" <john.bres...@nuigalway.ie> wrote:
> Based on the efforts at the Drupal RDF(a) code sprint here in DERI, I am asking for feedback on a few new properties that are similar to some existing ones like num_replies.

Do you have some use cases to back up the usefulness of those
properties, e.g. fields like that in Drupal?

> num_threads
> The number of Threads (AKA discussion topics) in a Forum.
> Domain: sioc:Forum; Range: xsd:integer
>
> num_posts (or else num_items)
> The number of Posts (or Items) in a Forum (or a Container).
> Domain: sioc:Forum (or else sioc:Container); Range: xsd:integer

Those make sense to me. How about range: xsd:nonNegativeInteger?

> last_post_date (or else last_item_date)
> The date and time of the last Post (or Item) in a Forum (or a Container).
> Domain: sioc:Forum (or else sioc:Container); Range: xsd:dateTime
> subPropertyOf: dcterms:date

Maybe subPropertyOf dcterms:modified? Although that's a bit wonky, I
admit. :-)

> num_authors
> The number of unique authors (Users and unregistered posters) who have contributed to this Item, Thread, Post, etc.
> Domain: owl:Thing; Range: xsd:Integer

Also range: xsd:nonNegativeInteger.

> num_replies (*already exists*)

Should that be a subPropertyOf num_posts/num_items?

> last_reply_date
> The date and time of the last reply Post or Comment.  This could be associated with a starter Item or Post, or with a Thread.
> Domain: owl:Thing; Range: xsd:dateTime
> subPropertyOf: dcterms:date

And should that be a subPropertyOf last_post_date/last_item_date?

Regards,
Simon

Breslin, John

unread,
May 14, 2009, 4:43:06 AM5/14/09
to sioc...@googlegroups.com
> Do you have some use cases to back up the usefulness of those
properties, e.g. fields like that in Drupal?

Yep, to annotate column data from a page such as
http://sioc-project.org/forum or http://sioc-project.org/forum/10 with
RDFa.

>> num_*


> Those make sense to me. How about range: xsd:nonNegativeInteger?

Yes, and could change num_replies range too.

>> last_post_date (or else last_item_date)


>Maybe subPropertyOf dcterms:modified? Although that's a bit wonky, I
admit. :-)

Yes, it is a similar idea (the Forum was last modified through the
creation of new content within it).

>> num_replies (*already exists*)
>Should that be a subPropertyOf num_posts/num_items?
>>last_reply_date

>And should that be a subPropertyOf last_post_date/last_item_date?

Regarding these two, I don't know - the domain for the sub-types are
different (either greater than or of a different type) than the
super-types so I'm not sure it'd work... E.g. num_replies applies to
maybe a post or a thread whereas super-type num_posts is for a more
restricted forum/container, and last_reply_date could be for a post,
thread or even a forum whereas super-type last_post_date is for a more
restricted forum/container.

J.
--

Breslin, John

unread,
Nov 10, 2009, 5:52:52 AM11/10/09
to sioc...@googlegroups.com
Dear all -

It's taken some months but I've committed these additional properties.

Change log: Added num_authors, num_items, num_threads, last_item_date,
last_reply_date. Changed XMLSchema#integer to
XMLSchema#nonNegativeInteger.

If there are any errors, please let me know.

Thanks,

John.
Reply all
Reply to author
Forward
0 new messages