Ticket #22 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

SPARQL highlighting

Reported by: http://astro.pip.verisignlabs.com/ Owned by: http://openvest.myopenid.com/
Priority: major Milestone:
Component: SyntaxHighlighting Keywords:
Cc: Billing Source:
Max Authorized Hours:

Description

SPARQL is coming together in textmate, How about some pygments help?

# Sample SPARQL of XBRL data
prefix usgaap: <http://xbrl.us/us-gaap/2008-01-31>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
select ?cash ?date
where{
?item a usgaap:CashAndCashEquivalentsAtCarryingValue ;
    xbrli:context [xbrli:entity [xbrli:identifier [xbrli:schema <http://www.nyse.com/>;
                                                   rdf:value  "IBM"];
                  xbrli:period [xbrli:onDate ?date ]]].
filter (?date > "2005-12-31"^^xsd:date)
}

done

Change History

Changed 4 years ago by http://openvest.myopenid.com/

  • status changed from new to assigned
  • owner changed from phil to http://openvest.myopenid.com/

It's a work in progress but "initial" support is working

Changed 4 years ago by http://openvest.myopenid.com/

  • status changed from assigned to closed
  • resolution set to fixed

Marking as fixed. Specific issues should be in seperate tickets. Should post examples or a test case if future syntax highlighting tickets.

Note: See TracTickets for help on using tickets.