File: federation.md

package info (click to toggle)
python-rdflib-endpoint 0.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 744 kB
  • sloc: python: 1,197; sh: 21; makefile: 5
file content (66 lines) | stat: -rw-r--r-- 1,170 bytes parent folder | download
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
# Federated query to rdflib-endpoint

To test it locally start the docker compose stack in this folder

## Test locally

Need to use the host from the docker network:

```sparql
SELECT * WHERE {
  SERVICE <http://rdflib-endpoint/> {
      SELECT ?o WHERE {
        ?s ?p ?o .
      }
    }
}
```

Local with FILTER:

```SPARQL
SELECT * WHERE {
  SERVICE <http://rdflib-endpoint/> {
      SELECT ?o WHERE {
        VALUES ?s { <http://subject> }
        ?s ?p ?o .
      }
    }
}
```

Test on bioregistry simple:

```SPARQL
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT * WHERE {
  SERVICE <https://bioregistry.io/sparql> {
      <http://purl.obolibrary.org/obo/CHEBI_1> owl:sameAs ?o
    }
}
```

Test on bioregistry with values:

```SPARQL
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT * WHERE {
  SERVICE <https://bioregistry.io/sparql> {
      VALUES ?s { <http://purl.obolibrary.org/obo/CHEBI_1> }
      ?s owl:sameAs ?o
    }
}
```

## ✅ Working

- Qlever: https://qlever.cs.uni-freiburg.de/uniprot/
- Virtuoso: if not using VALUES in service call
- Oxigraph
- GraphDB (fixed at last release)
- Blazegraph
- Fuseki

## ❌ Not working

- MilleniumDB