Changes: Use integer literals for tracker:id() based filters
[qtcontacts-tracker:qtcontacts-tracker.git] / tests / ut_qtcontacts_trackerplugin_querybuilder / data / 301-testIntersectionFilter.rq
1 SELECT
2   ?_contact tracker:id(?_contact)
3   ?_context rdfs:label(?_context)
4
5   nco:nameHonorificPrefix(?_contact, "\u002c", "\u001c")
6   nco:nameGiven(?_contact, "\u002c", "\u001c")
7   nco:nameAdditional(?_contact, "\u002c", "\u001c")
8   nco:nameFamily(?_contact, "\u002c", "\u001c")
9   nco:nameHonorificSuffix(?_contact, "\u002c", "\u001c")
10   nco:fullname(?_contact, "\u002c", "\u001c")
11
12 WHERE {
13   ?_contact rdf:type nco:PersonContact
14   OPTIONAL { ?_contact nco:hasAffiliation ?_context }
15
16   FILTER(((tracker:id(?_contact) IN (225543300,58390905,55500278)) &&
17           (tracker:id(?_contact) IN (225543300,55500278,254908088))))
18 }