ktym / d3sparql

JavaScript library for executing SPARQL query and transforming resulted JSON for visualization in D3.js
189 stars 76 forks source link

Map demo about Biosamples needs schema update #11

Closed marco-brandizi closed 8 years ago

marco-brandizi commented 8 years ago

Hi all,

I hope this will reach you. I've been aware of D3SPARQL for a while and I appreciate you use our BioSD dataset for the map demo at http://biohackathon.org/d3sparql/. I'm filing this issue because we need to change the OWL schema for such data and the changes will break the SPARQL you use for that example.

Here you can find an updated version of that query, changing the query on your side should be the only thing you need to do. In addition to following the new schema, the new query filters latitude/longitude labels via '=' operator, because that is faster than 'regex' and avoids dirty values associated to 'latitude and longitude'. You don't need to wait for our complete migration to make that change on D3SPARQL, since we are already publishing triples that are a mix of the old and new models.

I hope this bit of D3SPARQL will be updated because D3SPARQL is very good and I appreciate having BioSD listed as one of your examples. Please contact me if you need further help (brandizi A_T ebi AC UK/CO)

Kind Regards, Marco.

ktym commented 8 years ago

Thank you! The SPARQL query is updated. Sorry to take long.

marco-brandizi commented 8 years ago

That's great! Thank you for developing D3SPARQL.