Apache-SPARQL-RDFStore

 view release on metacpan or  search on metacpan

lib/Apache/SPARQL/RDFStore.pm  view on Meta::CPAN

	if( $format !~ s/^\s*(rdfxml|ntriples|xml)\s*$/$1/ ) {
		$class->_error( $ap, "Format $format is not supported" );
		return $Apache::SPARQL::Responses{ 'OperationPointError' };
		};

	#
	# more advanced stuff
	#
	# Any other CGI paramter starting with the 'rdflet_' prefix is passed down to the SPARQL query itself, and can be referred
	# into the SPARQL query as $$param_name. Multiple parameters result into a OR-ed list of value - each value can be either
	# a full qulified URI resource or a literal (with it xml:lang or rdf:datatype attached), using some N-Triples/Turtle like syntax.
	#	
	# Example:
	#
	# Given /sparql/?sparqlet_URL=<http://foo.bar/com.html>
	#
	# and the following SPARQL '&query' paramter
	#
	#       prefix dc: <http://purl.org/dc/elements/1.1/>
	#       select ?title
	#       where ( $$URL dc:title ?title )



( run in 1.141 second using v1.01-cache-2.11-cpan-e1769b4cff6 )