⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 owls_1_0.java

📁 开发owl的API,提供了W3C规定标准接口,是目前比较少的API.
💻 JAVA
字号:
// The MIT License
//
// Copyright (c) 2004 Evren Sirin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

package org.mindswap.owls.vocabulary.jena;

import com.hp.hpl.jena.rdf.model.Property;
import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.rdf.model.ResourceFactory;

public class OWLS_1_0 {
	public final static String base    = "http://www.daml.org/services/owl-s/";	
	public final static String version = "1.0";	
	public final static String URI     = base + version + "/";	
	
	public static class Service {
		public final static String URI = OWLS_1_0.URI + "Service.owl#";	

		public static Resource Service = ResourceFactory.createResource(URI + "Service");

		public static Property presents    = ResourceFactory.createProperty(URI, "presents");
		public static Property describedBy = ResourceFactory.createProperty(URI, "describedBy");
		public static Property supports    = ResourceFactory.createProperty(URI, "supports");
	}
	
	public static class Process {
		public final static String URI = OWLS_1_0.URI + "Process.owl#";	

		public static Resource Process          = ResourceFactory.createResource(URI + "Process");
		public static Resource AtomicProcess    = ResourceFactory.createResource(URI + "AtomicProcess");
		public static Resource CompositeProcess = ResourceFactory.createResource(URI + "CompositeProcess");
		public static Resource SimpleProcess    = ResourceFactory.createResource(URI + "SimpleProcess");
		public static Resource Sequence         = ResourceFactory.createResource(URI + "Sequence");
		public static Resource Unordered        = ResourceFactory.createResource(URI + "Unordered");
		public static Resource Choice           = ResourceFactory.createResource(URI + "Choice");
		public static Resource Split            = ResourceFactory.createResource(URI + "Split");
		public static Resource SplitJoin        = ResourceFactory.createResource(URI + "Split-Join");
		public static Resource ValueOf          = ResourceFactory.createResource(URI + "ValueOf");		

		public static Property hasInput        = ResourceFactory.createProperty(URI, "hasInput");
		public static Property hasOutput       = ResourceFactory.createProperty(URI, "hasOutput");		
		public static Property hasPrecondition = ResourceFactory.createProperty(URI, "hasInput");
		public static Property hasEffect     = ResourceFactory.createProperty(URI, "hasPrecondition");		
		public static Property parameterType = ResourceFactory.createProperty(URI, "parameterType");		
		public static Property hasProcess    = ResourceFactory.createProperty(URI, "hasProcess");
		public static Property composedOf    = ResourceFactory.createProperty(URI, "composedOf");
		public static Property components    = ResourceFactory.createProperty(URI, "components");
		public static Property sameValues    = ResourceFactory.createProperty(URI, "sameValues");
		public static Property atClass       = ResourceFactory.createProperty(URI, "atProcess");
		public static Property theProperty   = ResourceFactory.createProperty(URI, "theParameter");	
	}

	public static class Profile {
		public final static String URI = OWLS_1_0.URI + "Profile.owl#";	

		public static Resource Profile          = ResourceFactory.createResource(URI + "Profile");
		
		public static Property hasInput           = ResourceFactory.createProperty(URI, "hasInput");
		public static Property hasOutput          = ResourceFactory.createProperty(URI, "hasOutput");
		public static Property hasPrecondition = ResourceFactory.createProperty(URI, "hasInput");
		public static Property hasEffect       = ResourceFactory.createProperty(URI, "hasPrecondition");		
		public static Property serviceName     = ResourceFactory.createProperty(URI, "serviceName");
		public static Property textDescription = ResourceFactory.createProperty(URI, "textDescription");
	}

	public static class Grounding {
		public final static String URI = OWLS_1_0.URI + "Grounding.owl#";	

		public final static Resource WsdlGrounding = ResourceFactory.createResource(URI + "WsdlGrounding");
		public final static Resource WsdlAtomicProcessGrounding = ResourceFactory.createResource(URI + "WsdlAtomicProcessGrounding");
		
		public static Property hasAtomicProcessGrounding = ResourceFactory.createProperty(URI, "hasAtomicProcessGrounding");
		public static Property wsdlDocument           = ResourceFactory.createProperty(URI, "wsdlDocument");
		public static Property wsdlOperation          = ResourceFactory.createProperty(URI, "wsdlOperation");
		public static Property operation              = ResourceFactory.createProperty(URI, "operation");
		public static Property portType               = ResourceFactory.createProperty(URI, "portType");
		public static Property damlsProcess           = ResourceFactory.createProperty(URI, "owlsProcess");
		public static Property wsdlInputMessage       = ResourceFactory.createProperty(URI, "wsdlInputMessage");
		public static Property wsdlInputMessageParts  = ResourceFactory.createProperty(URI, "wsdlInputMessageParts");
		public static Property wsdlOutputMessage      = ResourceFactory.createProperty(URI, "wsdlOutputMessage");
		public static Property wsdlOutputMessageParts = ResourceFactory.createProperty(URI, "wsdlOutputMessageParts");
		public static Property wsdlMessagePart        = ResourceFactory.createProperty(URI, "wsdlMessagePart");
		public static Property damlsParameter         = ResourceFactory.createProperty(URI, "owlsParameter");
		public static Property xsltTranformation      = ResourceFactory.createProperty(URI, "xsltTransformation");
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -