[wdmmg-dev] types, names and URLs

Rufus Pollock rufus.pollock at okfn.org
Sun Oct 9 10:19:13 UTC 2011


On 6 October 2011 13:47, Friedrich Lindenberg
<friedrich.lindenberg at okfn.org> wrote:
> Hi Rufus, thanks for the feedback!
>
> On Thu, Oct 6, 2011 at 12:42 PM, Rufus Pollock <rufus.pollock at okfn.org> wrote:
>>>> The URL scheme I would propose is:
>>
>> Looks good.
>>
>>>> /browse - Lists datasets.
>>>> /<dataset> - base info
>>>> later: /<dataset>/source/<id>/data - bulk raw download
>>>> /<dataset>/entry/<id> - entries
>>>> /<dataset>/dimension/<name> - dimension metadata and distinct values (count and sum over each measure)
>>
>> Are "to" and "from" now just dimensions? And why single out <taxonomy>
>> (ie. why not just have them as a dimension)?
>
> "to" and "from" are likely to become classifiers of the taxonomy
> "entity" (this is another thread of discussion).

Ah, got it. I think I like that though it may be pushing the bounds of
'taxonomy' :-)

> But for any of these, there's two ways of looking at it: once as a
> dimension of the dataset (e.g. cofog1) and as an abstract taxonomy
> (e.g. cofog). I think the abstract category is more useful for linking
> to things (e.g. /cra/cofog/0.3.2), but we need the /dimension/ bit
> mostly for metadata.

Got it. I guess my question is do we distinguish between attributes
whose values are 'objects' in their own right versus those whose
values are literals ...

> So if you go to a /dimension/xxx page you will see a listing of
> distinct values plus their aggregate involvement for each measure, see
> http://openspending.org/dataset/ukgov-finances-cra/dimension/from.

Got it. Sounds like we really want a wiki page for documenting all
this useful conceptual stuff (as there is quite a bit of thinking
going on here!)

>>>> /<dataset>/<taxonomy>/<id> - a dimension page
>>>> /api/<dataset>/aggregate - API endpoint
>>>> /session/...
>>
>> What is session?
>
> The rest-fetishist way to talk about user state, I think: /session/add
> for login, /session/destroy for logout. Can leave it as it though,
> just wanted to mention this class of things.

Got it. That does not sound a bad idea but surely:

/account/

is more useful than /session/ (and could replace it with
/account/login and /account/logout in addition to the the general
profile management at /account/{userid})

Rufus

> - Friedrich
>
>> Rufus
>>
>>>> /account/...
>>>>
>>>> All this can be shifted by <dataset> for subdomains.
>>>>
>>>> - Friedrich
>>>>
>>>
>>>
>>>
>>> --
>>> Open Knowledge Foundation
>>> Promoting Open Knowledge in a Digital Age
>>> http://www.okfn.org/ - http://blog.okfn.org/
>>>
>>> http://twitter.com/pudo
>>> http://pudo.org
>>>
>>> _______________________________________________
>>> wdmmg-dev mailing list
>>> wdmmg-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/wdmmg-dev
>>>
>>
>>
>>
>> --
>> Co-Founder, Open Knowledge Foundation
>> Promoting Open Knowledge in a Digital Age
>> http://www.okfn.org/ - http://blog.okfn.org/
>>
>
>
>
> --
> Open Knowledge Foundation
> Promoting Open Knowledge in a Digital Age
> http://www.okfn.org/ - http://blog.okfn.org/
>
> http://twitter.com/pudo
> http://pudo.org
>



-- 
Co-Founder, Open Knowledge Foundation
Promoting Open Knowledge in a Digital Age
http://www.okfn.org/ - http://blog.okfn.org/




More information about the openspending-dev mailing list