-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTeam.html
More file actions
93 lines (89 loc) · 2.62 KB
/
Team.html
File metadata and controls
93 lines (89 loc) · 2.62 KB
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
88
89
90
91
92
93
---
rdf_prefix_path: "_data/prefixes.sparql"
layout: base
---
{% include head.html page=page %}
{% capture group_query %}
select distinct ?person where
{
{
?group foaf:member ?person .
?group aiiso:part_of ?resourceUri .
} UNION {
?resourceUri foaf:member ?person
}
?person a foaf:Person .
OPTIONAL {
?excludeA a <http://aksw.org/StudentWorker> .
filter (?person = ?excludeA)
}
filter(!bound(?excludeA)) .
OPTIONAL {
?excludeB a <http://aksw.org/Alumni> .
filter (?person = ?excludeB)
}
filter(!bound(?excludeB)) .
OPTIONAL {
?person foaf:familyName ?familyName
}
} order by ASC(?familyName)
{% endcapture %}
{% capture oldgroup_query %}
select distinct ?person where
{
{
?group foaf:member ?person .
?group aiiso:part_of ?resourceUri .
} UNION {
?resourceUri foaf:member ?person
}
?person a foaf:Person , <http://aksw.org/GrownUp> , <http://aksw.org/Alumni> .
OPTIONAL {
?person foaf:familyName ?familyName
}
} order by ASC(?familyName)
{% endcapture %}
{% capture students_query %}
select distinct ?person ?name where
{
?person a <http://aksw.org/StudentWorker> ;
foaf:name ?name .
OPTIONAL { ?exclude a <http://aksw.org/Alumni> . filter (?person = ?exclude) }
OPTIONAL { ?person foaf:familyName ?familyName }
filter(!bound(?exclude) )
} order by ASC(?familyName)
{% endcapture %}
{% assign group = "<http://aksw.org/Groups/AKSW>" | sparql_query: group_query %}
<section class="section">
<h3 class="title is-1">{{ page.rdf | rdf_property: "rdfs:label" }}</h3>
<h4 class="title is-4">The following individuals belong to AKSW</h4>
<div class="columns is-multiline">
{% for member in group %}
<div class="column is-one-third">
{% include person_card.html person=member.person %}
</div>
{% endfor %}
</div>
</section>
{% assign oldgroup = "<http://aksw.org/Groups/AKSW>" | sparql_query: oldgroup_query %}
<section class="section">
<h4 class="title is-4">The following individuals grew up at AKSW</h4>
<div class="columns is-multiline">
{% for member in oldgroup %}
<div class="column is-one-third">
{% include person_card.html person=member.person %}
</div>
{% endfor %}
</div>
</section>
{% assign students = "<http://aksw.org/Groups/AKSW>" | sparql_query: students_query %}
<section class="section">
<h4 class="title is-4">The following Students work with us </h4>
<ul>
{% for member in students %}
<li><a href="{{ member.person.render_path | relativize_url }}">{{ member.name }}</a></li>
{% endfor %}
</ul>
</section>
<a href="{{ aksw.render_path | relativize_url }}">See AKSW</a>
{% include foot.html page=page %}