Skip to content

Instantly share code, notes, and snippets.

% layout 'default', namespaces => [qw/dcterms skos xsd gcis dbpprop org place prov owl/];
%= filter_lines_with empty_predicate() => begin
<<%= current_resource %>>
dcterms:identifier "<%= $organization->identifier %>";
skos:prefLabel "<%= $organization->name %>"^^xsd:string;
gcis:hasURL "<%= $organization->url %>"^^xsd:anyURI;
% if (my $type = $organization->organization_type) {
dbpprop:organizationType "<%= $type->identifier %>";
% }
% #
// C++ program asks user to input 5 values (to fill array)
// and then the computer returns those five values.
#include <iostream>
using namespace std;
int main() {
// get input from users
int arr[5];
cout<<"Please state 5 integers\n";
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX dbpedia: <http://dbpedia.org/resource/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX gcis: <http://data.globalchange.gov/gcis.owl#>
SELECT DISTINCT
str(?chapterTitle) as ?Chapter_Title
str(?findingNumber) as ?Finding_Number
str(?findingStatement) as ?Finding_Text
?finding as ?Finding_ID
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE RDF>
-<rdf:RDF xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:meth="http://sweet.jpl.nasa.gov/2.3/reprSciMethodology.owl#" xmlns:res="http://sweet.jpl.nasa.gov/2.3/humanResearch.owl" xml:base="http://sweet.jpl.nasa.gov/2.3/reprSciMethodology.owl#">
<!-- Ontology Information -->
-<owl:Ontology owl:versionInfo="2.3" rdf:about="">
<rdfs:label>SWEET Ontology</rdfs:label>
<owl:imports rdf:resource="http://sweet.jpl.nasa.gov/2.3/humanResearch.owl"/>
@justgo129
justgo129 / gist:f0588c4c2c83bf9d7b65
Created August 25, 2014 18:17
Output of Image turtle
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix gcis: <http://data.globalchange.gov/gcis.owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
<http://data.gcis-dev-front.joss.ucar.edu/image/26fc56f4-b4e0-425b-adc8-14c6d961d558>
## Identifier and Title for the Image
dcterms:identifier "26fc56f4-b4e0-425b-adc8-14c6d961d558";
dcterms:title "Global Temperature and Carbon Dioxide"^^xsd:string;