Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Reactome RDF
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alan Ruttenberg  
View profile  
 More options Mar 15 2008, 4:46 pm
From: Alan Ruttenberg <alanruttenb...@gmail.com>
Date: Sat, 15 Mar 2008 16:46:10 -0400
Local: Sat, Mar 15 2008 4:46 pm
Subject: Reactome RDF

Available at http://sw.neurocommons.org:8894/sparql

I'll install it the neurocommons once we've caught any further  
errors. This is the basic info, for reference.

Couple of queries to get you going:

Default-graph: http://purl.org/commons/record/reactome/ (should have  
named it better)

prefix re: <http://purl.org/commons/ontology/reactome/>
prefix rei: <http://purl.org/commons/record/reactome/>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT distinct ?class WHERE {?s rdf:type ?class}

SELECT distinct ?item WHERE {?item rdf:type re:DataModel}

SELECT distinct ?label WHERE {?item rdf:type re:RegulationType. ?item  
rdfs:label ?label}

SELECT distinct ?p WHERE {?s ?p ?o}

SELECT ?ontology  WHERE {?s re:ontology ?ontology}   # unicode  
encoded version of the ontology as rendered in GKB

Loading it in to virtuoso:

DB.DBA.TTLP_MT(file_to_string_output('/work/reactome/
reactome.nt'),'http://purl.org/commons/record/reactome/' ,'http://
purl.org/commons/record/reactome/',0);

Creating the rdf using d2rq:

sudo ./dump-rdf -f N-TRIPLE -o reactome.nt  -m file:///work/reactome/
d2r-server-0.4/reactomemapping.n3 -b http://purl.org/commons/record/
reactome/

(note the N3 output, while prettier, exercises a bug in d2rq)

Attached: reactomemapping.pl (scripts a rewrite of the default d2rq  
mapping)
reactomemapping.n3(the output of the script, used as input to d2rq)




 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Ruttenberg  
View profile  
 More options Mar 15 2008, 5:02 pm
From: Alan Ruttenberg <alanruttenb...@gmail.com>
Date: Sat, 15 Mar 2008 17:02:11 -0400
Local: Sat, Mar 15 2008 5:02 pm
Subject: Re: Reactome RDF

Forgot to mention - wouldn't have happened were not for Andrea's help  
- Thanks!

-Alan

On Mar 15, 2008, at 4:46 PM, Alan Ruttenberg wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Ruttenberg  
View profile  
 More options Mar 16 2008, 3:43 am
From: Alan Ruttenberg <alanruttenb...@gmail.com>
Date: Sun, 16 Mar 2008 03:43:38 -0400
Local: Sun, Mar 16 2008 3:43 am
Subject: Re: Reactome RDF

Couple of minor corrections to the d2rq mapping - will regenerate and  
reload the endpoint probably tomorrow.
I've also generated an OWL specification of the database record  
structure based on the protege frames description that was embedded  
in the query result for SELECT ?ontology  WHERE {?s re:ontology ?
ontology}

http://svn.neurocommons.org/svn/trunk/convert/reactome/reactome-
records.owl

The mappings and code are in the same directory.

Let me know if (when:) you find any mistakes.

With this in place, we should now be able to start doing sanity  
checks and conversions to a more oboish representation.

-Alan

On Mar 15, 2008, at 4:46 PM, Alan Ruttenberg wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Ruttenberg  
View profile  
 More options Mar 16 2008, 4:39 am
From: Alan Ruttenberg <alanruttenb...@gmail.com>
Date: Sun, 16 Mar 2008 04:39:07 -0400
Local: Sun, Mar 16 2008 4:39 am
Subject: Re: Reactome RDF
On Mar 16, 2008, at 3:43 AM, Alan Ruttenberg wrote:

> will regenerate and reload the endpoint probably tomorrow

Ah yes, no time like the present. Also loaded the owl file.

Note: Default graph name is now: http://purl.org/science/graph/
reactome-records

Here's one that gives a bit of documentation on some of the reactome  
record classes

prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT distinct ?class ?comment WHERE {?s rdf:type owl:Class. ?class  
rdfs:comment ?comment}

http://tinyurl.com/3cr66p will get you the results in XML

-Alan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »