adding RDF to Groovy Script

7 views
Skip to first unread message

Manas Awasthi

unread,
Jul 9, 2019, 1:15:58 PM7/9/19
to bridgedb-discuss
Hello Everyone,

As part of my second month in the Google Summer of Code, my work revolves around adding RDF to the groovy script. 

To start with the adding info about the databases involved (Chebi for now), we have decided to start off with this information first that is to be added:

- data source
- data source version
- creation date 

Here is the sample RDF I have created. I may have issues though, its my very first interaction with RDF. I am learning about it while doing the task:

database.setInfo("rdf:type dctypes:Dataset ;")
database.setInfo("dct:title", "ChEBI Version " + chebiVersion +" Database Distribution ;")
database.setInfo("dct:issued", dateStr + " ;")

Regards,
Manas Awasthi

Egon Willighagen

unread,
Jul 10, 2019, 2:59:17 AM7/10/19
to bridgedb...@googlegroups.com

Nuno,

can you please compare this to the VoID header for the linksets you are working on? I was thinking to basically have all the info in the Derby file too, that is needed to create/extract a VoID header file for a Derby file.

What do you think?

Egon


--
You received this message because you are subscribed to the Google Groups "bridgedb-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bridgedb-discu...@googlegroups.com.
To post to this group, send email to bridgedb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bridgedb-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/bridgedb-discuss/acff92b4-2244-4527-98be-223ab415e708%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Hi, do you like citation networks? Already 51% of all citations are available available for innovative new uses. Join me in asking the American Chemical Society to join the Initiative for Open Citations too. SpringerNature, the RSC and many others already did.

-----
E.L. Willighagen
Department of Bioinformatics - BiGCaT
Maastricht University (http://www.bigcat.unimaas.nl/)
Homepage: http://egonw.github.com/
Blog: http://chem-bla-ics.blogspot.com/
PubList: https://www.zotero.org/egonw
ORCID: 0000-0001-7542-0286
ImpactStory: https://impactstory.org/u/egonwillighagen

Egon Willighagen

unread,
Jul 12, 2019, 1:45:38 AM7/12/19
to bridgedb...@googlegroups.com
Hi Manas,

I think we're going to need more info, but I think this approach may work.

I was thinking of a way to put this in action, and I think we need a BridgeDb command line tool that extracts this metadata and exports it as a void file.

What do you think about that?

Egon

--

Manas Awasthi

unread,
Jul 13, 2019, 9:37:17 AM7/13/19
to bridgedb-discuss
Hello Sir,

Apart from the information that we have already discussed, what other properties should we take in to consideration? Command line tool will be similar to the QC Tool right?

Regards,
Manas Awasthi


On Friday, July 12, 2019 at 11:15:38 AM UTC+5:30, Egon Willighagen wrote:
Hi Manas,

I think we're going to need more info, but I think this approach may work.

I was thinking of a way to put this in action, and I think we need a BridgeDb command line tool that extracts this metadata and exports it as a void file.

What do you think about that?

Egon

On Tue, Jul 9, 2019, 19:15 Manas Awasthi <marv...@gmail.com> wrote:
Hello Everyone,

As part of my second month in the Google Summer of Code, my work revolves around adding RDF to the groovy script. 

To start with the adding info about the databases involved (Chebi for now), we have decided to start off with this information first that is to be added:

- data source
- data source version
- creation date 

Here is the sample RDF I have created. I may have issues though, its my very first interaction with RDF. I am learning about it while doing the task:

database.setInfo("rdf:type dctypes:Dataset ;")
database.setInfo("dct:title", "ChEBI Version " + chebiVersion +" Database Distribution ;")
database.setInfo("dct:issued", dateStr + " ;")

Regards,
Manas Awasthi

--
You received this message because you are subscribed to the Google Groups "bridgedb-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bridgedb...@googlegroups.com.

Egon Willighagen

unread,
Jul 13, 2019, 2:07:21 PM7/13/19
to bridgedb...@googlegroups.com
Hi Manas,

On Sat, Jul 13, 2019 at 3:37 PM Manas Awasthi <marv...@gmail.com> wrote:
Apart from the information that we have already discussed, what other properties should we take in to consideration?

I am not entirely sure yet. We'll have to test this iteratively... Here is the VoID of the WPRDF data set, to give you an idea what could be in there:


I think the green fields are useful. The yellow ones are always the same and can be generated when extracting the RDF.
 
Command line tool will be similar to the QC Tool right?

Yes, exactly!

Egon

Reply all
Reply to author
Forward
0 new messages