From: <dc...@us...> - 2012-07-07 11:34:54
|
Revision: 3775 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3775&view=rev Author: dcherix Date: 2012-07-07 11:34:48 +0000 (Sat, 07 Jul 2012) Log Message: ----------- Bug fix, no mor problem wit nodes without uri Modified Paths: -------------- trunk/components-core/src/main/java/org/dllearner/utilities/analyse/TypeOntology.java Modified: trunk/components-core/src/main/java/org/dllearner/utilities/analyse/TypeOntology.java =================================================================== --- trunk/components-core/src/main/java/org/dllearner/utilities/analyse/TypeOntology.java 2012-07-07 11:33:39 UTC (rev 3774) +++ trunk/components-core/src/main/java/org/dllearner/utilities/analyse/TypeOntology.java 2012-07-07 11:34:48 UTC (rev 3775) @@ -63,8 +63,7 @@ // foreach triple in the model for (Triple triple : triples) { - if(triple.getSubject().isBlank() || triple.getPredicate().isBlank() || triple.getObject().isBlank()){ - System.out.println(triple); + if(!triple.getSubject().isURI() || !triple.getPredicate().isURI() || !triple.getObject().isURI()){ continue; } sUri = triple.getSubject().getURI(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |