File: sameTerm-not-eq.rq

package info (click to toggle)
rdflib 4.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 24,292 kB
  • ctags: 3,475
  • sloc: python: 25,656; makefile: 95; sh: 21
file content (11 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
# Test: !sameTerm and eq
# $Id: sameTerm-not-eq.rq,v 1.1 2007/08/31 14:01:57 eric Exp $

PREFIX     :    <http://example.org/things#>

SELECT *
{
    ?x1 :p ?v1 .
    ?x2 :p ?v2 .
    FILTER ( !sameTerm(?v1, ?v2) && ?v1 = ?v2 )
}