hi Sebastian, Thanks for reply. But i am not talking about bif:contain. i am asking for count function in the query which is reason for giving invalid query. and on removing count fn it executes but it won't return any result.
i think stanbol sparql endpoint doesn't support count fn. regards, Manish Garg On Jun 7, 2013 10:47 AM, "Sebastian Hellmann" < [email protected]> wrote: > Hi, > > bif:contains is a Virtuoso Server specific build in function (bif) . Maybe > you just need to deactivate the "is virtuoso" checkbox in the RelFinder > settings. > all the best, > > Sebastian > > Am 06.06.2013 16:23, schrieb Garg, Manish: > >> SELECT ?s ?l count(?s) as ?count WHERE {?someobj ?p ?s . ?s < >> http://www.w3.org/2000/01/rdf-**schema#label<http://www.w3.org/2000/01/rdf-schema#label>> >> ?l .?l bif:contains "'india'" . >> FILTER (!regex(str(?s), >> ^http://dbpedia.org/resource/**ategory:'<http://dbpedia.org/resource/ategory:'> >> )<http://dbpedia.org/**resource/Category:'<http://dbpedia.org/resource/Category:'>)> >> ). >> FILTER (!regex(str(?s), >> '^http://dbpedia.org/resource/**List')).FILTER<http://dbpedia.org/resource/List')).FILTER> >> (!regex(str(?s), >> '^http://sw.opencyc.org/')).**FILTER<http://sw.opencyc.org/')).FILTER>(lang(?l) >> = '' || >> langMatches(lang(?l), en')).FILTER (!isLiteral(?someobj)). }ORDER BY >> DESC(?count) LIMIT 20 >> > > > but when i remove count function then it executes. >> >> Any help in this regard will be appreciated. >> >> >> > > -- > Dipl. Inf. Sebastian Hellmann > Department of Computer Science, University of Leipzig > Events: NLP & DBpedia 2013 > (http://nlp-dbpedia2013.blogs.**aksw.org<http://nlp-dbpedia2013.blogs.aksw.org>, > Deadline: *July 8th*) > Venha para a Alemanha como PhD: > http://bis.informatik.uni-**leipzig.de/csf<http://bis.informatik.uni-leipzig.de/csf> > Projects: http://nlp2rdf.org , http://linguistics.okfn.org , > http://dbpedia.org/Wiktionary , http://dbpedia.org > Homepage: > http://bis.informatik.uni-**leipzig.de/SebastianHellmann<http://bis.informatik.uni-leipzig.de/SebastianHellmann> > Research Group: http://aksw.org > -- "This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential , proprietary or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful."
