From: <lor...@us...> - 2011-09-02 12:03:04
|
Revision: 3232 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3232&view=rev Author: lorenz_b Date: 2011-09-02 12:02:58 +0000 (Fri, 02 Sep 2011) Log Message: ----------- Added timestamp to enrichment output Modified Paths: -------------- trunk/interfaces/src/main/java/org/dllearner/cli/Enrichment.java Modified: trunk/interfaces/src/main/java/org/dllearner/cli/Enrichment.java =================================================================== --- trunk/interfaces/src/main/java/org/dllearner/cli/Enrichment.java 2011-09-02 12:01:29 UTC (rev 3231) +++ trunk/interfaces/src/main/java/org/dllearner/cli/Enrichment.java 2011-09-02 12:02:58 UTC (rev 3232) @@ -36,6 +36,7 @@ import java.security.SecureRandom; import java.text.DecimalFormat; import java.util.ArrayList; +import java.util.Date; import java.util.HashSet; import java.util.LinkedList; import java.util.List; @@ -522,6 +523,9 @@ ax = f.getOWLDataPropertyAssertionAxiom(EnrichmentVocabulary.parameterValue, paramInd, entry.getValue().toString()); axioms.add(ax); } + //add timestamp + ax = f.getOWLDataPropertyAssertionAxiom(EnrichmentVocabulary.timestamp, algorithmRunInd, System.currentTimeMillis()); + axioms.add(ax); //add used input to algorithm run instance try { OWLNamedIndividual knowldegeBaseInd = f.getOWLNamedIndividual(IRI.create(ks.getEndpoint().getURL())); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |