-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.queries
22 lines (18 loc) · 910 Bytes
/
example.queries
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Question: What is the mechanism of action for Lepirudin?
Generated SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dv: <http://bio2rdf.org/drugbank_vocabulary:>
PREFIX tv: <http://bio2rdf.org/taxonomy_vocabulary:>
SELECT DISTINCT ?mechanism
WHERE {
?drug rdf:type dv:Drug .
?drug dct:title ?drugTitle .
FILTER (CONTAINS(LCASE(?drugTitle), "lepirudin"))
?drug dv:mechanism-of-action ?mechanismObj .
?mechanismObj dct:description ?mechanism .
}
Answer: Lepirudin forms a stable non-covalent complex with alpha-thrombin, thereby abolishing its ability to cleave fibrinogen and initiate the clotting cascade. The inhibition of thrombin prevents the blood clotting cascade.