You have been bitten by a common misconception among novice RDF / XML users that attribute names are directly related to actual data, when in reality this is not so. Attribute names in rdf namespaces are simply XML syntax and are not actually associated with URIs in data, on the other hand, in other namespaces, for example. The owl in your examples is usually directly related to the URI in the data. This is why it is so easy for people new to RDF / XML to get confused.
If we convert your data into a more readable syntax, such as Turtle, it looks like this:
@prefix : <http://websitename.com/urls/> . @prefix owl: <http://www.w3.org/2002/07/owl
In most cases, people prefer to display RDF fragments as turtles, as they are more readable and easily see what the data represents.
Thus, for the actual request, you may need the following request:
PREFIX owl: <http://www.w3.org/2002/07/owl
source share