Skip to content

Commit

Permalink
Update qc-xref-syntax.sparql
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolevasilevsky authored Aug 10, 2022
1 parent 40c9f40 commit b985ffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sparql/qc/general/qc-xref-syntax.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?entity ?property ?value WHERE
{
?entity hasDbXref: ?value .
?entity hasDbXref: ?x .

FILTER( regex(STR(?value), " ") || regex(STR(?value), ";") || STR(?value) = "" )
FILTER( regex(STR(?x), " ") || regex(STR(?x), ";") || STR(?x) = "" )
BIND(hasDbXref: AS ?property)
}
ORDER BY ?entity

0 comments on commit b985ffb

Please sign in to comment.