Hi Amani, I just tried out the RDF data service at [1]. Sample works fine, but it looks like the query doesn't use the input parameter. With SQL queries we can pass input parameters into the query using ":input" notation. How can I pass input parameters into the following Sparcl query which is used in the sample?
PREFIX space: <http://purl.org/net/schemas/space/> PREFIX relevance: <http://a9.com/-/opensearch/extensions/relevance/1.0/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dc: <http://purl.org/dc/elements/1.1/> SELECT ?homepage ?name ?alternateName ?internationalDesignator ?mass ?score ?launch ?agency ?description WHERE { ?craft foaf:homepage ?homepage. ?craft foaf:name ?name. ?craft space:alternateName ?alternateName. ?craft space:internationalDesignator ?internationalDesignator. ?craft space:mass ?mass. ?craft relevance:score ?score. ?craft space:launch ?launch. ?craft space:agency ?agency. ?craft dc:description ?description. } Thanks, ~Isuru [1] http://wso2.org/project/data-services/2.6.3/docs/rdf.html -- Isuru Suriarachchi Technical Lead WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev