Loosely, yes.

A CONSTRUCT query returns a result which is an RDF model.

If that is across then that is work, it is a copy. (well, the serialization of results).


    Andy

On 22/08/17 16:22, Sidra shah wrote:
Hello Andy, it copies the triples from Dbpedia to the local model?

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Aug 22, 2017 at 5:44 PM, Andy Seaborne <[email protected]> wrote:

It creates a separate model with all the matching triples in it and
nothing else.

It can also be written:

CONSTRUCT WHERE { :France onto:anthem ?x }

     Andy


On 22/08/17 14:04, Sidra shah wrote:

Hello

What is the purpose of this query? The where clause shows the triple
already exist but then why one would need it in Construct?

PREFIX : <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>

CONSTRUCT {
      :France onto:anthem ?x
}

WHERE
{
    :France onto:anthem ?x .
}



Reply via email to