Package edu.isi.karma.rep.alignment

Examples of edu.isi.karma.rep.alignment.ObjectPropertyLink


    gbtk.addNode(n1);
    gbtk.addNode(n2);
    gbtk.addNode(n3);
    gbtk.addNode(n4);

    ObjectPropertyLink e1 = new ObjectPropertyLink("e1", new Label("http://erlangen-crm.org/current/P104i_applies_to"), ObjectPropertyType.Direct);
    ObjectPropertyLink e2 = new ObjectPropertyLink("e2", new Label("http://erlangen-crm.org/current/P105i_has_right_on"), ObjectPropertyType.Direct);
    ObjectPropertyLink e3 = new ObjectPropertyLink("e3", new Label("http://erlangen-crm.org/current/P31_has_modified"), ObjectPropertyType.Direct);
    ObjectPropertyLink e4 = new ObjectPropertyLink("e4", new Label("http://erlangen-crm.org/current/P106i_forms_part_of"), ObjectPropertyType.Direct);
    ObjectPropertyLink e5 = new ObjectPropertyLink("e5", new Label("http://erlangen-crm.org/current/P92_brought_into_existence"), ObjectPropertyType.Direct);
    ObjectPropertyLink e6 = new ObjectPropertyLink("e6", new Label("http://erlangen-crm.org/current/P108_has_produced"), ObjectPropertyType.Direct);
   
    gbtk.addLink(n1, n2, e1, 0.6);
    gbtk.addLink(n1, n4, e2, 0.9);
    gbtk.addLink(n1, n3, e3, 0.2);
    gbtk.addLink(n2, n3, e4, 0.7);
View Full Code Here

TOP

Related Classes of edu.isi.karma.rep.alignment.ObjectPropertyLink

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.