neontribe / Linked_Development

Linked Development
1 stars 1 forks source link

Mappings #28

Closed tobybatch closed 11 years ago

tobybatch commented 11 years ago

I have successfully retrieved all themes using the sparql:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX SKOS: <http://www.w3.org/2004/02/skos/core#>
select * where {?a ?b <http://www.w3.org/2004/02/skos/core#Concept>}
ORDER BY DESC(?a) LIMIT 10 OFFSET 10

But to find that http://www.w3.org/2004/02/skos/core#Concept was theme required digging through the input python.

Is there a list of mappings for other types, document, organisation, theme, country or region for starters please?

practicalparticipation commented 11 years ago

Hey Toby - I'm not sure I understand the question.

Is this themes retrieved from the store once you've imported R4D and ELDIS data?

And for mappings - are we looking for mappings between ELDIS and R4D categorisations?

tobybatch commented 11 years ago

Sorry.

We currently have the ELDIS data in our triple store. I'm developing the API against that.

I have the rough structure in place for routes and responses, I'm currently starting to add the actual sparql lookups to retrieve the data.

So I have a route like http://api.ids.ac.uk/openapi/eldis/get_all/ in the existing API, I need to get that data from the triple store. This seems to work if I use the sparql above for themes but I don't have any idea of what the RDF naming is is the entities which are document, organisation, country or region.

practicalparticipation commented 11 years ago

Ok - documents are 'bibo:Article'

I'lll need to explore more for country and region, as it's possible these are not given a class in the current import, but could be retrieved by their relationship to the documents.

tobybatch commented 11 years ago

Thanks.

tobybatch commented 11 years ago

I'll leave this open and we can add to it as we make the connections.

practicalparticipation commented 11 years ago

The queries in the yaml should now show the ways of identifying different entities.

Can re-open here if we want to make a full list.

I'll add a task to document the data in more detail.