Galgonek created this task.
Galgonek added a project: Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  I would like to ask you to add our SPARQL endpoint 
(https://idsm.elixir-czech.cz/sparql/endpoint/wikidata) to the list of 
federated endpoints 
<https://gerrit.wikimedia.org/r/plugins/gitiles/wikidata/query/deploy/+/master/whitelist.txt>.
  
  In 2019, we published a set of specialised SPARQL endpoints that allows 
performing substructure and similarity search on several small-molecules 
datasets (https://doi.org/10.1186/s13321-019-0367-2). As Wikidata also contains 
compound structures (https://www.wikidata.org/wiki/Property:P233), we decided 
to employ these data and to create the new dedicated SPARQL endpoint that 
support substructure and similarity search in Wikidata chemical compounds.
  
  Because we employ only the compound structures and no other data are included 
in our endpoint, it will be very useful to be able to call our endpoint from 
the Wikidata endpoint. For example, the following query could use our endpoint 
to obtain all Wikidata compounds containing Aspirin as their substructures. The 
rest of the query then can retrieve other additional useful information from 
Wikidata (InChI identifiers of found compounds in this case):
  
    PREFIX idsm: <https://idsm.elixir-czech.cz/sparql/endpoint/>
    PREFIX sachem: <http://bioinfo.uochb.cas.cz/rdf/v1.0/sachem#>
    PREFIX wdt: <http://www.wikidata.org/prop/>
    
    SELECT * WHERE {
      SERVICE idsm:wikidata {
        # search compounds containing Aspirin as their substructures
        ?compound sachem:substructureSearch
          [ sachem:query "O=C(C)Oc1ccccc1C(=O)O" ]
      }
    
      hint:Prior hint:runFirst true. # hint to evaluate the IDSM service first
    
      # retrieve additional data about the found compounds from Wikidata
      ?compound wdt:P234 ?inchi.
    }
  
  As our new endpoint contains only data obtained from Wikidata, its license is 
CC0 as well. More details are available in the paper 
(https://doi.org/10.1186/s13321-019-0367-2) or in the manual page: 
https://idsm.elixir-czech.cz/sparql/manual.html.

TASK DETAIL
  https://phabricator.wikimedia.org/T275196

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Galgonek
Cc: Aklapper, Galgonek, MPhamWMF, CBogen, Akuckartz, Nandana, Namenlos314, 
Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to