Package eu.admire.registry.ogsadai.rdfactivity.client.query

Examples of eu.admire.registry.ogsadai.rdfactivity.client.query.QueryEPR


    @Test
    public void testQuery() throws MalformedURLException
    {
        String SPARQLquery = "PREFIX dc: <purl.org/dc/elements/1.1/> PREFIX swrc: <http://swrc.ontoware.org/ontology#> PREFIX conf: <http://dblp.l3s.de/d2r/resource/conferences/> PREFIX : <http://dblp.l3s.de/d2r/resource/authors/> SELECT DISTINCT ?Author  WHERE {  ?Paper1 swrc:series conf:pods .  ?Paper1 dc:creator ?Author .  ?Paper2 dc:creator ?Author .  ?Paper2 swrc:series conf:stoc .  ?Paper3 dc:creator ?Author .  ?Paper3 swrc:series conf:podc .  ?Paper4 dc:creator ?Author .  ?Paper4 swrc:series conf:lics . }";

        QueryEPR rdfActivity = new QueryEPR(SPARQLquery);
        rdfActivity.setResourceID("jorge");

        DeliverToRequestStatus deliverToRequestStatus = new DeliverToRequestStatus();

        TupleToWebRowSetCharArrays tupleToWebRowSet = new TupleToWebRowSetCharArrays();
        tupleToWebRowSet.connectDataInput(rdfActivity.getDataOutput());

        // Connect the output of RDFResource to DeliverToRequestStatus
        deliverToRequestStatus.connectInput(tupleToWebRowSet.getResultOutput());

        // Create the workflow
View Full Code Here

TOP

Related Classes of eu.admire.registry.ogsadai.rdfactivity.client.query.QueryEPR

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.