Skip to content
Snippets Groups Projects
Commit 90dc77a4 authored by Tarje Saelen Lavik's avatar Tarje Saelen Lavik
Browse files

Fixed count on relation objects to Person

parent f478bdae
No related branches found
No related tags found
No related merge requests found
......@@ -2,5 +2,5 @@ SELECT DISTINCT (COUNT(?uri) AS ?total) WHERE {
{ <http://data.ub.uib.no/instance/person/{{ lodspk.args.arg0 }}> ?p ?uri . }
UNION
{ ?uri ?p <http://data.ub.uib.no/instance/person/{{ lodspk.args.arg0 }}> . }
FILTER(?p = foaf:maker || ?p = dct:related || ?p = ubbont:sender || ?p = ubbont:recipient || ?p = foaf:depiction )
FILTER(?p = foaf:maker || ?p = dct:relation || ?p = ubbont:sender || ?p = ubbont:recipient || ?p = foaf:depiction )
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment