Hello everyone

I would like to know if virtuoso have a function similar to bif:contains,
for predicate values.

For example: I want to get all the properties from DBpedia which predicates
start with "http://dbpedia.org";.

I'm currently using the following SPARQL query that use expensive regular
expression (regex)

select ?p
where{
?s ?p ?o.
FILTER(regex(?p,"http://dbpedia.org";))
}

I would like to have something like:

select ?p
where{
?s ?p ?o.
FILTER(bif:contains(?p,"http://dbpedia.org";))
}
Error : ?p must to be an object (OK)

Best Regards,

Percy

Reply via email to