File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ## arq --query=check_prefix_link.rq --data=mtw-trx_2026-01-30.nt.gz > mtw-trx_2026-01-30__prefix_link.txt
2+ SELECT DISTINCT ?term
3+ WHERE {
4+ {
5+ ?term ?p ?o .
6+ FILTER (isIRI (?term ))
7+ FILTER (STRSTARTS (STR (?term ), "http://mesh.inserm.fr/link/"))
8+ }
9+ UNION
10+ {
11+ ?s ?p ?term .
12+ FILTER (isIRI (?term ))
13+ FILTER (STRSTARTS (STR (?term ), "http://mesh.inserm.fr/link/"))
14+ }
15+ }
Original file line number Diff line number Diff line change 1+ # ## arq --query=check_prefix_no_link.rq --data=mtw-trx_2026-01-30.nt.gz > mtw-trx_2026-01-30__prefix_no_link.txt
2+ SELECT DISTINCT ?term
3+ WHERE {
4+ {
5+ ?term ?p ?o .
6+ FILTER (isIRI (?term ))
7+ FILTER (STRSTARTS (STR (?term ), "http://mesh.inserm.fr/"))
8+ FILTER (!STRSTARTS (STR (?term ), "http://mesh.inserm.fr/link/"))
9+ }
10+ UNION
11+ {
12+ ?s ?p ?term .
13+ FILTER (isIRI (?term ))
14+ FILTER (STRSTARTS (STR (?term ), "http://mesh.inserm.fr/"))
15+ FILTER (!STRSTARTS (STR (?term ), "http://mesh.inserm.fr/link/"))
16+ }
17+ }
Original file line number Diff line number Diff line change 1+ # ## arq --query=count_predicates.rq --data=mesh.nt.gz > mesh.nt.gz_stats.txt
2+ SELECT ?p (COUNT (* ) AS ?count )
3+ WHERE {
4+ ?s ?p ?o .
5+ }
6+ GROUP BY ?p
7+ ORDER BY ?p
You can’t perform that action at this time.
0 commit comments