Works nice. Perfect. Thank you

On Wed, Mar 6, 2013 at 8:27 PM, Mohamed Morsey
<[email protected]> wrote:
> Hi Riccardo,
>
>
> On 03/06/2013 08:13 PM, Riccardo Porrini wrote:
>
> Hi all,
>
> I'm getting occasional errors in submitting (programmatically) a fixed
> query to dbpedia public sparql endpoint (http://dbpedia.org/sparql).
> The issue is the same even if I submit the query using my browser.
>
> Here's the query:
> construct{?s ?p ?o} where {
>     {?s ?p ?o . values ?o {<http://dbpedia.org/resource/Chuck_Norris>}}
> union
>     {?s ?p ?o . values ?s {<http://dbpedia.org/resource/Chuck_Norris>}
> filter isUri(?o)}
> }
> limit 100
>
>
> Please try the following query:
>
> CONSTRUCT {?s ?p ?o} WHERE {
>     {?s ?p ?o . FILTER ( ?o = <http://dbpedia.org/resource/Chuck_Norris>) }
> UNION
>     {?s ?p ?o . FILTER ( ?s = <http://dbpedia.org/resource/Chuck_Norris>)}
> }
> LIMIT 100
>
>
>
> What am I missing?
>
> Bests regards
> --
> Riccardo Porrini
>
>
>
> --
> Kind Regards
> Mohamed Morsey
> Department of Computer Science
> University of Leipzig



-- 
Riccardo Porrini

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to