Skip to content

Commit

Permalink
Update Groups.html
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmarx authored Mar 28, 2024
1 parent c1f07c9 commit 0a413ea
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Groups.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
---

{% include head.html page=page %}
{% assign aksw = "<http://aksw.org/Groups/AKSW>" | rdf_get %}
{% assign groups = aksw | rdf_inverse_property: "aiiso:part_of", true %}
{% for group in groups %}
{% if group.iri != "http://aksw.org/Groups/Alumni" %}
{% assign query = 'SELECT ?s ?p ?o WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/vocab/aiiso/schema#ResearchGroup> .
?s ?p ?o .
} ' %}
{% assign resultset = page.rdf | sparql_query: query %}
{% for group in resultset %}
{% if group.iri != "http://aksw.org/Groups/AKSW" %}
<section class="section">
<h3 class="title is-3"><a href="{{ group.render_path | relativize_url }}">{{ group | rdf_property: "rdfs:label" }}</a></h3>
<p>{{ group | rdf_property: "dct:abstract" }}</p>
Expand Down

0 comments on commit 0a413ea

Please sign in to comment.