delete filter

33 views
Skip to first unread message

Samuel MORELLO

unread,
Jan 9, 2012, 3:25:07 PM1/9/12
to 4store-support
Hi,

I can not use a query like this to delete some triples :
DELETE { ?s ?p ?o } WHERE { ?s ?p ?o . ?s <http://www.w3.org/2000/01/
rdf-schema#label> ?o . FILTER ( langMatches(lang(?o), 'FR') )}

This has no effect but the following delete all the triples with a
refs:label predicate ?
DELETE { ?s <http://www.w3.org/2000/01/rdf-schema#label> ?o } WHERE { ?
s <http://www.w3.org/2000/01/rdf-schema#label> ?o . FILTER
( langMatches(lang(?o), 'FR') )}

Am i doing something wrong ?
Many thanks,


Smauel

Steve Harris

unread,
Jan 9, 2012, 5:10:49 PM1/9/12
to 4store-...@googlegroups.com
Oh! That looks like quite a serious bug.

I'll create a ticket for it.

- Steve

> --
> You received this message because you are subscribed to the Google Groups "4store-support" group.
> To post to this group, send email to 4store-...@googlegroups.com.
> To unsubscribe from this group, send email to 4store-suppor...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/4store-support?hl=en.
>

--
Steve Harris, CTO, Garlik Limited
1-3 Halford Road, Richmond, TW10 6AW, UK
+44 20 8439 8203 http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD

Samuel Morello

unread,
Jan 10, 2012, 4:57:09 AM1/10/12
to 4store-...@googlegroups.com
Many thanks, 

I've got the same issue with insert: 
INSERT { ?s <http://test.com/name> ?lang } WHERE { ?s <http://www.w3.org/2000/01/rdf-schema#label> ?o FILTER (lang(?o) = 'EN')}

Samuel 
Reply all
Reply to author
Forward
0 new messages