edu.lehigh.swat.obione
Class MiniConDescription
java.lang.Object
edu.lehigh.swat.obione.MiniConDescription
public class MiniConDescription
- extends java.lang.Object
|
Constructor Summary |
MiniConDescription(int id,
java.util.BitSet queryGoals,
java.util.HashMap hm,
java.util.HashMap varmap,
org.semanticweb.kaon2.api.rules.Literal sourceLit,
LegacySourceView sv)
|
MiniConDescription(LegacySourceView sv)
This creates the special MCDS which we use to address the issue
of not missing sources when the rel statement is in terms of the query
ontlogy. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
queryGoals
private java.util.BitSet queryGoals
hm
private java.util.HashMap hm
varmap
private java.util.HashMap varmap
sourceLit
private org.semanticweb.kaon2.api.rules.Literal sourceLit
sourceLoc
private java.lang.String sourceLoc
view
private LegacySourceView view
headInQuery
private boolean headInQuery
id
private int id
nextId
private static int nextId
MiniConDescription
public MiniConDescription(LegacySourceView sv)
- This creates the special MCDS which we use to address the issue
of not missing sources when the rel statement is in terms of the query
ontlogy. In minicon in traditional sense it will be missed. As predmatch
will fail to map the view subgoal with query subgoal. In this case query subgoal
matches the view head
- Parameters:
sv -
MiniConDescription
public MiniConDescription(int id,
java.util.BitSet queryGoals,
java.util.HashMap hm,
java.util.HashMap varmap,
org.semanticweb.kaon2.api.rules.Literal sourceLit,
LegacySourceView sv)
getId
public int getId()
getSourceLoc
public java.lang.String getSourceLoc()
equals
public boolean equals(MiniConDescription mcd)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getQueryGoals
public java.util.BitSet getQueryGoals()
getLegacySourceView
public LegacySourceView getLegacySourceView()
isHeadInQuery
public boolean isHeadInQuery()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
main
public static void main(java.lang.String[] args)