-
Notifications
You must be signed in to change notification settings - Fork 2
/
templates.html
87 lines (81 loc) · 3.76 KB
/
templates.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A layout example with a side menu that hides on mobile, just like the Pure website.">
<title>ELAG – Bootcamp</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.4.2/pure.css">
<link rel="stylesheet" href="css/layouts/side-menu.css">
<link rel="stylesheet" href="css/elag.css">
<link rel="stylesheet" href="css/default.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,300,700,600' rel='stylesheet' type='text/css'>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<div id="layout">
<!-- Menu toggle -->
<a href="#menu" id="menuLink" class="menu-link">
<!-- Hamburger icon -->
<span></span>
</a>
<div id="menu">
<div class="pure-menu pure-menu-open">
<a class="pure-menu-heading" href="#">AMSL</a>
<ul>
<li id="menu_item_home"><a href="index.html">Home</a></li>
<li id="menu_item_start"><a href="start.html">Start</a></li>
<li id="menu_item_install"><a href="install.html">Installation</a></li>
<li id="menu_item_templates"><a href="templates.html">Templates</a></li>
<li id="menu_item_working"><a href="working.html">SPARQL Queries</a></li>
<li id="menu_item_isql"><a href="isql.html">ISQL</a></li>
<li id="menu_item_links"><a href="links.html">Links</a></li>
</ul>
</div>
</div>
<div id="main">
<div class="header">
<h1>Hands-on Templates</h1>
<!-- <h2>Using SPARQL for querying data.</h2> -->
</div>
<div class="content">
<h1 id="template-for-templates">Template for Templates</h1>
<pre><code>@base <http://elag.templates/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ns0: <http://vocab.ub.uni-leipzig.de/bibrm/> .
<TemplateForTemplates> ns0:bindsClass ns0:Template ;
ns0:providesProperty ns0:bindsClass, ns0:optionalProperty, ns0:providesProperty ;
a ns0:Template .
</code></pre>
<h1 id="template-for-foaf-person">Template for FOAF Person</h1>
<pre><code>@base <http://elag.templates/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ns0: <http://vocab.ub.uni-leipzig.de/bibrm/> .
<http://elag2014.org/Templates/Template/Temlate_for_FOAF_Person> ns0:bindsClass <http://xmlns.com/foaf/0.1/Person> ;
ns0:providesProperty <http://xmlns.com/foaf/0.1/firstName>,
<http://xmlns.com/foaf/0.1/lastName>,
<http://xmlns.com/foaf/0.1/knows>,
<favoriteMovie>,
<favoriteActor>;
a ns0:Template ;
rdfs:label "Template for FOAF Person" .
</code></pre>
</div>
</div>
</div>
<script src="js/highlight.js"></script>
<script src="js/ui.js"></script>
<script src="js/jquery.js"></script>
<script src="js/elag.js"></script>
<script src="js/ui.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#menu_item_templates").addClass("menu-item-divided pure-menu-selected");
});
</script>
</body>
</html>