rsoscia / BAMS-to-NeuroLex

Some scripts to adapt the content from brain architecture management system (BAMS) into a form that can be shared on NeuroLex.org
MIT License
1 stars 1 forks source link

Run a simple SPARQL query on the BAMS RDF #5

Closed slarson closed 10 years ago

slarson commented 11 years ago

Use one of the more complex examples, point it to the BAMS RDF, and extract some information. Save the new modified script in the src/ directory.

rsoscia commented 11 years ago

... make sparql query that will load something... starting simple.. figure out how to pull some simple something out of that.

slarson commented 10 years ago

How did we do with this this week?

rsoscia commented 10 years ago

Lately i've been working with a bunch of sample queries, trying to grab all of the Basal Ganglia info from the BAMS thesaurus data. Hit a few dead ends and started reading that book you recommended, which basically describes how to do the job. I'm going to see if i can get it over the weekend, and hopefully i'll be done with the book too.

slarson commented 10 years ago

OK. Sounds like we may need to sync up. My schedule is a bit tight right now though. Go ahead and pick a bunch of times over here: http://meetme.so/stephenlarson

On Fri, Sep 27, 2013 at 11:16 PM, rsoscia notifications@github.com wrote:

Lately i've been working with a bunch of sample queries, trying to grab all of the Basal Ganglia info from the BAMS thesaurus data. Hit a few dead ends and started reading that book you recommended, which basically describes how to do the job. I'm going to see if i can get it over the weekend, and hopefully i'll be done with the book too.

— Reply to this email directly or view it on GitHubhttps://github.com/rsoscia/BAMS-to-NeuroLex/issues/5#issuecomment-25289585 .

slarson commented 10 years ago

OK. Looks like there are some basic problems with the RDF. However, there's a lot to learn from playing around with this. Check out my notes.

stefantalpalaru commented 10 years ago

I have removed the XML anchors from the thesaurus RDF/XML serialization leaving plain URLs inside the definitions instead. They are not valid RDF URIs because they lack the "http://brancusi1.usc.edu" prefix. If you need that, let me know.

slarson commented 10 years ago

That would be very useful -- can you do a pull request or just post the revised RDF somewhere?

On Fri, Oct 4, 2013 at 1:25 PM, stefantalpalaru notifications@github.comwrote:

I have removed the XML anchors from the thesaurus RDF/XML serialization leaving plain URLs inside the definitions instead. They are not valid RDF URIs because they lack the "http://brancusi1.usc.edu" prefix. If you need that, let me know.

— Reply to this email directly or view it on GitHubhttps://github.com/rsoscia/BAMS-to-NeuroLex/issues/5#issuecomment-25727601 .

stefantalpalaru commented 10 years ago

It's live on the BAMS2 website: http://brancusi1.usc.edu/thesaurus/

slarson commented 10 years ago

Perfecto! Thanks Stefan!!

@rsoscia -- have at!

slarson commented 10 years ago

Hi @rsoscia -- I bet you are swamped with school work but do you have an update on this?

rsoscia commented 10 years ago

@slarson I committed my most recent work about an hour ago, check out this link: https://github.com/rsoscia/BAMS-to-NeuroLex/commit/9fbd28934e660cf9e6ca511ec0aaf1ed2c81bea1 I believe the Basal Ganglia info has been successfully pulled from the fixed BAMS RDF, I'll likely find out from Anita tomorrow as to whether the info i gave her is what's needed. I'll let you know what I find out.

slarson commented 10 years ago

Congrats!