Package org.apache.stanbol.rules.base.api

Examples of org.apache.stanbol.rules.base.api.RuleAtom


    }

    @Test
    public void testValidAtomWithLiteralArguments() {

        RuleAtom ruleAtom = new DatavaluedPropertyAtom(datatypeProperty, argument1, literal);

        execTest(ruleAtom);
    }
View Full Code Here


    }

    @Test
    public void testValidAtomWithTypedLiteralArguments() {

        RuleAtom ruleAtom = new DatavaluedPropertyAtom(datatypeProperty, argument1, typedLiteral);

        execTest(ruleAtom);
    }
View Full Code Here

    }

    @Test
    public void testValidClassAtomWith() {

        RuleAtom ruleAtom = new ClassAtom(classResource, argument1);

        execTest(ruleAtom);
    }
View Full Code Here

    }

    @Test
    public void testValidAtomWithVariableArguments() {

        RuleAtom ruleAtom = new GreaterThanAtom(variable1, variable2);

        execTest(ruleAtom);

    }
View Full Code Here

    }

    @Test
    public void testValidAtomWithLiteralArguments() {

        RuleAtom ruleAtom = new GreaterThanAtom(literal1, literal2);

        execTest(ruleAtom);
    }
View Full Code Here

    }

    @Test
    public void testValidAtomWithTypedLiteralArguments() {

        RuleAtom ruleAtom = new GreaterThanAtom(typedLiteral1, typedLiteral2);

        execTest(ruleAtom);
    }
View Full Code Here

    }

    @Test
    public void testValidIndividualPropertyAtomWith() {

        RuleAtom ruleAtom = new IndividualPropertyAtom(objectProperty, argument1, argument2);

        execTest(ruleAtom);
    }
View Full Code Here

    }

    @Test
    public void testValidAtomWithVariableArguments() {

        RuleAtom ruleAtom = new LessThanAtom(variable1, variable2);

        execTest(ruleAtom);

    }
View Full Code Here

    }

    @Test
    public void testValidAtomWithLiteralArguments() {

        RuleAtom ruleAtom = new LessThanAtom(literal1, literal2);

        execTest(ruleAtom);
    }
View Full Code Here

    }

    @Test
    public void testValidAtomWithTypedLiteralArguments() {

        RuleAtom ruleAtom = new LessThanAtom(typedLiteral1, typedLiteral2);

        execTest(ruleAtom);
    }
View Full Code Here

TOP

Related Classes of org.apache.stanbol.rules.base.api.RuleAtom

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.