enanomapper / data.enanomapper.net

Report issues or feature requests for eNanoMapper search page at
http://search.data.enanomapper.net
0 stars 2 forks source link

support for FOAF homepage #63

Open egonw opened 8 years ago

egonw commented 8 years ago

Please support linking out one the default GUI for homepage information, such as found, for example, for the nanomaterials in the SigmaAldrich and jRC bundles in the NanoWiki 3 data set.

egonw commented 8 years ago

@vedina where should I be looking in the source code, more or less, to get these links shown in the GUI in the info section (last column in the below screenshot)?

image

vedina commented 8 years ago

Links come from the external identifiers ; the UI is generally implemented as JavaScript library outside of ambit code . @thejonan may help with enabling links.

egonw commented 8 years ago

The FOAF link is stored as external identifier under "HOMEPAGE". Two other links out I like to see made available on the website use ext IDs types "Same as" and "Close match".

@vedina @thejonan will it be possible to implement this half October latest? Because I like to know if it should and can be written up for D3.3.

thejonan commented 8 years ago

Yes, it is feasible. As long as the information is in the database, it'll be easy to just add it in the results. I'll need some briefing form @vedina on the overall context and will take care for this.

egonw commented 8 years ago

Some of the context is described in the attached integration-databases-data (7).pdf paper.

egonw commented 8 years ago

@vedina what if there is more than one foaf:page (or more than one owl:sameAs)? The current data model does not support that, I just found out... I can make a patch, but like a pointer on how to best do that... e.g. how do you solve this if there is more than one CAS number?

vedina commented 8 years ago

@egonw if you use external identifiers, it's not possible. CAS are stored as different object (properties of a structure)

egonw commented 8 years ago

What should I use? Does the system not break when I start hacking in some different object like for CAS?

vedina commented 8 years ago

Will think about. You can't just introduce new object, it will not be read/written to/from the database.

egonw commented 8 years ago

No, that's what I thought... so, are there other options for properties of substances with more than one value?