<?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">SPARQL-based relaxed rules for learning over knowledge graphs</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Anne</forename><forename type="middle">Mindika</forename><surname>Premachandra</surname></persName>
							<email>mindika.premachandra@anu.edu.au</email>
							<affiliation key="aff0">
								<orgName type="department">School of Computing</orgName>
								<orgName type="institution">The Australian National University</orgName>
								<address>
									<country key="AU">Australia</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Kerry</forename><surname>Taylor</surname></persName>
							<email>kerry.taylor@anu.edu.au</email>
							<affiliation key="aff0">
								<orgName type="department">School of Computing</orgName>
								<orgName type="institution">The Australian National University</orgName>
								<address>
									<country key="AU">Australia</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Sergio</forename><surname>Rodríguez-Méndez</surname></persName>
							<email>sergio.rodriguezmendez@anu.edu.au</email>
							<affiliation key="aff0">
								<orgName type="department">School of Computing</orgName>
								<orgName type="institution">The Australian National University</orgName>
								<address>
									<country key="AU">Australia</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">SPARQL-based relaxed rules for learning over knowledge graphs</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">942152A2B1CCE6D83363A5C8FC9689A8</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T16:47+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>Rule learning</term>
					<term>Rule mining</term>
					<term>Knowledge graphs</term>
					<term>Inductive logic programming</term>
					<term>SPARQL</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>In today's world where explainable AI is gaining importance, rule learning is a classic but favourable machine learning approach that can be enhanced using advances in semantic web technologies. The expressiveness of rules learnt over Knowledge Graphs (KGs) is largely dependent on the language bias of a rule learner which in turn determines the complexity of the search space for models. In this paper, we propose a relaxed rule specification approach that allows rules to contain branches and tree shapes, negated graph patterns, and SPARQL style filtering which adds numerical and temporal comparisons into the rule's vocabulary. By targeting compatibility with SPARQL, we can tap into the advanced query optimisation features of triple stores which implement SPARQL to evaluate and apply weakly-constrained rules as SPARQL queries. We use an expert-guided rule-template based approach to generate candidate rules and we extend standard rule quality measures for such relaxed rules. We introduce a further extension that can be used to extract numeric attribute values in order to include numeric attributes within our symbolic rule learning framework.</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>Knowledge Graphs (KGs) are a modern database-meets-knowledge-representation encoding of semistructured data that enables efficient querying and logical deductive reasoning. First-order-logic rules expressed over KGs can offer explainable patterns in the KG and can predict missing facts. Hence such rules are a useful option for representation of predictive models built from KGs as training data.</p><p>Typically, when learning logic rules over KGs, there is a difficult tradeoff in selecting a rule language that is adequately expressive for accuracy, predictive power, and compact explainability, but not so expressive that the search space for good rules exceeds computational feasibility. The selection of a rule language imposes a bias on the predictive models that can be learnt.</p><p>Many KGs contain schema information, usually in a form of an OWL 1 ontology, describing entity types, class relationships, relation domain and range, cardinality constraints, and so forth. Some rule learners also make use of this information when learning rules <ref type="bibr" target="#b1">[1,</ref><ref type="bibr" target="#b2">2]</ref>.</p><p>We wish to address the problem of learning meaningful, accurate, and expressive rules for openended problems. According to Michalski and Chilausky <ref type="bibr" target="#b4">[3]</ref>, "open-endedness implies that when we make inductive assertions about some piece of reality, there is no natural limit to the level of detail of descriptions of this reality, to the scope of concepts and operators used in the expressions of these assertions, or to the richness of their forms. " We wish to achieve richness of learnt rules by relaxing the language bias of the rule specification, which allows us to express more complex rules than is possible by the restrictive language biases adopted in related work. This relaxation greatly increases the expressiveness of the rules and makes rule learning challenging given the increasing search space and complexity required to learn rules of such forms. To achieve this, we begin with manually crafted rule templates, that are constructed using expert domain knowledge and explicit ontology information. The rule templates provide human-in-the-loop hints to the automated process of model-building. Templates enable the simultaneous specification of both rule structural forms and rule vocabulary, that is, both the shape of rules and the KG terms to be used. Thus our approach is an expert guided technique, trading-off learning automation vs. rule expressiveness.</p><p>The main contributions of our work are the following:</p><p>• We propose a relaxed rule specification that allows rules to contain: branches and tree shapes, negated graph patterns (in contrast to negated atoms) and SPARQL<ref type="foot" target="#foot_0">2</ref> style filtering (including numerical comparisons, and variable inequality constraints). (Section 3.2) • We define the standard rule quality measures of Rule Support, Standard Confidence and Head</p><p>Coverage for the proposed relaxed rules. (Section 3.4) • We use an expert-guided template-based approach to generate multiple rules of similar format, thus minimising the effort needed to separately specify rules that share the same structure. (Sections 3.3 and 3.5)</p><p>A benefit of our SPARQL compatibility is that the rule specification can be easily converted to a SPARQL query to directly work with RDF<ref type="foot" target="#foot_1">3</ref> KGs stored in RDF Triple Stores such as Virtuoso <ref type="foot" target="#foot_2">4</ref> and GraphDB <ref type="foot" target="#foot_3">5</ref> , thus taking advantage of their inherent query optimisation techniques <ref type="bibr" target="#b5">[4]</ref> when evaluating complex rules. We present examples of our relaxed rules defined over the FutureSOILS KG, recently built for the project FutureSOILS: Future Proofing the Soils of Southern and Central NSW from Acidification and Soil Organic Carbon Decline<ref type="foot" target="#foot_4">6</ref> to predict the pH response of the soil to various liming techniques adopted by farmers. Rule quality measures (such as Standard Confidence, Head Coverage, Rule Support, Rule Body Support, and Head Support) have been evaluated by issuing SPARQL queries generated from the rule to a Virtuoso triple store. Similarly, when making predictions from the rules, instance tables matching rule head and body patterns are retrieved from the KG by issuing SPARQL SELECT queries which can be generated from the rule specification.</p><p>In a separate additional use of this relaxed specification, we have allowed SPARQL style variable binding and projection as well as optional graph patterns in the rule specification (in Section 4), so that it can be used to retrieve tabular data from the KG which can be fed into other machine learning models which require typical tabular data as input. In the FutureSOILS work, such attribute extraction rules have been used to extract tabular data to train numeric prediction models such as Random Forest Regressor to predict soil acidity represented as pH values.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Background and related work</head><p>A KG contains a set of RDF triples of the form (𝑠, 𝑝, 𝑜) where 𝑠 is called the subject, 𝑜 the object and 𝑝 the relation (also called predicate in this paper), which we write as 𝑝(𝑠, 𝑜) following the convention of first-order logic. We consider KGs with binary relations of the above form, and unary relations conveniently written as 𝑝(𝑠, 𝑠).</p><p>A first-order Horn rule 𝑟 is of the form</p><formula xml:id="formula_0">ℎ ⟸ 𝑏 1 ∧ 𝑏 2 ∧ … ∧ 𝑏 𝑛<label>(1)</label></formula><p>where ℎ and 𝑏's are atoms of the form 𝑝(𝑡 1 , 𝑡 2 ) where 𝑝 is a predicate and 𝑡 1 , 𝑡 2 are terms <ref type="bibr" target="#b6">[5]</ref>. A term is either a variable, entity or literal value (such as a number, text value, date, etc.). Without loss of generality, we use the term constant to refer to both entities and literal values. The atom ℎ is the head of 𝑟 and the conjunction of atoms 𝑏 1 , … , 𝑏 𝑛 is the body of 𝑟.</p><p>For rule learning in KGs, a very restricted class of first-order Horn rules is commonly employed, closed-path (CP) rules, where the body atoms form a continuous path from the subject to the object of the head atom. A CP rule is of the following form</p><formula xml:id="formula_1">ℎ(𝑥 𝑜 , 𝑥 𝑛 ) ⟸ 𝑏 1 (𝑥 𝑜 , 𝑥 1 ) ∧ 𝑏 2 (𝑥 1 , 𝑥 2 ) ∧ … ∧ 𝑏 𝑛 (𝑥 𝑛−1 , 𝑥 𝑛 )<label>(2)</label></formula><p>where a predicate (of the head and body atoms) may be interpreted as its inverse with the subject and object bindings swapped and 𝑥 𝑗 's (0 ≤ 𝑗 ≤ 𝑛) can only be variables. The head predicate ℎ may occur in the body. We now recall the closed and connected properties of a rule. A variable is closed if it appears at least twice in the rule. A rule is closed if all the variables in the rule are closed. Two atoms in a rule are connected if they share a variable or constant. A rule is connected if every atom in the rule is connected to another atom. A CP rule is both closed and connected, but not vice versa <ref type="bibr" target="#b6">[5]</ref>.</p><p>Various extensions of CP rules have been proposed and learnt by other rule learners by relaxing the language bias and allowing unary predicates, thereby increasing the expressiveness of the learnt rules. For example, AMIE <ref type="bibr" target="#b7">[6,</ref><ref type="bibr" target="#b8">7,</ref><ref type="bibr" target="#b9">8]</ref> can only learn connected and closed rules (which is a relaxation of CP rules) over binary predicates. AnyBURL <ref type="bibr" target="#b10">[9,</ref><ref type="bibr" target="#b11">10,</ref><ref type="bibr" target="#b12">11]</ref> limits the occurrence of the variables in the learnt rule to occur at most twice and requires strict variable inequality while allowing entities in limited places. Omran et al. <ref type="bibr" target="#b13">[12]</ref> define more general open-path rules by allowing an open variable in the head and the last body atom, but still requiring body atoms to form a continuous path linking each atom to its successive atom. They also define inverse open-path rules to represent branching out patterns (SHACL<ref type="foot" target="#foot_5">7</ref> shapes) which are systematically aggregated to generate tree-shaped rules.</p><p>Some rule learners have achieved more expressiveness by going beyond first-order Horn rules. For example, allowing negated atoms in the rule body <ref type="bibr" target="#b14">[13]</ref>, simple comparisons among numeric values <ref type="bibr" target="#b15">[14,</ref><ref type="bibr" target="#b16">15]</ref> and dealing with temporal values <ref type="bibr" target="#b17">[16,</ref><ref type="bibr" target="#b18">17]</ref> over a temporal KG where every atom has a timestamp <ref type="bibr" target="#b6">[5]</ref>. Our proposed rule specification follows the structure of Horn rules in that it doesn't require a continuous path being formed by the body patterns thereby allowing branching and tree shapes, but goes beyond Horn rules by allowing multiple negated graph patterns in the body (in contrast with negated single atoms). It also allows complex numeric filtering and time comparisons while still working on a KG with binary predicates.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Relaxed rule specification</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Context of the prediction</head><p>We would first like to introduce the context of the FutureSOILS <ref type="bibr" target="#b19">[18]</ref> KG used in this study in order to motivate the need for the proposed relaxations. The KG contains information about several farm management units and controlled replicated trials of various management strategies used over several years, as well as measurements of soil characteristics and information about crop rotations and harvest yield. The data was required to conform to pre-determined data guidelines and the KG was modelled according to an ontology designed to match the scope of data available. Due to the abundance of N-ary relation patterns in the input data, the KG adopts the standard design for modelling such N-ary relations in RDF <ref type="bibr" target="#b20">[19]</ref>. The complete concept map of the ontology and resources related to this paper is accessible in https://w3id.org/kgcp/SRRS.</p><p>Numerical values representing soil and crop data and management techniques were transformed to entity instances with expert guidance, or a frequency based approach when industry-adopted bin intervals were unavailable. For example, soil pH<ref type="foot" target="#foot_6">8</ref> values were binned into four intervals as follows [*, 4.5), <ref type="bibr">[4.5, 4.8)</ref>, <ref type="bibr">[4.8, 5.5</ref>), <ref type="bibr">[5.5, *]</ref>.</p><p>In the project's scope, the experts were interested in asking several predictive scenarios and gained insights from the modelled data, such as the following, given a particular method of liming (e.g. application of 3 t/ha of lime to the soil followed by a particular cultivation treatment) and given the starting pH value of the soil, what would be the pH (bin) value of the soil one year later? And also two/three years later?. Additional information may be given in each scenario question, such as: Soil Aluminium %, Carbon %, crops planted, weather data, etc.</p><p>The structure of the KG that links to multiple N-ary relations <ref type="foot" target="#foot_7">9</ref> requires rules that can represent branching patterns and can compare numerical and time values. Consider the following example rule presented in natural language: If the starting pH value is between 4.8-5.5 at soil depth 7.5-10.00 cm and the unit was limed at a rate 2.0-3.0 t/ha and cultivated with Low Soil Disturbance, then the pH value 1 year later at the same depth would be 4. <ref type="bibr">5-4.8.</ref> Note that this rule would not have been possible in the other rule learners we have discussed, for e.g. AMIE or AnyBURL does not allow rules with branch and tree shaped structures as we have regarding the farm management unit in this rule (see Table <ref type="table" target="#tab_1">1</ref> for a comparison of expressiveness capabilities among different learners).</p><p>In favour of increased rule coverage, we relax some of the temporal definitions like 1 year to include ±2 months (i.e. 10-14 months later) and consider pH measurements taken within 2 months of liming. Some examples of variations of the same rule are given below:</p><p>1. Generalisation by shortening the rule (e.g. disregarding cultivation treatment) 2. Generalisation by replacing an entity with a variable (e.g. suffice to have that any cultivation treatment was given, or that liming occurred irrespective of depth and rate) 3. Variation of the rule by adding a negated sub-string (e.g. requiring that cultivation treatment was not done) 4. Refinement of of the rule by adding a further cultivation related information (e.g. also consider depth of cultivation) 5. Refinement of the rule by adding adding more pre-lime observations (e.g. soil Aluminium percentage, Total Carbon percentage)</p><p>See Michalski and Chilausky <ref type="bibr" target="#b4">[3]</ref> for a comprehensive list of rule generalisation techniques like this for inductive learning.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Relaxed rules for inductive reasoning</head><p>We now formally specify our relaxed rule language that can support the increased expressiveness required to model complex rules as described above.</p><formula xml:id="formula_2">ℎ ⟸ 𝑏 1 ∧ 𝑏 2 ∧ … ∧ 𝑏 𝑛 ∧ ∼ {𝑏 𝑛+1 ∧ 𝑏 𝑛+2 ∧ … ∧ 𝑏 𝑚 } *<label>(3)</label></formula><p>Atoms enclosed by ∼ {…} have the meaning of the SPARQL FILTER NOT EXISTS operator<ref type="foot" target="#foot_8">10</ref> over graph patterns (i.e. a negated graph pattern which is not known to exist in the KG) and a rule may contain zero or more negated graph patterns (multiplicity denoted by the Kleene star * ).</p><p>The rules also need to be connected, that is, every atom in the rule is connected to another atom by sharing a variable or constant with another atom. Additionally, all atoms within a negated graph pattern need to be connected with another atom in the pattern and at least one atom of the pattern should be connected to an outside atom(s) which is not part of a negated graph pattern. The rule does not necessarily need to be closed, but we require that at least one head variable occurs in a non negated atom(s) of the body.</p><p>Rules can optionally contain the additional constructs of BIND <ref type="foot" target="#foot_9">11</ref> and FILTER <ref type="foot" target="#foot_10">12</ref> clauses that need to be SPARQL compatible. FILTER clauses allow us to specify multiple additional constraints not usually supported by traditional rule specifications (such as numerical comparisons, variable inequality constraints, type checking, etc.), allowing greater flexibility to work with existing KGs without introducing additional entity mappings into the KG. BIND clauses can be used for specifying new variable bindings which can be used in FILTER clauses.</p><p>These rules are closely related to Tree-shaped rules in Omran et al. <ref type="bibr" target="#b13">[12]</ref> and rules with negated atoms in Ho et al. <ref type="bibr" target="#b14">[13]</ref>. We have extended the concept of negated atoms to negated graph patterns and we have performed numerical and temporal comparisons using a KG with binary predicates as illustrated in the examples further below.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Template based rule generation</head><p>In bottom-up rule learners such as AnyBurl <ref type="bibr" target="#b12">[11]</ref>, one way of generalising a rule is by replacing entities with variables <ref type="bibr" target="#b4">[3]</ref>. In our work, we take a top-down approach, where we work with a set of template rules and then generate variants of the template by replacing selected variables with all the possible combinations of entities that can appear in the respective rule atoms.</p><p>For example, consider the following rule template from FutureSOILS that attempts to predict the soil pH roughly one year following liming. The variables ?𝑚_𝑋, ?𝑚_𝑝𝐻, ?𝑚_𝑙𝑖𝑚𝑒 represent literal values of type xsd:positiveInteger and a relaxed definition of time has been implemented by including numerical comparisons in the FILTER clauses where multiple filtering constraints can be specified. Note the negated graph pattern at the end of the rule which specifies that the unit was limed but not cultivated in this example. To differentiate between variables and constants, the variables in the rule are prefixed with "?". Predicates and entities are in RDF prefixed format. Although the BIND clause is not strictly essential in this example, we show it here to demonstrate its usage.</p><p>BIND[(?m_X -?m_lime AS ?gap)] FILTER[(?gap &gt;= 10 &amp;&amp; ?gap &lt;= 14), (?m_pH -?m_lime &lt;= 2 &amp;&amp; ?m_lime -?m_pH &lt;= 2)] fs-data:pH__(1-5-CaCl2)__PSC(?X,?pH_bin_X) &lt;= fs-onto:hasObservation(?eccmo_X,?X), sosa:observedProperty(?X,fs-data:ObservedProperty-pH), sosa:usedProcedure(?X,fs-data:MoA-1-5-CaCl2), fs-onto:hasDepth(?X, ?d_pH), sosa:phenomenonTime(?X, ?t_X), fs-onto:hasMonthCount(?t_X, ?m_X), fs-onto:hasECCMO(?eccmoByRep_X, ?eccmo_X), rdf:type(?eccmoByRep_X, fs-onto:ECCMObyRep), fs-onto:hasControl(?eccmoByRep_X, ?eccmo_C), fs-onto:hasObservation(?eccmo_C, ?obs_pH), fs-data:pH__(1-5-CaCl2)__PSC(?obs_pH,?pH_bin), fs-onto:hasDepth(?obs_pH, ?d_pH), sosa:phenomenonTime(?obs_pH, ?t_pH), fs-onto:hasMonthCount(?t_pH, ?m_pH), fs-onto:hasObservation(?eccmo_C, ?obs_Al), sosa:phenomenonTime(?obs_Al, ?t_pH), fs-onto:hasDepth(?obs_Al, ?d_pH), fs-data:Aluminium-%-of-Cations__(Calculated)__%__PSC(?obs_Al, ?Al_bin), fs-onto:hasECCMO(?mu_lime, ?eccmo_X), fs-onto:hasTime(?mu_lime, ?t_lime), fs-onto:hasMonthCount(?t_lime, ?m_lime), fs-onto:hasManagement(?mu_lime,?mng_lime), rdf:type(?mng_lime, fs-onto:Management-Amelioration-Lime), fs-data:Lime-Application-Rate__PSC(?mng_lime, ?lr_bin), ~{fs-onto:hasECCMO(?mu_culti, ?eccmo_X), fs-onto:hasTime(?mu_culti, ?t_culti), fs-onto:hasMonthCount(?t_culti, ?m_lime), fs-onto:hasManagement(?mu_culti,?mng_culti), rdf:type(?mng_culti, fs-onto:Management-Amelioration)}</p><p>Now, if we replace some of the variables of the above template with the possible combinations of candidate entity values for the variables, we can generate multiple rule variants from the above template. In the FutureSOILS domain, replacing ?𝑝𝐻_𝑏𝑖𝑛_𝑋, ?𝑑_𝑝𝐻, ?𝑝𝐻_𝑏𝑖𝑛, ?𝐴𝑙_𝑏𝑖𝑛, ?𝑙𝑟_𝑏𝑖𝑛 in the above template yielded 6144 rule variants with the head atom containing a variable and a constant. This was done by declaring (predicate, variable name) combinations to be replaced in a JSON file (see Figure <ref type="figure">1</ref>). The candidate entity values for the variables can be retrieved from the KG itself at the time of generating the rule variants (refer Algorithms 1 and 2). </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>𝑐[𝑝] ← {𝑜𝑏𝑗𝑒𝑐𝑡|(𝑠𝑢𝑏𝑗𝑒𝑐𝑡, 𝑝𝑟𝑒𝑑𝑖𝑐𝑎𝑡𝑒, 𝑜𝑏𝑗𝑒𝑐𝑡) ∈KG &amp; 𝑝𝑟𝑒𝑑𝑖𝑐𝑎𝑡𝑒 == 𝑝}</head><p>▷ assuming that 𝑣 will be referred in the the rule atom as 𝑞(𝑡 𝑥 , 𝑣) Append 𝑟 ′ to 𝑟𝑢𝑙𝑒_𝑣𝑎𝑟𝑖𝑎𝑛𝑡𝑠 11: end for return 𝑟𝑢𝑙𝑒_𝑣𝑎𝑟𝑖𝑎𝑛𝑡𝑠 Each rule variant can then be assessed by evaluating rule confidence measures such as Standard Confidence, Head Coverage and Rule Support by issuing SPARQL queries generated from the rule to the KG triple store. This process is parallelised to save time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.">Relaxed rule quality measures</head><p>We now define standard rule quality measures for our relaxed rules: Rule Support (RS), Standard Confidence (SC) and Head Coverage (HC). All of these measures are calculated over the known KG data as it binds to the body and head of the rule, so that a closed-world assumption is made for this evaluation. RS is a count of the number of distinct facts that the rule predicts correctly and is the numerator when calculating SC and HC. SC measures the proportion of correct predictions wrt all distinct predictions that the rule can make given the body bindings in the KG. Note here that missing predictions and known-false predictions are treated equivalently here. HC measures the proportion of the known facts satisfying the rule head that are correctly predicted by the rule, and gives an indication of the generalisation power of the rule.</p><p>Since the existing rule quality measures in the literature are based on more restrictive language biases than ours, we define rule quality measures for our relaxed rules which uses a relaxed language bias. These definitions encompass the traditional rule quality measures <ref type="bibr" target="#b13">[12,</ref><ref type="bibr" target="#b9">8,</ref><ref type="bibr" target="#b14">13]</ref> and falls back to the traditional definitions when the same language bias referred in the traditional measures are being used.</p><p>Consider the following rule of form ( <ref type="formula" target="#formula_2">3</ref>), where we have expanded the atoms to depict the variables and constants subject to the constraints specified above. A predicate is interpreted also as its inverse with the subject and object bindings swapped around.</p><formula xml:id="formula_3">ℎ(𝑡 0 , 𝑡 ′ ) ⟸ ∧ 𝑛 𝑖=1 𝑏 𝑖 (𝑡 (2𝑖−2) , 𝑡 (2𝑖−1) ) ∧ ∼ {∧ 𝑛 1 𝑗 1 =(𝑛+1) 𝑏 𝑗 1 (𝑡 (2𝑗 1 −2) , 𝑡 (2𝑗 1 −1) )} ∧ ∼ {∧ 𝑛 2 𝑗 2 =(𝑛 1 +1) 𝑏 𝑗 2 (𝑡 (2𝑗 2 −2) , 𝑡 (2𝑗 2 −1) )} ∧ … ∧ ∼ {∧ 𝑛 𝑚 𝑗 𝑚 =(𝑛 (𝑚−1) +1) 𝑏 𝑗 𝑚 (𝑡 (2𝑗 𝑚 −2) , 𝑡 (2𝑗 𝑚 −1) )} (4)</formula><p>where ℎ and each 𝑏 is a predicate in the KG. To satisfy the connectedness constraints of the relaxed rule, some terms (𝑡's) will be equal and 𝑡 0 is a closed variable. We denote the set of term equalities as 𝐸 = {(𝑡 𝑥 , 𝑡 𝑦 )|𝑡 𝑥 = 𝑡 𝑦 , 𝑡 𝑥 ∈ 𝑇 , 𝑡 𝑦 ∈ 𝑇 }, where 𝑇 ∈ {𝑡 ′ , 𝑡 0 , … , 𝑡 (2𝑗 𝑚 −1) } (for example, when 𝑡 1 = 𝑡 2 ). We denote the set of constraints defined on 𝑇 specified by the BIND and FILTER statements as 𝐹. Recall that some terms in 𝑇 may be constants.</p><p>First, let us consider rules with two closed variables in the rule head, so we have 𝑡 ′ = 𝑡 2𝑛−1 . Since the order of the atoms is irrelevant, without loss of generality, we require the variables in the head to be connected to the first and last non-negated atoms. Definition 3.1 (Quality measures for relaxed rules with two closed variables in the head). Let 𝑟 be a relaxed rule of the form (4) and 𝑡 ′ = 𝑡 2𝑛−1 . Then a pair of constants (𝑒 0 , 𝑒 ′ ) satisfies the body of 𝑟 denoted body 𝑟 (𝑒 0 , 𝑒 ′ ), if there exists constants 𝑒 0 , … , 𝑒 2𝑛−1 in the KG (with 𝑒 ′ = 𝑒 2𝑛−1 ) such that 𝑏 1 (𝑒 0 , 𝑒 1 ), 𝑏 2 (𝑒 2 , 𝑒 3 ), … , 𝑏 𝑛 (𝑒 2𝑛−2 , 𝑒 2𝑛−1 ) are facts in the KG and for each negated graph pattern {∧</p><formula xml:id="formula_4">𝑛 𝑘 𝑗 𝑘 =(𝑛 (𝑘−1) +1) 𝑏 𝑗 𝑘 (𝑒 (2𝑗 𝑘 −2) , 𝑒 (2𝑗 𝑘 −1) )} (in 1 ≤ 𝑘 ≤ 𝑚</formula><p>where 𝑛 0 = 𝑛), the atoms (predicates and the variable bindings) specified in the entire negated graph pattern does not exist in the KG, subject to the term equalities 𝐸 and constraints 𝐹. Also (𝑒 0 , 𝑒 ′ ) satisfies the head of 𝑟 denoted head 𝑟 (𝑒 0 , 𝑒 ′ ), if ℎ(𝑒 0 , 𝑒 ′ ) is a fact in the KG. The rule support (RS), standard confidence (SC) and head coverage (HC) of 𝑟 are given respectively by 𝑅𝑆(𝑟) = |{(𝑒 0 , 𝑒 ′ ) ∶ body 𝑟 (𝑒 0 , 𝑒 ′ ) and head 𝑟 (𝑒 0 , 𝑒 ′ )}|</p><formula xml:id="formula_5">𝑆𝐶(𝑟) = 𝑅𝑆(𝑟) |{(𝑒 0 , 𝑒 ′ ) ∶ body 𝑟 (𝑒 0 , 𝑒 ′ )}| 𝐻 𝐶(𝑟) = 𝑅𝑆(𝑟) |{(𝑒 0 , 𝑒 ′ ) ∶ head 𝑟 (𝑒 0 , 𝑒 ′ )}|</formula><p>Now, let us consider rules with a constant in the rule head. Definition 3.2 (Quality measures for relaxed rules with a constant in the head). Let 𝑟 be a relaxed rule of the form (4) and 𝑡 ′ = 𝑐, where 𝑐 is a constant (either an entity or literal value). Then the constant 𝑒 0 satisfies the body of 𝑟 denoted body 𝑟 (𝑒 0 ), if there exists constants 𝑒 0 , … , 𝑒 2𝑛−1 in the KG such that 𝑏 1 (𝑒 0 , 𝑒 1 ), 𝑏 2 (𝑒 2 , 𝑒 3 ), … , 𝑏 𝑛 (𝑒 2𝑛−2 , 𝑒 2𝑛−1 ) are facts in the KG and for each negated graph pattern {∧ 𝑛 𝑘 𝑗 𝑘 =(𝑛 (𝑘−1) +1) 𝑏 𝑗 𝑘 (𝑒 (2𝑗 𝑘 −2) , 𝑒 (2𝑗 𝑘 −1) )} (in 1 ≤ 𝑘 ≤ 𝑚 where 𝑛 0 = 𝑛), the atoms (predicates and the variable bindings) specified in the entire negated graph pattern does not exist in the KG, subject to the term equalities 𝐸 and constraints 𝐹. Also 𝑒 0 satisfies the head of 𝑟 denoted head 𝑟 (𝑒 0 , 𝑐), if ℎ(𝑒 0 , 𝑐) is a fact in the KG. The rule support (RS), standard confidence (SC) and head coverage (HC) of 𝑟 are given respectively by 𝑅𝑆(𝑟) = |{𝑒 0 ∶ body 𝑟 (𝑒 0 ) and head 𝑟 (𝑒 0 , 𝑐)}|</p><formula xml:id="formula_6">𝑆𝐶(𝑟) = 𝑅𝑆(𝑟) |{𝑒 0 ∶ body 𝑟 (𝑒 0 )}| 𝐻 𝐶(𝑟) = 𝑅𝑆(𝑟) |{𝑒 0 ∶ head 𝑟 (𝑒 0 , 𝑐)}|</formula><p>Finally, let us consider rules with an open variable in the rule head which implies 𝑡 ′ does not occur in the rule body. Definition 3.3 (Quality measures for relaxed rules with an open variable in the head). Let 𝑟 be a relaxed rule of the form (4) and the variable 𝑡 ′ ∉ {𝑡 0 , … , 𝑡 (2𝑗 𝑚 −1) }. Then the constant 𝑒 0 satisfies the body of 𝑟 denoted body 𝑟 (𝑒 0 ), if there exist constants 𝑒 0 , … , 𝑒 2𝑛−1 in the KG such that 𝑏 1 (𝑒 0 , 𝑒 1 ), 𝑏 2 (𝑒 2 , 𝑒 3 ), … , 𝑏 𝑛 (𝑒 2𝑛−2 , 𝑒 2𝑛−1 ) are facts in the KG and for each negated graph pattern {∧</p><formula xml:id="formula_7">𝑛 𝑘 𝑗 𝑘 =(𝑛 (𝑘−1) +1) 𝑏 𝑗 𝑘 (𝑒 (2𝑗 𝑘 −2) , 𝑒 (2𝑗 𝑘 −1) )} (in 1 ≤ 𝑘 ≤ 𝑚</formula><p>where 𝑛 0 = 𝑛), the atoms (predicates and the variable bindings) specified in the entire negated graph pattern does not exist in the KG, subject to the term equalities 𝐸 and constraints 𝐹. Also 𝑒 0 , satisfies the head of 𝑟 denoted head 𝑟 (𝑒 0 , 𝑒 ′ ), if ℎ(𝑒 0 , 𝑒 ′ ) is a fact in the KG for any constant 𝑒 ′ . The rule support (RS), standard confidence (SC) and head coverage (HC) of 𝑟 are given respectively by 𝑅𝑆(𝑟) = |{𝑒 0 ∶ ∃𝑒 ′ , body 𝑟 (𝑒 0 ) and head 𝑟 (𝑒 0 , 𝑒 ′ )}|</p><formula xml:id="formula_8">𝑆𝐶(𝑟) = 𝑅𝑆(𝑟) |{𝑒 0 ∶ body 𝑟 (𝑒 0 )}| 𝐻 𝐶(𝑟) = 𝑅𝑆(𝑟) |{𝑒 0 ∶ ∃𝑒 ′ , head 𝑟 (𝑒 0 , 𝑒 ′ )}|</formula><p>In our experience, we found that the SC and HC which are the most widely adopted rule measures were not sufficient to measure the quality of a rule. For example, a rule that correctly predicts 4 out of 5 times and another rule that correctly predicts 80 out of 100 times would get the same SC value of 0.8 and would not convey the number of instances covered by the body of the rule. Those instances provide the evidence for the confidence, while the number of instances covered by the head indicate the generalisation power of the rule. Hence, we also retain the denominator of SC as Rule Body Support (BS) and the denominator of HC as Head Support (HS), which are related to the sample size of SC and HC respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.5.">Template generation</head><p>In Section 3.1, we discussed more examples of rule generalisation and refinement involving rule shortening, extending and considering negated graph patterns. We can think of these variations as different templates. The process of template generation (with example parameter settings for the pH prediction rules in FutureSOILS) and rule generation (as explained in Section 3.3) is given in Figure <ref type="figure" target="#fig_1">2</ref>.</p><p>In our work, we have generated these rule templates using a custom function which constructively generates rule templates for the pH prediction example presented in Section 3.1. This was done by using variations of a list of relevant questions that the project wanted to answer and considering different input scenarios, such as varying how many months following liming (e.g. 10-14, 22-26, 34-38) do we want to predict the pH?, what other pre-lime observations to consider other than the starting pH (e.g. Al)? and what management combinations of Liming, Cultivation, etc. to consider?, whether to disregard Cultivation or require no Cultivation treatment?, etc.).</p><p>Thus our expert-guided template-based approach to generate multiple rules of similar format, minimises the effort needed to separately specify rules that share the same structure. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Rules for attribute extraction</head><p>An extension of the relaxed rules specification can be used for the purpose of attribute extraction, with the introduction of optional patterns, that are optional parts of a graph pattern.</p><formula xml:id="formula_9">ℎ ⟸ 𝑏 1 ∧ 𝑏 2 ∧ … ∧ 𝑏 𝑛 ∧ {𝑏 𝑛+1 ∧ 𝑏 𝑛+2 ∧ … {𝑏 𝑚+1 ∧ 𝑏 𝑚+2 ∧ … ∧ 𝑏 𝑜 } * … ∧ 𝑏 𝑚 } * ∧ ∼ {𝑏 𝑜+1 ∧ 𝑏 𝑜+2 ∧ … ∧ 𝑏 𝑞 } * (5)</formula><p>Atoms enclosed by {…} have the meaning of the SPARQL OPTIONAL keyword <ref type="foot" target="#foot_11">13</ref> and a rule may contain zero or more optional patterns (denoted by * ) and can be nested inside other optional patterns. An optional pattern needs to be connected (within the pattern) and at least one atom of the outermost negated graph patterns should be connected to an outside atom(s) which is not part of an optional or negated graph pattern. Nested optional patterns need to be connected to an outer optional pattern. In this form, the head atom may or may not contain an open variable.</p><p>Attribute extraction rules can also contain SELECT clauses in addition to the BIND and FILTER clauses. SELECT clauses allow us to declare additional variables to be projected when using attribute extraction rules for training other ML models or data visualisation.</p><p>The example below is an attribute extraction rule from the FutureSOILS domain. The rule extracts data to train an off-the-shelf numerical model to predict the soil pH value roughly one year following liming. In contrast to the rule template given in Section 3.3 where we referred to the binned numeric entities, here we refer to the numeric attribute values (for example ?𝑝𝐻_𝑣𝑎𝑙 instead of ?𝑝𝐻_𝑏𝑖𝑛, ?𝐴𝑙_𝑣𝑎𝑙 instead of ?𝐴𝑙_𝑏𝑖𝑛, ?𝑙𝑟_𝑣𝑎𝑙 instead of ?𝑙𝑟_𝑏𝑖𝑛, etc.). Note that the rule head contains the not-closed variable ?𝑝𝐻_𝑣𝑎𝑙_𝑋 that becomes the target value to train models. This example computes the mid-point of the soil depth range as ?𝑑_𝑝𝐻_𝑎𝑣𝑔 and number of months since liming as ?𝑔𝑎𝑝.</p><p>SELECT[((?d_pH_to + ?d_pH_from)/2 AS ?d_pH_avg), (?m_X -?m_lime AS ?gap)] BIND[] FILTER[(?m_X -?m_lime &gt;= 10 &amp;&amp; ?m_X -?m_lime &lt;= 14), (?m_pH -?m_lime &lt;= 2 &amp;&amp; ?m_lime -?m_pH &lt;= 2)] fs-data:pH__(1-5-CaCl2)__ASC(?X,?pH_val_X) &lt;= fs-onto:hasObservation(?eccmo_X,?X), sosa:observedProperty(?X,fs-data:ObservedProperty-pH),</p><p>The optional pattern in this example enables extraction of data about limed units that were either cultivated or not. The extension enables simple extraction of tabular data by converting the rule to a SPARQL SELECT query. The attribute rules can be generated constructively similar to rule template generation mentioned in Section 3.5. The process of model training by extracting data using attribute extraction rules is given in Figure <ref type="figure" target="#fig_2">3</ref>. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Discussion</head><p>Here we presented our SPARQL-based relaxed rule specification and extended standard rule quality measures. In summary,</p><p>• we allow meaningful and more expressive inductive rules to be defined over non-trivial KGs by proposing a relaxed rule specification that allows rules to contain branches and tree shapes, negated graph patterns and SPARQL style filtering which can make numerical and temporal comparisons, • and define generalised rule quality measures of Rule Support, Standard Confidence and Head Coverage in order to evaluate the performance of the proposed relaxed rules.</p><p>Our approach has the capacity to represent rules with greater expressiveness over KGs with binary predicates. This expressiveness requirement was driven by large-scale application domain modelling, following recommended ontology design patterns and reusing fragments of popular and standard ontologies. We also proposed an expert-guided rule-template-based learning approach to mitigate the issue of the complexity of the search space resulting from the relaxed language bias. Our approach permits expert domain knowledge about the likely relationships in the ontology to be leveraged in the search for good rules. We further extended our relaxed rule specification to include optional patterns which can be used for attribute extraction from KGs to train other ML models. We have not used the optional patterns in the specification of rule templates and generation of variants. Indeed optional patterns in rules have no effect on the application, prediction and quality measures of rules, but may add explanatory value. Ultimately, our rule language, including both the domain-expert-specifiable templates and the automated rule extensions, is expressed in SPARQL. This can be re-expressed in a more conventional rule language as a Datalog sub-language following the translation by Polleres <ref type="bibr" target="#b21">[20]</ref>.</p><p>Since our contribution is mainly a specification, we assess the expressiveness of our proposed relaxed rules against relevant related work in Table <ref type="table" target="#tab_1">1</ref>. As future work, we hope to extend our use-case scenario of FutureSOILS to include geographic data (such as from TERN <ref type="foot" target="#foot_12">14</ref> ) and adopt our relaxed rule specification to retain compatibility with GeoSPARQL <ref type="foot" target="#foot_13">15</ref> . We also hope to apply our relaxed rules to existing large and complex KGs to demonstrate the scalability of our method and perform a quantitative analysis related to the existing work. We would also like to explore whether large language models could substitute for human domain knowledge to propose initial domain-informed rule templates. N N N N</p><p>Learning SHACL shapes <ref type="bibr" target="#b13">[12]</ref> Limited N N N</p><p>Rules with negated atoms <ref type="bibr" target="#b14">[13]</ref> N N N Limited</p><p>Rules with numeric comp. <ref type="bibr" target="#b16">[15,</ref><ref type="bibr" target="#b15">14]</ref> N Limited N N</p><p>Temporal rules <ref type="bibr" target="#b18">[17,</ref><ref type="bibr" target="#b17">16]</ref> N N Limited N</p><p>Landcare Group and Central West Farming Systems. We are grateful to Pouya Ghiasnezhad Omran for many discussions that influenced our work.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 : 1</head><label>11</label><figDesc>Figure 1: A sample JSON file specifying variable names to be replaced</figDesc><graphic coords="6,72.00,172.41,451.29,138.03" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: Template and rule generation process</figDesc><graphic coords="9,72.00,172.30,451.27,86.89" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 3 :</head><label>3</label><figDesc>Figure 3: Attribute Rule Generation and Model Training Process</figDesc><graphic coords="10,72.00,565.34,451.28,106.28" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_0"><head></head><label></label><figDesc>𝑟 ′ ← Replace (𝑣 1 , 𝑣 2 , … , 𝑣 𝑛 ) variable names in rule 𝑟 with (𝑐 1 , 𝑐 2 , … , 𝑐 𝑛 )</figDesc><table><row><cell cols="2">1: 𝑑 ← 𝑑𝑖𝑐𝑡𝑖𝑜𝑛𝑎𝑟𝑦()</cell><cell>▷ Declare an empty dictionary</cell></row><row><cell cols="2">2: for each atom 𝑞(𝑡1, 𝑡2) ∈ 𝑟 do</cell><cell></cell></row><row><cell>3:</cell><cell>if (𝑞, 𝑡 2 ) ∈ {(𝑝, 𝑣)} then</cell><cell></cell></row><row><cell>4:</cell><cell>𝑑[𝑣] ← 𝑐[𝑝]</cell><cell>▷ Assume v is unique</cell></row><row><cell>5:</cell><cell>end if</cell><cell></cell></row><row><cell cols="2">6: end for</cell><cell></cell></row><row><cell cols="2">7: 𝑟𝑢𝑙𝑒_𝑣𝑎𝑟𝑖𝑎𝑛𝑡𝑠 ← 𝑙𝑖𝑠𝑡()</cell><cell>▷ Declare an empty list</cell></row><row><cell cols="3">8: for each (𝑐 1 , 𝑐 2 , … , 𝑐 𝑛 ) ∈ 𝐶𝑎𝑟𝑡𝑒𝑠𝑖𝑎𝑛𝑃𝑟𝑜𝑑𝑢𝑐𝑡(𝑑[𝑣_1], 𝑑[𝑣_2], … , 𝑑[𝑣_𝑛]) do</cell></row><row><cell>9:</cell><cell></cell><cell></cell></row><row><cell>10:</cell><cell></cell><cell></cell></row></table><note>4: end for return 𝑐 Algorithm 2 Rule variant generation from template Require: A template rule 𝑟, the set of predicate, variable names {(𝑝, 𝑣)} to be replaced and combination values 𝑐 for each predicate from Algorithm 1</note></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head>Table 1</head><label>1</label><figDesc>Relaxed rule evaluation</figDesc><table><row><cell>Rule-learning approach</cell><cell>Branches</cell><cell>Numerical</cell><cell>Temporal</cell><cell>Negated</cell></row><row><cell></cell><cell>and Trees</cell><cell>relations</cell><cell>relations</cell><cell>patterns</cell></row><row><cell>Relaxed-Rules (our approach)</cell><cell>Y</cell><cell>Y</cell><cell>Y</cell><cell>Y</cell></row><row><cell>AMIE [8]</cell><cell>N</cell><cell>N</cell><cell>N</cell><cell>N</cell></row><row><cell>AnyBURL [11]</cell><cell></cell><cell></cell><cell></cell><cell></cell></row></table></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_0">https://www.w3.org/TR/sparql11-overview/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_1">https://www.w3.org/TR/rdf11-primer/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_2">https://virtuoso.openlinksw.com/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_3">https://www.ontotext.com/products/graphdb/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_4">https://farmlink.com.au/futuresoils</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_5">https://www.w3.org/TR/shacl/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="8" xml:id="foot_6">pH values measured using the 1:5 CaCl2 method.</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="9" xml:id="foot_7">Most particularly the branching structure around the farm management unit called an ECCMO in the ontology.</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="10" xml:id="foot_8">https://www.w3.org/TR/sparql11-query/#func-filter-exists</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="11" xml:id="foot_9">https://www.w3.org/TR/sparql11-query/#bind</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="12" xml:id="foot_10">https://www.w3.org/TR/sparql11-query/#expressions</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="13" xml:id="foot_11">https://www.w3.org/TR/sparql11-query/#OptionalMatching</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="14" xml:id="foot_12">https://www.tern.org.au/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="15" xml:id="foot_13">https://www.ogc.org/standard/geosparql/</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Acknowledgments</head><p>This work was funded by the Australian Government through the National Landcare Program. We thank FarmLink, NSW Department of Primary Industries, Australian National University, Holbrook</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<title level="m">sosa:usedProcedure(?X,fs-data:MoA-1-5-CaCl2), fs-onto:hasDepth(?X, ?d_pH), sosa:phenomenonTime(?X, ?t_X), fs-onto:hasMonthCount(?t_X, ?m_X), fs-onto:hasECCMO(?eccmoByRep_X, ?eccmo_X), rdf:type(?eccmoByRep_X, fs-onto:ECCMObyRep), fs-onto:hasControl(?eccmoByRep_X, ?eccmo_C), fs-onto:hasObservation(?eccmo_C, ?obs_pH), fs-data:pH__(1-5-CaCl2)__ASC(?obs_pH,?pH_val), fs-onto:hasDepth(?obs_pH, ?d_pH), fs-onto:from(?d_pH, ?d_pH_from), fs-onto:to(?d_pH, ?d_pH_to), sosa:phenomenonTime(?obs_pH, ?t_pH), fs-onto:hasMonthCount(?t_pH, ?m_pH), fs-onto:hasObservation(?eccmo_C, ?obs_Al), sosa:phenomenonTime(?obs_Al, ?t_pH), fs-onto:hasDepth(?obs_Al, ?d_pH), fs-data:Aluminium-%-of-Cations__(Calculated)__%__ASC(?obs_Al, ?Al_val), fs-onto:hasECCMO(?mu_lime, ?eccmo_X), fs-onto:hasTime(?mu_lime, ?t_lime), fs-onto:hasMonthCount(?t_lime, ?m_lime), fs-onto:hasManagement(?mu_lime,?mng_lime), rdf:type(?mng_lime, fs-onto:Management-Amelioration-Lime), fs-onto:hasLimeApplicationRate(?mng_lime, ?lr_val), {fs-onto:hasDepthOfLimePlacement(?mng_lime, ?d_lime)}, {fs-onto:hasECCMO(?mu_culti, ?eccmo_X), fs-onto:hasTime(?mu_culti, ?t_culti), fs-onto:hasMonthCount(?t_culti, ?m_lime), fs-onto:hasManagement(?mu_culti,?mng_culti), rdf:type(?mng_culti, fs-onto:Management-Amelioration), fs-onto:hasCultivationTreatment(?mng_culti, ?culti), skos:broader(?culti, ?culti_lvl), fs-onto:index(?culti_lvl, ?culti_idx), {fs-onto:hasDepthOfCultivation</title>
				<imprint/>
	</monogr>
	<note>(?mng_culti, ?d_culti_val)}}</note>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Refinement-based owl class induction with convex measures</title>
		<author>
			<persName><forename type="first">D</forename><surname>Ratcliffe</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Taylor</surname></persName>
		</author>
		<idno type="DOI">10.1007/978-3-319-70682-5_4</idno>
		<idno>doi:</idno>
		<ptr target="10.1007/978-3-319-70682-5_4" />
	</analytic>
	<monogr>
		<title level="m">Semantic Technology: 7th Joint International Conference, JIST 2017</title>
				<meeting><address><addrLine>Gold Coast, QLD, Australia; Berlin, Heidelberg</addrLine></address></meeting>
		<imprint>
			<publisher>Springer-Verlag</publisher>
			<date type="published" when="2017">November 10-12, 2017. 2017</date>
			<biblScope unit="page" from="49" to="65" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Dl-learner-a framework for inductive learning on the semantic web</title>
		<author>
			<persName><forename type="first">L</forename><surname>Bühmann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Lehmann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Westphal</surname></persName>
		</author>
		<ptr target="https://" />
	</analytic>
	<monogr>
		<title level="j">Journal of Web Semantics</title>
		<imprint>
			<biblScope unit="volume">39</biblScope>
			<biblScope unit="page" from="15" to="24" />
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<title/>
		<idno type="DOI">10.1016/j.websem.2016.06.001</idno>
		<ptr target="https://doi.org/10.1016/j.websem.2016.06.001" />
		<imprint/>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Inductive learning as rule-guided generalization and conceptual simplification of symbolic descriptions: unifying principles and a methodology</title>
		<author>
			<persName><forename type="first">R</forename><surname>Michalski</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Chilausky</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Papers of the Workshop on Machine Learning</title>
				<meeting><address><addrLine>Pittsburgh</addrLine></address></meeting>
		<imprint>
			<date type="published" when="1980">1980</date>
		</imprint>
		<respStmt>
			<orgName>Carnegie-Mellon University</orgName>
		</respStmt>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Exploiting the query structure for efficient join ordering in sparql queries</title>
		<author>
			<persName><forename type="first">A</forename><surname>Gubichev</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Neumann</surname></persName>
		</author>
		<idno type="DOI">10.5441/002/edbt.2014.40</idno>
	</analytic>
	<monogr>
		<title level="m">Advances in Database Technology -EDBT 2014: 17th International Conference on Extending Database Technology, Proceedings, OpenProceedings.org</title>
				<editor>
			<persName><forename type="first">V</forename><surname>Leroy</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">V</forename><surname>Christophides</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">V</forename><surname>Christophides</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">S</forename><surname>Idreos</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">A</forename><surname>Kementsietsidis</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">M</forename><surname>Garofalakis</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">S</forename><surname>Amer-Yahia</surname></persName>
		</editor>
		<imprint>
			<date type="published" when="2014">2014. 2014</date>
			<biblScope unit="page" from="28" to="31" />
		</imprint>
		<respStmt>
			<orgName>University of Konstanz, University Library</orgName>
		</respStmt>
	</monogr>
	<note>Conference date</note>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Rule Learning over Knowledge Graphs: A Review</title>
		<author>
			<persName><forename type="first">H</forename><surname>Wu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Z</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">G</forename><surname>Omran</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Li</surname></persName>
		</author>
		<idno type="DOI">10.4230/TGDK.1.1.7</idno>
		<ptr target="https://drops.dagstuhl.de/entities/document/10.4230/TGDK.1.1.7.doi:10.4230/TGDK.1.1.7" />
	</analytic>
	<monogr>
		<title level="j">Transactions on Graph Data and Knowledge</title>
		<imprint>
			<biblScope unit="volume">1</biblScope>
			<biblScope unit="page">23</biblScope>
			<date type="published" when="2023">2023</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">AMIE: association rule mining under incomplete evidence in ontological knowledge bases</title>
		<author>
			<persName><forename type="first">L</forename><forename type="middle">A</forename><surname>Galárraga</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Teflioudi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Hose</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Suchanek</surname></persName>
		</author>
		<idno type="DOI">10.1145/2488388.2488425</idno>
		<idno>doi:10.1145/2488388.2488425</idno>
		<ptr target="https://doi.org/10.1145/2488388.2488425" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 22nd International Conference on World Wide Web, WWW &apos;13</title>
				<meeting>the 22nd International Conference on World Wide Web, WWW &apos;13<address><addrLine>New York, NY, USA</addrLine></address></meeting>
		<imprint>
			<publisher>Association for Computing Machinery</publisher>
			<date type="published" when="2013">2013</date>
			<biblScope unit="page" from="413" to="422" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Fast rule mining in ontological knowledge bases with AMIE++</title>
		<author>
			<persName><forename type="first">L</forename><surname>Galárraga</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Teflioudi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Hose</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><forename type="middle">M</forename><surname>Suchanek</surname></persName>
		</author>
		<idno type="DOI">10.1007/s00778-015-0394-1</idno>
		<ptr target="https://doi.org/10.1007/s00778-015-0394-1.doi:10.1007/s00778-015-0394-1" />
	</analytic>
	<monogr>
		<title level="j">The VLDB Journal</title>
		<imprint>
			<biblScope unit="volume">24</biblScope>
			<biblScope unit="page" from="707" to="730" />
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Fast and exact rule mining with AMIE 3</title>
		<author>
			<persName><forename type="first">J</forename><surname>Lajus</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Galárraga</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Suchanek</surname></persName>
		</author>
		<idno type="DOI">10.1007/978-3-030-49461-2_3</idno>
		<idno>doi:</idno>
		<ptr target="10.1007/978-3-030-49461-2_3" />
	</analytic>
	<monogr>
		<title level="m">The Semantic Web: 17th International Conference, ESWC 2020</title>
				<meeting><address><addrLine>Heraklion, Crete, Greece; Berlin, Heidelberg</addrLine></address></meeting>
		<imprint>
			<publisher>Springer-Verlag</publisher>
			<date type="published" when="2020-06-04">May 31-June 4, 2020. 2020</date>
			<biblScope unit="page" from="36" to="52" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">Anytime bottom-up rule learning for knowledge graph completion</title>
		<author>
			<persName><forename type="first">C</forename><surname>Meilicke</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">W</forename><surname>Chekol</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Ruffinelli</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Stuckenschmidt</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 28th International Joint Conference on Artificial Intelligence, IJCAI&apos;19</title>
				<meeting>the 28th International Joint Conference on Artificial Intelligence, IJCAI&apos;19</meeting>
		<imprint>
			<publisher>AAAI Press</publisher>
			<date type="published" when="2019">2019</date>
			<biblScope unit="page" from="3137" to="3143" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<monogr>
		<title level="m" type="main">Reinforced anytime bottom up rule learning for knowledge graph completion</title>
		<author>
			<persName><forename type="first">C</forename><surname>Meilicke</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">W</forename><surname>Chekol</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Fink</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Stuckenschmidt</surname></persName>
		</author>
		<idno>CoRR abs/2004.04412</idno>
		<ptr target="https://arxiv.org/abs/2004.04412.arXiv:2004.04412" />
		<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">Anytime bottom-up rule learning for large-scale knowledge graph completion</title>
		<author>
			<persName><forename type="first">C</forename><surname>Meilicke</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">W</forename><surname>Chekol</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Betz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Fink</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Stuckeschmidt</surname></persName>
		</author>
		<idno type="DOI">10.1007/s00778-023-00800-5</idno>
		<ptr target="https://doi.org/10.1007/s00778-023-00800-5.doi:10.1007/s00778-023-00800-5" />
	</analytic>
	<monogr>
		<title level="j">The VLDB Journal</title>
		<imprint>
			<biblScope unit="volume">33</biblScope>
			<biblScope unit="page" from="131" to="161" />
			<date type="published" when="2024">2024</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">Learning shacl shapes from knowledge graphs</title>
		<author>
			<persName><forename type="first">P</forename><surname>Omran</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Taylor</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Rodríguez Méndez</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Haller</surname></persName>
		</author>
		<idno type="DOI">10.3233/SW-223063</idno>
	</analytic>
	<monogr>
		<title level="j">Semantic Web</title>
		<imprint>
			<biblScope unit="volume">14</biblScope>
			<biblScope unit="page" from="1" to="21" />
			<date type="published" when="2022">2022</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<analytic>
		<title level="a" type="main">Rule learning from knowledge graphs guided by embedding models</title>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">T</forename><surname>Ho</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Stepanova</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">H</forename><surname>Gad-Elrab</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Kharlamov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Weikum</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">The Semantic Web -ISWC 2018</title>
				<editor>
			<persName><forename type="first">D</forename><surname>Vrandečić</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">K</forename><surname>Bontcheva</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">M</forename><forename type="middle">C</forename><surname>Suárez-Figueroa</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">V</forename><surname>Presutti</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">I</forename><surname>Celino</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">M</forename><surname>Sabou</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">L.-A</forename><surname>Kaffee</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">E</forename><surname>Simperl</surname></persName>
		</editor>
		<meeting><address><addrLine>Cham</addrLine></address></meeting>
		<imprint>
			<publisher>Springer International Publishing</publisher>
			<date type="published" when="2018">2018</date>
			<biblScope unit="page" from="72" to="90" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">Rudik: Rule discovery in knowledge bases</title>
		<author>
			<persName><forename type="first">S</forename><surname>Ortona</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">V</forename><surname>Meduri</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Papotti</surname></persName>
		</author>
		<ptr target="https://api.semanticscholar.org/CorpusID:51989311" />
	</analytic>
	<monogr>
		<title level="m">Proc. VLDB Endow</title>
				<meeting>VLDB Endow</meeting>
		<imprint>
			<date type="published" when="2018">2018</date>
			<biblScope unit="volume">11</biblScope>
			<biblScope unit="page" from="1946" to="1949" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<analytic>
		<title level="a" type="main">Differentiable learning of numerical rules in knowledge graphs</title>
		<author>
			<persName><forename type="first">P.-W</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Stepanova</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Domokos</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">Z</forename><surname>Kolter</surname></persName>
		</author>
		<ptr target="https://openreview.net/forum?id=rJleKgrKwS" />
	</analytic>
	<monogr>
		<title level="m">8th International Conference on Learning Representations (ICLR-20)</title>
				<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<analytic>
		<title level="a" type="main">Tlogic: Temporal logical rules for explainable link forecasting on temporal knowledge graphs</title>
		<author>
			<persName><forename type="first">Y</forename><surname>Liu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Ma</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Hildebrandt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Joblin</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Tresp</surname></persName>
		</author>
		<idno type="DOI">10.1609/aaai.v36i4.20330</idno>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the AAAI Conference on Artificial Intelligence</title>
				<meeting>the AAAI Conference on Artificial Intelligence</meeting>
		<imprint>
			<date type="published" when="2022">2022</date>
			<biblScope unit="volume">36</biblScope>
			<biblScope unit="page" from="4120" to="4127" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">Learning temporal rules from knowledge graph streams</title>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">G</forename><surname>Omran</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Z</forename><surname>Wang</surname></persName>
		</author>
		<ptr target="https://api.semanticscholar.org/CorpusID:135466806" />
	</analytic>
	<monogr>
		<title level="m">AAAI Spring Symposium Combining Machine Learning with Knowledge Engineering</title>
				<imprint>
			<date type="published" when="2019">2019</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b19">
	<analytic>
		<title level="a" type="main">The &quot;FutureSOILS Project&quot;: A Knowledge Graph-based Predictive Model for Improving Soil Treatments in Agriculture</title>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">J</forename><surname>Rodríguez-Méndez</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">G</forename><surname>Omran</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Taylor</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Kan-John</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Gedeon</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A.-M</forename><surname>Farley</surname></persName>
		</author>
		<ptr target="https://acsw.core.edu.au/2022-home/2022-posters-2" />
	</analytic>
	<monogr>
		<title level="m">Australasian Computer Science Week</title>
				<imprint>
			<publisher>ACSW</publisher>
			<date type="published" when="2022">2022. 2022. 2022</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b20">
	<monogr>
		<title level="m" type="main">Defining N-ary Relations on the Semantic Web, W3C Note</title>
		<author>
			<persName><forename type="first">N</forename><surname>Noy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Rector</surname></persName>
		</author>
		<ptr target="https://www.w3.org/TR/2006/NOTE-swbp-n-aryRelations-20060412/" />
		<imprint>
			<date type="published" when="2006">2006</date>
			<pubPlace>W3C</pubPlace>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b21">
	<analytic>
		<title level="a" type="main">From SPARQL to rules (and back)</title>
		<author>
			<persName><forename type="first">A</forename><surname>Polleres</surname></persName>
		</author>
		<idno type="DOI">10.1145/1242572.1242679</idno>
		<idno>doi:10.1145/1242572.1242679</idno>
		<ptr target="https://doi.org/10.1145/1242572.1242679" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 16th International Conference on World Wide Web, WWW &apos;07</title>
				<meeting>the 16th International Conference on World Wide Web, WWW &apos;07<address><addrLine>New York, NY, USA</addrLine></address></meeting>
		<imprint>
			<publisher>Association for Computing Machinery</publisher>
			<date type="published" when="2007">2007</date>
			<biblScope unit="page" from="787" to="796" />
		</imprint>
	</monogr>
</biblStruct>

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