public OWLSAtomicService buildOWLSServiceFrom ( URI serviceURI , List < URI > modelURIs ) throws ModelException { if ( isFile ( serviceURI ) ) { return buildOWLSServiceFromLocalOrRemoteURI ( serviceURI , modelURIs ) ; } else { Service service = OWLSStore . persistentModelAsOWLKB ( ) . getService ( serviceURI ) ; if ( null == service ) { throw new OWLTranslationException ( "Not found as a local file, nor a valid Service found in data store" , null ) ; } return buildOWLSServiceFrom ( service ) ; } }
Builds an OWLSAtomicService