You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Matt Whitby <ma...@gmail.com> on 2021/07/24 11:37:41 UTC
Ordering
Not specifically a Jena question, but we'll have a requirement at some
point to order a set of triples in a given order (not alphabetical). Would
it be that we'd require some sort of ranking number attached to the triple
via a node or somesuch?
Parent Item > List of Related Items > Each Paired with Ranking ID.
[image: image.png]
Re: Ordering
Posted by Andy Seaborne <an...@apache.org>.
On 26/07/2021 08:01, Matt Whitby wrote:
> Ah, well it was a pretty unhelpful diagram.
>
> For a given subject we will have lists of sources.
>
> <http://heritageengland.org.uk/dataset/monuments/monument/meta/id/1000824>
> ns1:website "War Memorials Online, accessed 10 July 2017 from
> https://www.warmemorialsonline.org.uk/memorial/137280",
> "War Memorials Online, accessed 10 July 2017 from
> https://www.warmemorialsonline.org.uk/memorial/77464",
> "War Memorials Register, accessed 10 July 2017 from
> http://www.iwm.org.uk/memorials/item/memorial/47501",
> "War Memorials Register, accessed 10 July 2017 from
> http://www.iwm.org.uk/memorials/item/memorial/47502",
> "War Memorials Register, accessed 10 July 2017 from
> http://www.iwm.org.uk/memorials/item/memorial/47503",
> "War Memorials Register, accessed 10 July 2017 from
> http://www.iwm.org.uk/memorials/item/memorial/47504",
> "War Memorials Register, accessed 10 July 2017 from
> http://www.iwm.org.uk/memorials/item/memorial/59537" .
>
>
> We could display the linked websites in a particular order which is not
> necessarily alphabetical, so I'd want to basically hold an attribute for
> each (i.e. A Ranking Order).
>
> Do you think it might be a case of using a bNode for each then off the back
> of that having the Source and Rank?
That's one way.
If the access record "War Memorials Online, accessed 10 July 2017 from
https://www.warmemorialsonline.org.uk/memorial/137280" is important then
making it a first class item in the data is usually the thing to do for
some future requirement.
Another is to use a list.
Andy
>
>
> On Sun, 25 Jul 2021 at 22:36, Andy Seaborne <an...@apache.org> wrote:
>
>> Matt - images (here, as multipart attachments) don't get passed on by
>> the list.
>>
>> On 24/07/2021 12:37, Matt Whitby wrote:
>>>
>>> Not specifically a Jena question, but we'll have a requirement at some
>>> point to order a set of triples in a given order (not alphabetical).
>>> Would it be that we'd require some sort of ranking number attached to
>>> the triple via a node or somesuch?
>>>
>>> Parent Item > List of Related Items > Each Paired with Ranking ID.
>>>
>>> image.png
>>
>
>
Re: Ordering
Posted by Matt Whitby <ma...@gmail.com>.
Ah, well it was a pretty unhelpful diagram.
For a given subject we will have lists of sources.
<http://heritageengland.org.uk/dataset/monuments/monument/meta/id/1000824>
ns1:website "War Memorials Online, accessed 10 July 2017 from
https://www.warmemorialsonline.org.uk/memorial/137280",
"War Memorials Online, accessed 10 July 2017 from
https://www.warmemorialsonline.org.uk/memorial/77464",
"War Memorials Register, accessed 10 July 2017 from
http://www.iwm.org.uk/memorials/item/memorial/47501",
"War Memorials Register, accessed 10 July 2017 from
http://www.iwm.org.uk/memorials/item/memorial/47502",
"War Memorials Register, accessed 10 July 2017 from
http://www.iwm.org.uk/memorials/item/memorial/47503",
"War Memorials Register, accessed 10 July 2017 from
http://www.iwm.org.uk/memorials/item/memorial/47504",
"War Memorials Register, accessed 10 July 2017 from
http://www.iwm.org.uk/memorials/item/memorial/59537" .
We could display the linked websites in a particular order which is not
necessarily alphabetical, so I'd want to basically hold an attribute for
each (i.e. A Ranking Order).
Do you think it might be a case of using a bNode for each then off the back
of that having the Source and Rank?
On Sun, 25 Jul 2021 at 22:36, Andy Seaborne <an...@apache.org> wrote:
> Matt - images (here, as multipart attachments) don't get passed on by
> the list.
>
> On 24/07/2021 12:37, Matt Whitby wrote:
> >
> > Not specifically a Jena question, but we'll have a requirement at some
> > point to order a set of triples in a given order (not alphabetical).
> > Would it be that we'd require some sort of ranking number attached to
> > the triple via a node or somesuch?
> >
> > Parent Item > List of Related Items > Each Paired with Ranking ID.
> >
> > image.png
>
--
Matt
Southend. Essex, England
Guff follows....
Me: http://www.about.me/matt.whitby
Photography: http://www.whitbyphoto.com
Travels: http://www.whitbyadventures.com
Music: http://www.last.fm/user/MattWhitby
<http://www.last.fm/user/MattWhitby/%3C/a%3E>
Reading: https://www.goodreads.com/user_challenges/19398505
Development: https://www.hackerrank.com/matt_whitby
Re: Ordering
Posted by Andy Seaborne <an...@apache.org>.
Matt - images (here, as multipart attachments) don't get passed on by
the list.
On 24/07/2021 12:37, Matt Whitby wrote:
>
> Not specifically a Jena question, but we'll have a requirement at some
> point to order a set of triples in a given order (not alphabetical).
> Would it be that we'd require some sort of ranking number attachedĀ to
> the triple via a nodeĀ or somesuch?
>
> Parent Item > List of Related Items > Each Paired with Ranking ID.
>
> image.png