Bundles/neurocommons-text

Graph name: http://sw.neurocommons.org/2007/2007-03-15/pubmed-annotations

This was my first experience with RDF, and it's showing its age...

PubMed records (type sc:pubmed_record - not articles, as the abstract is obtained from the PubMed record, not the article...) are related to "abstracts" (type ann:abstract) via nc:has-abstract. Abstracts possess annotations derived using Temis.

Annotations are carried by spans (type ann:span).

Spans start at a given character position in the abstract (ann:starts-at) and has a certain length (ann:has-length).

Gene or gene product mentioned in an annotation

PREFIX sc: <http://purl.org/science/owl/sciencecommons/>
PREFIX ann: <http://sw.neurocommons.org/2007/annotations#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix owl: <http://www.w3.org/2002/07/owl#>

select ?start ?glabel
where 
 {
  ?record sc:has_id_in_databank "3933200".
  ?record ann:has-abstract ?abs.
  ?span ann:has-context ?abs.
  ?span ann:starts-at ?start.
  ?span ann:has-nc0.0-interpretation ?int.
  ?int ann:has-participant ?p.
  ?p ann:if-gene-described-by ?gene.
  ?gene rdfs:label ?glabel.
 }