I get an error. If I specify a prefix will I have to update all my data?
Currently the model just has (blank node, column_name, test) for each
triplet.


On Thu, Jun 27, 2013 at 10:48 AM, David Jordan <[email protected]> wrote:

>
> When you say it does not work, what do you mean? You get no results, or
> you get an error?
> Your column_name in the where clause should be a predicate.
> For example, rdfs:subClassOf
>
> -----Original Message-----
> From: Kurt Landen [mailto:[email protected]]
> Sent: Thursday, June 27, 2013 11:35 AM
> To: [email protected]
> Subject: Do query predicates require a prefix?
>
> I can execute this command using QueryFactory:
>
> SELECT ?x ?y ?z WHERE {?x ?y ?z }
>
> but if I want to specify the predicate
>
> SELECT ?x ?y ?z WHERE {?x column_name ?z }
>
> it does not work.
>
> Does the predicate and/or subject require a prefix?
>
> If I specify a prefix I don't get an error, but I will have to change all
> my data so that the query will work. Is this even a correct query?
>
>

Reply via email to