From: Anton K. <ant...@ya...> - 2007-07-09 23:51:04
|
Hi, I just noticed that when running SPARQL query with output:format (TTL or RDF/XML it does not matter) setting, immediately after the server restart, query results are always returned in the valmode LONG format. Subsequent queries (if made on different connection) are OK. For example: # /etc/init.d/virtuoso restart # isql SQL> sparql define output:format "TTL" SELECT DISTINCT ?g WHERE {GRAPH ?g {?s ?p ?o}}; ..... rs:binding [ rs:name "g" ; rs:value "#i1000001" ] SQL> exit; # isql SQL> sparql define output:format "TTL" SELECT DISTINCT ?g WHERE {GRAPH ?g {?s ?p ?o}}; .... rs:binding [ rs:name "g" ; rs:value <http://www.openlinksw.com/schemas/virtrdf#> ] ; I'm using 5.0.1 on Linux. Regards, Anton ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ |