RDQLParser.java revision 2
/*
* Created on Mar 30, 2005
*/
/**
* @author Evren Sirin
*
*/
public class RDQLParser implements ABoxQueryParser {
}
try {
if( t.getPredicate().isVariable() )
throw new IllegalArgumentException("Variables cannot be used in predicate position in AboxQuery");
if( t.getObject().isVariable() )
throw new IllegalArgumentException("Variables cannot be used as objects of rdf:type triples in ABoxQuery");
}
else {
if( p == null )
else if( p instanceof OWLDataProperty ) {
}
else {
}
}
}
else if ( expr instanceof Q_NotEqual )
else if ( expr instanceof Q_GreaterThan )
else if ( expr instanceof Q_GreaterThanOrEqual )
else if ( expr instanceof Q_LessThan )
else if ( expr instanceof Q_LessThanOrEqual )
else
throw new NotImplementedException();
}
}
} catch(URISyntaxException e) {
}
}
private SWRLDataObject makeDataObject( Expression expr, OWLOntology ont ) throws URISyntaxException {
if( expr.isVariable() ) {
}
else if( expr.isConstant() ) {
if( expr instanceof ParsedLiteral ) {
throw new NotImplementedException();
}
}
}
}
}
}
else
throw new IllegalArgumentException();
}
else
}
else {
throw new NotImplementedException();
}
}
if( node.isVariable() ) {
}
else {
OWLDataValue value = new OWLDataValueImpl( new LiteralImpl( node, (EnhGraph) ont.getImplementation() ) );
}
}
private SWRLIndividualObject makeIndividalObject( Node node, OWLOntology ont ) throws URISyntaxException {
if( node.isVariable() ) {
}
else {
}
}
}