Skip to content

more efficient QLever query #9

Description

@egonw

OPTIONAL { ?wd rdfs:label ?wdLabel . FILTER(LANG(?wdLabel) = "en") } #Retrieve the label from Wikidata for the metabolite

Since OPTIONAL sections will be run by QLever separately, this will ask for labels for all elements, making it relatively slow. You can reduce this by adding further restrictions.

So, please add ?wd wdt:P235 [] . so that you have this:

OPTIONAL { ?wd wdt:P235 [] . ?wd rdfs:label ?wdLabel . FILTER(LANG(?wdLabel) = "en") }

Please apply to all labels in QLever queries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions