Hi Rumi, I am afraid this is not the case. I just gave a query pattern, just an example.
I am almost sure that in my real query the syntax is right (i.e., prefix: property). I tried to confirm this behavior via the online demo endpoint http://demo.openlinksw.com/isparql/ Trying the following query with wrong syntax: select ?o from <http://www.heppnetz.de/ontologies/goodrelations/v1.owl> where{filter not exists{?o comment1212 ?x}} And I get a syntax error: Virtuoso 37000 Error SP030: SPARQL compiler, line 2: syntax error at 'comment1212' before '?x'. Not an internal error. So is there anything else to consider? On 29 June 2012 01:56, Rumi Tsekova <[email protected]> wrote: > ** > Hi Alex, > > > ----- Original Message ----- > > From: Alex > > To: [email protected] > > Sent: Thursday, June 28, 2012 5:55 PM > > Subject: [Virtuoso-users] Again Internal error: 'output:valmode' > declarationconflicts with 'output:format' > > > > > > Hello there, > > I would like to use not exists in a query and I get the above error in > isql. > > > > > > The pattern of the query is the following: > > sparql select count(distinct ?o) from <g> where{?s something ?o. filter > not exists{?o something ?x}} > > > > > > What is the format that I should define in order to work? Could someone > help me on this? Thanks. > > The syntax of something ( as per your example ) should be correct so not > to get SPARQL error i.e. should be on of the followng: > > <something>, > :something , > some:thing , > something: > > and if the needed namespace prefixes etc. > > > Best Regards, > Rumi > > > >
