Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABIDE / FBIRN Terms Query #4

Open
dbkeator opened this issue Aug 10, 2015 · 3 comments
Open

ABIDE / FBIRN Terms Query #4

dbkeator opened this issue Aug 10, 2015 · 3 comments

Comments

@dbkeator
Copy link
Contributor

Hi,
Just a reminder, we need 2 SPARQL query examples, one that has been started and one that hasn't:
(1) Using Python, load the abide and fbirn TTL files and use a SPARQL query across those graphs where the user maps terms between the two TTL files explicitly in the query (example started: ABIDE_FBIRN_Query.ipynb). This example is for the use case when someone receives some NIDM TTL files, reads the definitions of terms and decides a joint query across datasets is appropriate.

(2) Using the abide (https://github.com/incf-nidash/nidm/blob/master/nidm/nidm-experiment/abide_clinical/abide_terms.ttl) and fbirn (https://github.com/incf-nidash/nidm/blob/master/nidm/nidm-experiment/fbirn_clinical/fbirn_terms.ttl) terms files, create a OWL file which maps the abide/fbirn terms to a set of integrated terms (see the bottom entity in https://github.com/incf-nidash/nidm-training/blob/master/ABIDE_to_NIDM_OM_with_OWLTerms.pdf) together and then create a SPARQL query which uses the OWL file to do the query.

@satra
Copy link
Contributor

satra commented Aug 10, 2015

@dbkeator - you may want to use something like this as well. just adapt it to your examples.

these are all based off my freesurfer models:

http://jsfiddle.net/satra/tLgv4082/
http://jsfiddle.net/satra/e5vc4tLn/
http://jsfiddle.net/satra/Ludrr8wu/ (multidimensional)

http://jsfiddle.net/satra/8ykyexkw/ (XTK + s3 - missing the nidm piece, but can be easily added).

@nicholsn
Copy link
Contributor

@dbkeator, for the purposes of the workshop I am going to move examples of abid/fbirn files into the nidm training repo

nicholsn added a commit to nicholsn/nidm-training that referenced this issue Aug 15, 2015
@nicholsn nicholsn mentioned this issue Aug 15, 2015
@nicholsn
Copy link
Contributor

ok, so PR #8 addresses the first mapping issue now by creating a general NIDM term and declaring the others as subclasses. its basically the same idea as the owl approach sans protege... do you think we need both? Can you take a look an see if the example is illustrative enough?

PS, @satra thanks for the jsfiddles, those are great to work off of!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants