hi, check out this [1] post here, might not be implemented. there are also no samples working with bind on dbpedia endpoint and virtuoso's sparql grammar [2] doesn't mention bind as well.
wkr turnguard [1] http://boards.openlinksw.com/phpBB3/viewtopic.php?f=12&t=2670 [2] http://docs.openlinksw.com/virtuoso/rdfsparql.html ----- Original Message ----- From: "lorena" <[email protected]> To: "Rumi Tsekova" <[email protected]> Cc: [email protected] Sent: Monday, June 25, 2012 4:11:32 PM Subject: Re: [Virtuoso-users] MD5 function Hi Rumi: I've tried the query with the white space fix in both: conductor sparql section (http://localhost:8890/conductor/sparql_input.vspx?sid=d2143c610816358a747b0ed4154d812c&realm=virtuoso_admin) and the sparql endpoint at http://localhost:8890/sparql. In both cases I still get the same error: Virtuoso 37000 Error SP030: SPARQL compiler, line 3: syntax error at 'MD5' before '(' SPARQL query: define sql:big-data-const 0 #output-format:text/html define sql:signal-void-variables 1 SELECT MD5 ('test') WHERE { ?s ?p ?o } LIMIT 10 thanks Lorena On Mon, Jun 25, 2012 at 3:55 PM, Rumi Tsekova <[email protected]> wrote: > Hi Lorena, > >> Hi! >> >> I'm trying this sample query, from >> http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtTipsAndTricksSPARQL11FeaturesExamplesCollection, >> on my local Virtuoso Version: 06.01.3127. >> >> SELECT MD5 ('test') >> WHERE >> { >> ?s ?p ?o >> } >> LIMIT 10 >> >> And I get the following error >> >> Virtuoso 37000 Error SP030: SPARQL compiler, line 3: syntax error at >> 'MD5' before '(' >> >> SPARQL query: >> define sql:big-data-const 0 >> #output-format:text/html >> SELECT MD5 (?s) >> WHERE >> { >> ?s ?p ?o >> } >> LIMIT 10 >> >> >> Am I missing some prefix or is that this function is not supported on >> Virtuoso Version: 06.01.3127 ? > > It depends where you executed the query re. using prefix. > If it is from the SPARQL endpoint i.e. http://host:port/sparql then no > "sparql" infront, i.e.: > SELECT MD5 ('test') WHERE { ?s ?p ?o } LIMIT 10 > > If you executed it from iSQL tool or from Conductor ( > http://host:port/conductor -> Database -> Interactive SQL ) then you should > use sparql placed infront of the query: > > i.e.: > > iSQL: > SQL > SPARQL SELECT MD5 ('test') WHERE { ?s ?p ?o } LIMIT 10 > > or from Conductor: > > SPARQL SELECT MD5 ('test') WHERE { ?s ?p ?o } LIMIT 10 > > > However I noticed your query from above is missing one white space after > ('test'). > What if you try the query like this: SELECT MD5 ('test') WHERE { ?s ?p ?o } > LIMIT 10 > > > Please let us know if that worked for you. > > Best Regards, > Rumi > > >> >> thanks in advance >> Lorena >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Virtuoso-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/virtuoso-users > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Virtuoso-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/virtuoso-users -- Lorena Etcheverry ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Virtuoso-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users -- | Jürgen Jakobitsch, | Software Developer | Semantic Web Company GmbH | Mariahilfer Straße 70 / Neubaugasse 1, Top 8 | A - 1070 Wien, Austria | Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22 COMPANY INFORMATION | web : http://www.semantic-web.at/ | foaf : http://company.semantic-web.at/person/juergen_jakobitsch PERSONAL INFORMATION | web : http://www.turnguard.com | foaf : http://www.turnguard.com/turnguard | g+ : https://plus.google.com/111233759991616358206/posts | skype : jakobitsch-punkt | xmlns:tg = "http://www.turnguard.com/turnguard#"
