Sha256: 88bc08e7711580fb53957eeb56018d7ce87a73fb83554ce32f01d3d960bf5dbf

Contents?: true

Size: 1.03 KB

Versions: 20

Compression:

Stored size: 1.03 KB

Contents

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <script src="js/codemirror.js" type="text/javascript"></script>
    <title>CodeMirror: Sparql demonstration</title>
    <link rel="stylesheet" type="text/css" href="css/docs.css"/>
  </head>
  <body style="padding: 20px;">

<p>Demonstration of <a href="index.html">CodeMirror</a>'s Sparql
highlighter.</p>

<div class="border">
<textarea id="code" cols="120" rows="30">
PREFIX a: &lt;http://www.w3.org/2000/10/annotation-ns#>
PREFIX dc: &lt;http://purl.org/dc/elements/1.1/>
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/>

# Comment!

SELECT ?given ?family
WHERE {
  ?annot a:annotates &lt;http://www.w3.org/TR/rdf-sparql-query/> .
  ?annot dc:creator ?c .
  OPTIONAL {?c foaf:given ?given ;
               foaf:family ?family } .
  FILTER isBlank(?c)
}
</textarea>
</div>

<script type="text/javascript">
  var editor = CodeMirror.fromTextArea('code', {
    height: "250px",
    parserfile: "parsesparql.js",
    stylesheet: "css/sparqlcolors.css",
    path: "js/"
  });
</script>

  </body>
</html>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
liquid_cms-0.2.0.11 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0.10 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.3.0.8 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0.9 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.3.0.7 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.3.0.6 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0.8 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.3.0.5 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0.7 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.3.0.4 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0.6 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.3.0.3 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0.5 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0.4 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.3.0.2 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0.3 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0.2 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.3.0.1 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.3.0 lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html
liquid_cms-0.2.0 generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html