A set of SPARQL examples that are used in different TGX resources
[fill out comment here]
PREFIX cheminf: <http://semanticscience.org/resource/CHEMINF_>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT ?CAS ?ChemicalName
WHERE {
?cas a cheminf:000000 ;
dc:title ?ChemicalName ;
cheminf:000446 ?CAS .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?CAS"):::projected
v2("?ChemicalName"):::projected
v1("?cas")
c2(["cheminf:000000"]):::iri
v1 --"a"--> c2
v1 --"dc:title"--> v2
v1 --"cheminf:000446"--> v3