PREFIX : PREFIX apf: SELECT ?ns ?ln { # Reverse the order from splituri-1 :x apf:splitIRI (?ns ?ln) . FILTER (?ns = : && ?ln = "x" ) }