Package com.hp.hpl.jena.sparql.mgt

Examples of com.hp.hpl.jena.sparql.mgt.SystemInfo


            if ( initialized ) return ;
            initialized = true ;
            TDB.init() ;
            TextAssembler.init() ;
           
            SystemInfo sysInfo = new SystemInfo(IRI, PATH, VERSION, BUILD_DATE) ;
            SystemARQ.registerSubSystem(sysInfo) ;
           
            PropertyFunctionRegistry.get().put("http://jena.apache.org/text#query", new PropertyFunctionFactory() {
                @Override
                public PropertyFunction create(String uri) {
View Full Code Here


    }

    private static void initlization2()
    {
        String NS = SDB.PATH ;
        SystemInfo systemInfo = new SystemInfo(SDB.sdbIRI, SDB.VERSION, SDB.BUILD_DATE) ;
        ARQMgt.register(NS+".system:type=SystemInfo", systemInfo) ;
        SystemARQ.registerSubSystem(systemInfo) ;
    }
View Full Code Here

    {
        if ( initialized ) return ;
        initialized = true ;
       
        String NS = RIOT.PATH ;
        SystemInfo sysInfo2 = new SystemInfo(RIOT.riotIRI, RIOT.VERSION, RIOT.BUILD_DATE) ;
        ARQMgt.register(NS+".system:type=SystemInfo", sysInfo2) ;
        SystemARQ.registerSubSystem(sysInfo2) ;
       
        SysRIOT.wireIntoJena() ;
    }
View Full Code Here

            MappingRegistry.addPrefixMapping(ARQ.arqSymbolPrefix, ARQ.arqParamNS) ;
           
            // This is the pattern for any subsystem to register.
            String NS = ARQ.PATH ;

            SystemInfo sysInfo = new SystemInfo(ARQ.arqIRI, ARQ.VERSION, ARQ.BUILD_DATE) ;
            ARQMgt.register(NS+".system:type=SystemInfo", sysInfo) ;
            SystemARQ.registerSubSystem(sysInfo) ;

            SystemInfo sysInfo2 = new SystemInfo("http://openjena.org/#jena", Jena.VERSION, Jena.BUILD_DATE) ;
            ARQMgt.register(NS+".system:type=SystemInfo", sysInfo2) ;
            SystemARQ.registerSubSystem(sysInfo2) ;

            RIOT.init() ;
        }
View Full Code Here

    {
        if ( initialized )
            return ;
        initialized = true ;
        ARQ.init() ;
        SystemInfo sysInfo = new SystemInfo(FusekiIRI, VERSION, BUILD_DATE) ;
        ARQMgt.register(PATH+".system:type=SystemInfo", sysInfo) ;
        SystemARQ.registerSubSystem(sysInfo) ;
        RIOT.init() ;
        TDB.init() ;
        MappingRegistry.addPrefixMapping("fuseki", FusekiSymbolIRI) ;
View Full Code Here

       
        Iterator<SystemInfo> iter = SystemARQ.registeredSubsystems() ;
       
        for ( ; iter.hasNext() ; )
        {
            SystemInfo info = iter.next();
            if ( ! isSameOrVar(subj, info.getIRI()) )
                continue ;
            Node version = Node.createLiteral(info.getVersion()) ;
            if ( ! isSameOrVar(obj, version) )
                continue ;
           
            BindingMap b = BindingFactory.create(binding) ;
            if ( subj.isVariable() )
                b.add(Var.alloc(subj), info.getIRI()) ;
            if ( subj.isVariable() )
                b.add(Var.alloc(obj), version) ;
            results.add(b) ;
        }
        return new QueryIterPlainWrapper(results.iterator(), execCxt) ;
View Full Code Here

    private static void initialization2()
    {
        // Set management information.
        // Needs ARQ > 2.8.0
        String NS = TDB.PATH ;
        SystemInfo systemInfo = new SystemInfo(TDB.tdbIRI, TDB.VERSION, TDB.BUILD_DATE) ;
        ARQMgt.register(NS+".system:type=SystemInfo", systemInfo) ;
        SystemARQ.registerSubSystem(systemInfo) ;
    }
View Full Code Here

{
    public static void init()
    {
        String NS = TDB.PATH ;
       
        SystemInfo sysInfo = new SystemInfo(TDB.tdbIRI, TDB.VERSION, TDB.BUILD_DATE) ;
        ARQMgt.register(NS+".system:type=SystemInfo", sysInfo) ;
        ARQMgt.register(NS+".system2:type=SystemInfo", new TDBSystemInfo()) ;
    }
View Full Code Here

            if ( initialized ) return ;
            initialized = true ;
            TDB.init() ;
            TextAssembler.init() ;
           
            SystemInfo sysInfo = new SystemInfo(IRI, VERSION, BUILD_DATE) ;
            ARQMgt.register(PATH+".system:type=SystemInfo", sysInfo) ;
            SystemARQ.registerSubSystem(sysInfo) ;
           
            PropertyFunctionRegistry.get().put("http://jena.apache.org/text#query", new PropertyFunctionFactory() {
                @Override
View Full Code Here

            if ( initialized ) return ;
            initialized = true ;
            TDB.init() ;
            SpatialAssembler.init() ;
           
            SystemInfo sysInfo = new SystemInfo(IRI, VERSION, BUILD_DATE) ;
            ARQMgt.register(PATH+".system:type=SystemInfo", sysInfo) ;
            SystemARQ.registerSubSystem(sysInfo) ;
           
            PropertyFunctionRegistry.get().put("http://jena.apache.org/spatial#withinCircle", new PropertyFunctionFactory() {
                @Override
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.sparql.mgt.SystemInfo

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.