Skip to content

Commit

Permalink
http references updated to https
Browse files Browse the repository at this point in the history
  • Loading branch information
lomky committed Aug 11, 2016
1 parent 618a53a commit 397d9e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/Tuba/Doc.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sub examples {
my $sparql = [
{ desc => "List URLs for 10 figures.",
code =>
"select * FROM <http://data.globalchange.gov>
"select * FROM <https://data.globalchange.gov>
where { ?s a gcis:Figure }
limit 10",
},
Expand All @@ -30,7 +30,7 @@ PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX cito: <http://purl.org/spar/cito/>
PREFIX dbpprop: <http://dbpedia.org/property/>
select ?s FROM <http://data.globalchange.gov> where {
select ?s FROM <https://data.globalchange.gov> where {
?s a gcis:AcademicArticle .
?s cito:isCitedBy ?nca3 .
?nca3 dcterms:identifier "nca3" .
Expand All @@ -46,7 +46,7 @@ PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX cito: <http://purl.org/spar/cito/>
PREFIX dbpprop: <http://dbpedia.org/property/>
select min(?pubYear as ?Publication_Year) FROM <http://data.globalchange.gov> where {
select min(?pubYear as ?Publication_Year) FROM <https://data.globalchange.gov> where {
?s cito:isCitedBy ?nca3 .
?nca3 dcterms:identifier "nca3" .
?s dbpprop:pubYear ?pubYear
Expand All @@ -55,7 +55,7 @@ SPARQL2
},
{ desc => "List 10 figures and datasets from which they were derived.",
code =>
"select ?figure ?dataset FROM <http://data.globalchange.gov>
"select ?figure ?dataset FROM <https://data.globalchange.gov>
where {
?figure gcis:hasImage ?img .
?img prov:wasDerivedFrom ?dataset
Expand Down
8 changes: 4 additions & 4 deletions lib/Tuba/files/templates/doc/examples.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ using command line tools such as curl.
</p>
<h4>See the structure of the third national climate assessment.</h4>
<pre>
$ curl http://data.globalchange.gov/report/nca3.yaml
$ curl https://data.globalchange.gov/report/nca3.yaml
</pre>

<h4>Get a list of chapters in the third national climate assessment.</h4>
<pre>
$ curl http://data.globalchange.gov/report/nca3/chapter.json
$ curl https://data.globalchange.gov/report/nca3/chapter.json
</pre>

<p>Requests can be made either using the suffix or using content negotiation.</p>

<h4>Get the first 20 figures in the third national climate assessment.</h4>
<pre>
$ curl -H 'Accept: application/json' http://data.globalchange.gov/report/nca3/figure
$ curl -H 'Accept: application/json' https://data.globalchange.gov/report/nca3/figure
</pre>

<p>For the complete list of endpoints, as well as the valid Accept headers, please
Expand Down Expand Up @@ -61,7 +61,7 @@ some of the ones below.</p>
target="_blank">Yasgui</a> is a modern SPARQL query editor.
</p>
<p>
<a target="_blank" href="http://en.lodlive.it/?http://data.globalchange.gov/report/nca3/chapter/our-changing-climate/figure/past-and-projected-changes-in-global-sea-level-rise">LOD live</a>
<a target="_blank" href="http://en.lodlive.it/?https://data.globalchange.gov/report/nca3/chapter/our-changing-climate/figure/past-and-projected-changes-in-global-sea-level-rise">LOD live</a>
is a tool for visually exploring semantic relationships.</p>

<h3>Applications</h3>
Expand Down

0 comments on commit 397d9e5

Please sign in to comment.