[MOBY-guts] biomoby commit

Gary Schlitz gss at pub.open-bio.org
Wed May 19 23:33:09 UTC 2004


gss
Wed May 19 19:33:09 EDT 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/parser
In directory pub.open-bio.org:/tmp/cvs-serv2283/org/smoby/parser

Modified Files:
	Parser.java 
Log Message:
Incorporation of new parser

moby-live/S-MOBY/ref-impl/core/org/smoby/parser Parser.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/parser/Parser.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/parser/Parser.java	2004/05/19 18:27:07	1.1
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/parser/Parser.java	2004/05/19 23:33:08	1.2
@@ -375,10 +375,7 @@
             Property p = stmt.getPredicate();
             RDFNode pval = stmt.getObject();
             
-            boolean blankVal = pval.canAs(Resource.class) &&
-                               ((Resource) pval.as(Resource.class)).isAnon();
-            
-            if (blankVal && model.contains(res, p, pval) &&
+            if (model.contains(res, p, pval) &&
                 inferenceModel.contains(p, RDFS.subPropertyOf, MOBY.Property))
             {
                 MOBYPropertyValueStatement pvalStmt =




More information about the MOBY-guts mailing list