<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">A Prototype Service for Benchmarking Power Consumption of Mobile Semantic Applications</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author role="corresp">
							<persName><forename type="first">Evan</forename><forename type="middle">W</forename><surname>Patton</surname></persName>
							<email>pattoe@cs.rpi.edu</email>
							<affiliation key="aff0">
								<orgName type="institution">Rensselaer Polytechnic Institute</orgName>
								<address>
									<addrLine>110 8th Street</addrLine>
									<postCode>12180</postCode>
									<settlement>Troy</settlement>
									<region>NY</region>
									<country key="US">USA</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Deborah</forename><forename type="middle">L</forename><surname>Mcguinness</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Rensselaer Polytechnic Institute</orgName>
								<address>
									<addrLine>110 8th Street</addrLine>
									<postCode>12180</postCode>
									<settlement>Troy</settlement>
									<region>NY</region>
									<country key="US">USA</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">A Prototype Service for Benchmarking Power Consumption of Mobile Semantic Applications</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">5459260EAB186A6FDF03427431C5DBDF</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T20:12+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>reasoning</term>
					<term>mobile</term>
					<term>power</term>
					<term>performance</term>
					<term>resource-constrained</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>We present a prototype web service that enables researchers to evaluate the performance per watt of semantic web tools. The web service provides access to a hardware platform for collecting power consumption data for a mobile device. Experiments are specified using RDF to define the conditions of the experiment, the operations that compose those conditions, and how they are combined into individual execution plans. Further, experimental descriptions and their provenance are published as linked data, allowing others to easily repeat experiments. We will demonstrate how we have used the system to date, how others can use it, and discuss its potential to revolutionize design and development of semantically enabled mobile applications.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>One challenge that semantic technologies face when deployed on mobile platforms like smartphones is the amount of energy available for the device to compute and communicate with other agents. For example, the Google Nexus One, one of the first Android smartphones, had a single core processor operating at 1 GHz and 512 MB of RAM. Samsung's latest offering, the Galaxy S5, has a quad core, 2.5 GHz processor and 2 GB of RAM, more than a 8-fold increase in processing power and 4-fold increase in memory in 5 years. However, the battery capacity of the two phones are 1400 mAh and 2800 mAh, resp., which indicates that battery technology is progressing more slowly than processing technology. Further, application complexity has also increased. Tools are needed to help developers understand how semantic tools consume power so as to identify when they can use local reasoning on mobile platforms or when off-device computation is more practical.</p><p>We introduced a broadly reusable methodology <ref type="bibr" target="#b2">[3]</ref> motivated by these concerns to evaluate the performance of reasoners relative to the amount of energy consumed during operation. Ultimately, these metrics will provide developers deeper insight into power consumption and enable next-generation applications of semantic technologies for power constrained devices. We present a prototype ontology-driven web service for researchers to use our reference hardware setup to perform analysis of semantic web tools' power consumption.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Web Service for Power-Performance Evaluation</head><p>Our power benchmarking methodology <ref type="bibr" target="#b2">[3]</ref> bypasses the removable battery in a Samsung Galaxy S4 to collect power data during reasoning and query answering tasks using three reasoning engines. Because our methodology requires a hardware setup, we are developing and will demonstrate a web service to execute experiments using our existing infrastructure. The web service is based on the Semantic Automated Discovery and Integration (SADI) Framework<ref type="foot" target="#foot_0">1</ref> and accepts jobs described using RDF and the ontology we will discuss in Section 3. On completion, it provides a ZIP file containing runtime information, raw and processed power measurements, power and energy consumption statistics, and provenance capturing information about the process. Table <ref type="table" target="#tab_0">1</ref> shows a sample data point for each of three different reasoners on the Lehigh University Benchmark <ref type="bibr" target="#b1">[2]</ref>, query 14 (shown in Listing 1.1). </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Toward an Ontology for Experiment Descriptions</head><p>We will demonstrate our experimental ontology for declaratively describing the operational constraints of an experiment, which is then executed on the target device. The experiment description is published as linked data, along with metadata about the experiment output, andprovenance modeled using the PROV-O ontology <ref type="bibr" target="#b0">[1]</ref>.These metadata are published in a triple store to enable metaanalysis, recombination, and extension of power experiments.</p><p>Experiment. Experiment provides the root of an experiment description. Listing 1.2 shows an example experiment. Core to an experiment description are conditions, which are grouped together based on some common dimension. If an experiment defines more than one condition group, the engine performing the experiment can generate specific conditions through the use of a condition-FillStrategy. We are currently investigating two different strategies, CrossJoin and Paired, that evaluate the cross product and paired conditions across groups, respectively. To provide control over what data are returned, the author of the experiment can declare which variables are of interest. Operations. Operations encapsulate actions to be performed on the experimental device. In Listing 1.4, we show an example of how an operation would define tests for the LUBM query set. The measurePowerDuringDownload property can be used to evaluate the performance of communication channels while retrieving the content required for performing the experiment. In addition to loading ontologies, datasets, and executing queries, our ontology supports modeling reasoners, parallel and sequential operations, and randomization of operations. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Discussion and Conclusions</head><p>As semantic technologies become more prevalent, we need to ensure that tools are available to assist in their deployment on a variety of devices including mobile platforms, which are often power constrained. While our initial work provides direction for this effort, we recognize that more widespread adoption requires lower barriers to entry. We described a web service under active development to provide access to a reference implementation of the hardware described in <ref type="bibr" target="#b2">[3]</ref> where we found that, while compute time accounts for most energy consumption, significant memory consumption may affect power consumption during reasoning. With this investigation, we are working to enable semantic web researchers and implementers to obtain insight into the power requirements for semantic technology stacks. We will demonstrate a variety of example experiments and discuss broader usage with attendees. In future work we intend to use expand this web service to provide a means of easily repeating experiments as well as further support for modeling the execution of experiments using We also intend to provide example code that present an analysis of more reasoners, e.g. by utilizing the work in <ref type="bibr" target="#b3">[4]</ref>.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_0"><head>Table 1 .</head><label>1</label><figDesc>A data sample for query 14 (Listing 1.1) from LUBM executed on the Samsung Galaxy S4. Times are in milliseconds, memory is in kilobytes, and power is in milliwatts.</figDesc><table><row><cell cols="7">Reasoner Init. Ont. Load Data Load Query Plan Answer Memory Power</cell></row><row><cell>Jena</cell><cell>0.122</cell><cell>372.6</cell><cell>7076</cell><cell>2.594 233.2</cell><cell>35023</cell><cell>944</cell></row><row><cell>Pellet</cell><cell>0.152</cell><cell>355.7</cell><cell>8872</cell><cell>1.984 12350</cell><cell cols="2">59418 1024</cell></row><row><cell cols="2">HermiT 0.427</cell><cell>407.8</cell><cell>17442</cell><cell>0.092 21205</cell><cell>58720</cell><cell>995</cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_2"><head></head><label></label><figDesc>Conditions and Condition Groups. Conditions are the highest unit of test in our experiment ontology. They are composed of collections of operations that specify a sequence of actions to take on the device. Listing 1.3 shows an example of an ontology condition group that specifies two different ontology operations. Currently, we only support nominal values, but future versions of the ontology will also support ordinal, scalar, and ratio level inputs.</figDesc><table><row><cell>Listing 1.2. An example description of an experiment</cell></row><row><cell>[] a exp:Experiment ;</cell></row><row><cell>exp:name 'LUBM on Android' ;</cell></row><row><cell>exp:version '1.0' ;</cell></row><row><cell>dc:creator &lt;http://www.evanpatton.com/evan.rdf#me&gt; ;</cell></row><row><cell>exp:trials 30 ;</cell></row><row><cell>exp:conditions :ReasonerConditionGroup,</cell></row><row><cell>OntologyConditionGroup ;</cell></row><row><cell>exp:conditionFillStrategy exp:CrossJoin ;</cell></row><row><cell>exp:dependentVariable exp:ExecutionInterval,</cell></row><row><cell>exp:AveragePowerConsumption, exp:MaxPowerConsumption .</cell></row><row><cell>Listing 1.3. An example of a condition group with conditions</cell></row><row><cell>:OntologyConditionGroup a exp:ConditionGroup ;</cell></row><row><cell>exp:name 'Ontology Condition' ;</cell></row><row><cell>exp:varies exp:OntologyDatasetQueryOperation ;</cell></row><row><cell>exp:nominalValues ( :SchemaOrgOperations :LUBMOperations )</cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_3"><head>2</head><label></label><figDesc>Listing 1.4. An example of an combined operation on an ontology, dataset, and queries</figDesc><table><row><cell>:LUMBOperations a exp:OntologyDatasetQueryOperation ;</cell></row><row><cell>exp:name 'LUBM' ;</cell></row><row><cell>exp:measurePowerDuringDownload false ;</cell></row><row><cell>exp:ontology lubm:univ-bench.owl ;</cell></row><row><cell>exp:dataset lubm:lubm-100k.ttl ;</cell></row><row><cell>exp:query lubm:query1.rq , lubm:query2.rq , ... .</cell></row></table></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">http://sadiframework.org/content/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1">Due to space constraints, we cannot elaborate on the details of modeling each operation type. For more information and examples, please see http://power.tw.rpi.edu</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Acknowledgements</head><p>Mr. Patton was funded by an NSF Graduate Research Fellowship. RPIs Tetherless World Constellation is supported in part by Fujitsu, Lockheed Martin, LGS, Microsoft Research, Qualcomm, in addition to sponsored research from DARPA, IARPA, NASA, NIST, NSF, and USGS.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<title level="m" type="main">PROV-O: The PROV ontology</title>
		<author>
			<persName><forename type="first">K</forename><surname>Belhajjame</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Cheney</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Corsar</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Garijo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Soiland-Reyes</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Zednik</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Zhao</surname></persName>
		</author>
		<ptr target="http://www.w3.org/TR/prov-o/" />
		<imprint>
			<date type="published" when="2013">2013</date>
			<pubPlace>W3C</pubPlace>
		</imprint>
	</monogr>
	<note type="report_type">Tech. rep</note>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">LUBM: A benchmarking for OWL knowledge base systems</title>
		<author>
			<persName><forename type="first">Y</forename><surname>Guo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Z</forename><surname>Pan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Heflin</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Web Semantics</title>
		<imprint>
			<biblScope unit="volume">3</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="158" to="182" />
			<date type="published" when="2005">2005</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">A power consumption benchmark for reasoners on mobile devices</title>
		<author>
			<persName><forename type="first">E</forename><forename type="middle">W</forename><surname>Patton</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">L</forename><surname>Mcguinness</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 13th International Semantic Web Conference: Replication, Benchmark, Data &amp; Software Track</title>
				<meeting>the 13th International Semantic Web Conference: Replication, Benchmark, Data &amp; Software Track</meeting>
		<imprint>
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Android goes semantic: DL reasoners on smartphones</title>
		<author>
			<persName><forename type="first">R</forename><surname>Yus</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Bobed</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Esteban</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Bobillo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Mena</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">OWL Reasoner Evaluation Workshop</title>
				<imprint>
			<date type="published" when="2013">2013</date>
			<biblScope unit="page">2013</biblScope>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
