<?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">Semantic rules for generating SPARQL from semantic mark-up</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Nicholas</forename><surname>Nisbet</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">AEC3 UK Ltd</orgName>
								<address>
									<addrLine>High Wycombe</addrLine>
									<settlement>London</settlement>
									<country key="GB">UK</country>
								</address>
							</affiliation>
							<affiliation key="aff1">
								<orgName type="department">Bartlett School of Sustainable Construction</orgName>
								<orgName type="institution">University College London</orgName>
								<address>
									<country key="GB">UK</country>
								</address>
							</affiliation>
						</author>
						<author role="corresp">
							<persName><forename type="first">Zijing</forename><surname>Zhang</surname></persName>
							<email>zijing.zhang.18@ucl.ac.uk</email>
							<affiliation key="aff1">
								<orgName type="department">Bartlett School of Sustainable Construction</orgName>
								<orgName type="institution">University College London</orgName>
								<address>
									<country key="GB">UK</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Semantic rules for generating SPARQL from semantic mark-up</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">FB192852159AAE9A9C1C9E99204AAE45</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T20:20+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>Rule/compliance checking</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Automated compliance checking depends on the capture of complex logical dependencies. This paper develops the detail of a methodology using semantic rules for mapping regulatory and requirements documents to SPARQL, by first annotating the document with a semantic mark-up called RASE. This demonstrates that knowledge can be captured and reviewed separately from execution tools and environments. The methodology to map marked-up documents to SPARQL itself uses complex rules, which can be represented using tables with semantic mark-up added. Since there may well be improvements possible in the mapping, this paper presents how the knowledge about a mapping to SPARQL can be made explicit and improvable. This development abstracts the mapping knowledge into a context-free statement about knowledge and syntax equivalences. This allows for the review of the individual mappings and a comparison and contrast of the expressiveness of knowledge and rule languages. RASE mark-up consists of eight tags. Tagging identifies individual metrics, which contain properties, comparators and targets so as to be testable against outside information, and also identifies objectives which group metrics and optionally other objectives. Both metrics and objectives serve four semantic roles, 'Requirements' for normative content, 'Application' for narrowing the scope of attention, 'Selection' for adding to the scope of attention and 'Exception' for excluding scope of attention. Both HTML with RASE and RDF/OWL triples provide simple and accessible models for the representation of knowledge. In contrast, SPARQL compounds the complexity of SQL like languages with a multiple constructs which are not easily reviewed and checked. To move SPARQL authoring away from being a craft-based specialist skill, other representations of normative requirements need to be automatically mappable into SPARQL. This is particularly important if RDF/OWL is to have a role in automated code compliance, where an entire regulation or clause may involve multiple metrics and objectives. The tabulation holds the HTML/RASE syntax and the tree traversal events in table 'headin'g cells. The SPARQL syntax in held in table 'data' cells. SPARQL syntax considerations necessitated that a distinction be made between 'type' based metrics and other metrics, as the SPARQL syntax addresses these triples differently. This demonstration focuses on a simple example. The same process has successfully generated queries from textual and tabular regulations involving several dozen properties and logical relationships. This work has shown that the mapping between knowledge representations can be held in a table which can be made machine operable with HTML/RASE semantic markup. This shows that the craft skills around SPARQL development can be automated and the potential for error eliminated.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body/>
		<back>
			<div type="references">

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