Giter VIP home page Giter VIP logo

Comments (4)

egonw avatar egonw commented on September 3, 2024

Yeah, good point. For any Scholia page, I never understood the relatedness, but for chemicals what the relationship is essential. And it's not chemical, but on a chemical aspect it's perfectly understandable the user expects a chemical relationship. It should be moved down, indeed.

@fnielsen, @Daniel-Mietchen, we may need to reconsider this for other specific aspects too.

from scholia.

fnielsen avatar fnielsen commented on September 3, 2024

Good point.

The RDF2Vec/wembedder-based "related" feature may not be as good as it could. We can remove it. Possible think of SPARQL that does relatedness for chemicalxs.

from scholia.

fnielsen avatar fnielsen commented on September 3, 2024

Over at Synia there are "Related researchers" at https://synia.toolforge.org/#author/Q20895241 and "Related lexemes" at Related lexemes. In Scholia we have also "related papers based on local cocitation network. These could be used for stealing/inspiration.

from scholia.

Adafede avatar Adafede commented on September 3, 2024

There is already

"Compounds with same connectivity" (https://scholia.toolforge.org/chemical/Q18216#related) funily already named "related", which also relates to #2484

I could think of the two ideas below for now:

chemicals found in the same taxon as the current chemical

# tool: scholia
PREFIX target: <http://www.wikidata.org/entity/Q18216>

SELECT DISTINCT ?chemical WHERE {
  target: wdt:P703/^wdt:P703 ?chemical.
} 
  LIMIT 250

chemicals belonging to the same chemical class as the chemical

# tool: scholia
PREFIX target: <http://www.wikidata.org/entity/Q2079986>

SELECT DISTINCT ?chemical WHERE {
  VALUES ?chemical_class {
        wd:Q15711994 # group of isomeric entities
        wd:Q17339814 # group or class of chemical substances
        wd:Q47154513 # structural class of chemical entities
        wd:Q55640599 # group of chemical entities
        wd:Q56256173 # class of chemical entities with similar applications or functions
        wd:Q56256178 # class of chemical entities with similar source or occurrence
        wd:Q55662456 # group of ortho, meta, para isomers
        # wd:Q59199015 # group of stereoisomers # TODO see later on when fast enough
        wd:Q72070508 # group or class of chemical entities
        wd:Q74892521 # imprecise class of chemical entities
    }
  ?class wdt:P31 ?chemical_class.
  target: wdt:P279 ?class.
  ?class ^wdt:P279 ?chemical.
} 
  LIMIT 250

from scholia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.