Commit 7596c4a3 authored by Admin's avatar Admin
Browse files
parents 5ef24f0d 3f7accae
......@@ -2,8 +2,8 @@
Welcome to the Semantic BMS framework project site.
The SemanticBMS project aims to provide semantic information for building
automation data. More details about the topic can be found in following paper:
http://link.springer.com/chapter/10.1007/978-3-319-31165-4_5
automation data. More details about the topic can be found in the doctoral thesis of the author:
https://is.muni.cz/th/255658/fi_d/
The Source files in this repository are proof-of-concept implementations of following
components of the middleware layer:
......
package cz.muni.fi.lasaris.sbms.semantics.logic;
import java.io.ByteArrayOutputStream;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.ZonedDateTime;
import java.util.ArrayList;
import java.util.Collections;
import java.util.GregorianCalendar;
......@@ -191,6 +194,7 @@ public class TdbConnector {
public static List<QuerySolution> executeSPARQLResults(Query q) {
List<QuerySolution> l = new ArrayList<QuerySolution>();
long start = System.currentTimeMillis();
try (QueryExecution qexec = QueryExecutionFactory.create(q, getModel())) {
ResultSet results = qexec.execSelect();
for ( ; results.hasNext() ; )
......@@ -201,6 +205,10 @@ public class TdbConnector {
} catch (Exception e) {
logger.debug("Unexpected error", e);
}
finally {
long duration = System.currentTimeMillis() - start;
logger.debug("Time of query execution (pure): " + duration);
}
return l;
}
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<uri id="User Entered Import Resolution" name="http://purl.oclc.org/NET/muo/muo-vocab.owl" uri="muo-vocab.rdf"/>
<uri id="User Edited Redirect" name="http://is.muni.cz/www/255658/sbms/v2_0/SemanticBMS" uri="SemanticBMS.rdf"/>
<uri id="User Edited Redirect" name="http://is.muni.cz/www/255658/sbms/v2_0/SemanticBIM" uri="SemanticBIM.rdf"/>
<uri id="User Edited Redirect" name="http://purl.oclc.org/NET/muo/muo#" uri="muo-vocab.rdf"/>
<group id="Folder Repository, directory=, recursive=true, Auto-Update=true, version=2" prefer="public" xml:base="">
<uri id="Automatically generated entry, Timestamp=1492092294647" name="http://purl.oclc.org/NET/muo/ucum/" uri="ucum-instances.rdf"/>
<uri id="Automatically generated entry, Timestamp=1492092294647" name="http://purl.oclc.org/NET/ssnx/ssn" uri="ssn.rdf"/>
<uri id="Automatically generated entry, Timestamp=1492092294647" name="http://www.loa.istc.cnr.it/ontologies/DUL.owl" uri="DUL.rdf"/>
<uri id="Automatically generated entry, Timestamp=1492092294647" name="duplicate:http://www.w3.org/2002/07/owl" uri="SemanticBIM.rdf"/>
<uri id="Automatically generated entry, Timestamp=1492092294647" name="duplicate:http://www.w3.org/2002/07/owl" uri="SemanticBMS.rdf"/>
<uri id="Automatically generated entry, Timestamp=1504809500012" name="http://purl.oclc.org/NET/muo/ucum/" uri="ucum-instances.rdf"/>
<uri id="Automatically generated entry, Timestamp=1504809500012" name="http://purl.oclc.org/NET/ssnx/ssn" uri="ssn.rdf"/>
<uri id="Automatically generated entry, Timestamp=1504809500012" name="http://www.loa.istc.cnr.it/ontologies/DUL.owl" uri="DUL.rdf"/>
<uri id="Automatically generated entry, Timestamp=1504809500012" name="duplicate:http://www.w3.org/2002/07/owl" uri="SemanticBIM.rdf"/>
<uri id="Automatically generated entry, Timestamp=1504809500012" name="duplicate:http://www.w3.org/2002/07/owl" uri="SemanticBMS.rdf"/>
</group>
</catalog>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment