<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>FOIS</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Conceptual Scaling of RDFS Ontologies</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jens Kötters</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Peter W. Eklund</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefan E. Schmidt</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Deakin University</institution>
          ,
          <country country="AU">Australia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Technische Universität Dresden</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>19</volume>
      <fpage>19</fpage>
      <lpage>20</lpage>
      <abstract>
        <p>Conceptual scaling is a method, developed in the framework of Formal Concept Analysis (FCA), that transforms a many-valued context (a collection of objects, described by attributes with values, such as name, size or color) into a formal context (a binary schema from which formal concepts are derived). Relational scaling extends conceptual scaling, by taking relations between objects into account. Previous work applies relational scaling to a relational database, transforming the relational database into a relational structure. Relational structures play the role of formal contexts in a relational variant of FCA. In this paper, we present a similar approach, which applies relational scaling to RDFS ontologies.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Conceptual Scaling</kwd>
        <kwd>Formal Concept Analysis</kwd>
        <kwd>Mediated Queries</kwd>
        <kwd>RDFS</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Formal Concept Analysis</title>
      <p>Wednesday
Gomez
Pugsley
Morticia
Fester
×
×
×
some of the family members; each is represented by a table row. The attributes, collected
in the set  = {male, female, black hair, psychic visions, electrokinesis}, are represented by
the table columns. A cross in the table indicates that the respective family member has the
respective trait.</p>
      <p>
        We summarize the basic definitions in Formal Concept Analysis (FCA) (cf. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]). With any
formal context there are two associated operations (· )↑ : P() → P( ) and (· )↓ : P( ) →
P(), defined by,
↑ := { ∈  | (, ) ∈  for all  ∈ } ,
↓ := { ∈  | (, ) ∈  for all  ∈ } .
(1)
(2)
The set ↑ contains the attributes which are shared by all objects in , and ↓ contains
the objects which have all attributes in . A formal concept of a context (, , ) is a pair
(, ) ∈ P() × P( ) with ↑ =  and ↓ = . The set  is the extent of the concept
(, ), i.e. the set of objects which belong to the concept; the set  is the intent of (, ), i.e.
the set of attributes which describe the concept. A concept (, ) is a subconcept of a concept
(, ), written (, ) ≤ (, ), if  ⊆ , or equivalently  ⊆ . The set of all concepts of
(, , ) is denoted by ℬ(, , ), and the ordered set ℬ(, , ) := (ℬ(, , ), ≤ ) is a
complete lattice, called the concept lattice of (, , ).
      </p>
      <p>Figure 2 shows the concept lattice of the “Addams Family” context. The seven nodes
represent the concepts. The subconcepts of a concept are those concepts which lie below that
concept, i.e. which can be reached by following the edges downward. Dually, by following
the edges upward, we reach the superconcepts of a concept. For every object  ∈ , the
concept  () := ({}↑↓, {}↑) is the object concept of ; it is the smallest concept which has
 in its extent. In Figure 2, the concept with the label  drawn below it is the object
concept  (). Dually, for every attribute  ∈  , the concept  () := ({}↓, {}↓↑) is the
attribute concept of ; it is the largest concept which has  in its intent. In Figure 2, the
concept with the label  drawn above it is the attribute concept  (). A concept has  in
its extent if it is a superconcept of  (), and it has  in its intent if it is a subconcept of
 (). So Figure 2 shows the following concepts: the bottom concept is (∅,  ); the three
concepts directly above it are ({Fester}, {male, electrokinesis}), (Gomez, {male, black hair}) and
({Wednesday, Morticia}, {female, black hair, psychic visions}); the two concepts directly below
the top concept are ({Fester, Gomez, Pugsley}, {male}) and ({Gomez, Wednesday, Morticia},
Lewis Carroll
Virginia Woolf
Douglas Adams</p>
      <p>Neil Gaiman
J. K. Rowling
Stephen King
Dan Brown
nationality</p>
      <p>GB
GB
GB
GB
GB
US
US
{black hair}); finally, the top concept is (, ∅). The diagram in Figure 2 is called a line diagram
(or Hasse diagram) with reduced labeling (cf. [1, p.23]).</p>
      <p>
        Formal Concept Analysis (FCA) supports a diverse range of applications. If the context is small
enough, the concept lattice provides a visualization of the data, which may provide some insights;
this is arguably the most straightforward application of FCA [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Concept lattices have been
used as a data model for document browsing and navigation, pioneered by Godin et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and
further elaborated by others [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. The theory of attribute implications [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] supports data analysis
and knowledge discovery; for example, the attribute implications psychic visions → female,
psychic visions → black hair and electrokinesis → male hold in the “Addams Family” context.
Association rules, considered in data mining, may be considered a probabilistic variant of
attribute implications, described by the measures of support and confidence; Pasquier et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]
describe association rule mining in an FCA context. Stumme and Maedche have applied FCA to
merge ontologies [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Conceptual Scaling</title>
      <p>
        Formal Concept Analysis (FCA) also defines another type of context, called a many-valued
context [1, Sect. 1.3]. A many-valued context can be compared to a single table in a database
(with no foreign keys); correspondingly, the attributes in a many-valued context take values,
and are thus called many-valued attributes. Figure 3 shows the many-valued context “Authors”
(adapted from [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]). Its object set  consists of the seven authors, listed in the first row, and
it has the attribute set  = {nationality, date_of_birth}. A concept lattice is not defined on a
many-valued context directly; instead, in FCA there is a procedure, called conceptual scaling,
which transforms a many-valued context into a formal context, and a concept lattice is then
obtained from that formal context.
      </p>
      <p>We illustrate conceptual scaling by the example of the “Authors” context. First, we associate
a conceptual scale with each many-valued attribute, i.e. a formal context whose objects are the
possible values of that attribute. For example, the “Regions” scale in Figure 4 can be chosen for
the nationality attribute, because its objects are ISO 3166 country codes, and the “Centuries”
scale in Figure 5 can be chosen for the date_of_birth attribute, because its objects are ISO 8601
dates. Figure 5 only indicates the date range, because there are obviously too many dates to
be listed. Each scale attribute represents a subset of the values. For example, the attributes
19C, 20C and 21C of the “Centuries” represent certain date intervals (namely the 19th, 20th and
Lewis Carroll
Virginia Woolf
Douglas Adams
Neil Gaiman
J.K. Rowling
Stephen King
Dan Brown
×
×
×</p>
      <p>Centuries
×
×
×
×
×
×
×
21st century). The scale attributes US, GB, FR and DE represent the corresponding singleton
sets of values. A scale which identifies precisely the singleton sets of values is called a nominal
scale (cf. [1, p.42]). However, to make the example more interesting, we have added a Europe
attribute, which identifies the European countries.</p>
      <p>
        As we have seen, each scale attribute  identifies a subset  () of the possible values. When
the scale is associated with a many valued attribute , the scale attributes also apply to the
objects of the many-valued context: we say that an object  has the attribute  if and only if
the value of  in  lies in  (). This means, in our example, an author has the attribute 19C
if they were born in the 19th century, and the attribute Europe if they have some European
nationality. In this way, each conceptual scale translates to a realized scale (which has the same
attributes), as shown in Figure 6. Note that each object’s row is identical to its value’s row in
the conceptual scale. The scaled context (see Figure 7) is obtained by placing the realized scales
side-by-side (this is called an apposition of contexts [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]).
Wednesday
Gomez
Pugsley
Morticia
Fester
×
×
×
(Morticia,Wednesday) ×
(Morticia,Pugsley) ×
(Gomez,Wednesday)
(Gomez,Pugsley)
(Gomez,Fester)
(Fester,Gomez)
f
O
r
e
h
t
o
m
×
×
× ×
Figure 8: Extending the "Addams Family" context to a power context family.
      </p>
    </sec>
    <sec id="sec-4">
      <title>4. Formal Concept Analysis with Relations</title>
      <p>
        The Addams Family context in Figure 1 describes individual family members by their traits, but
despite the title, the context provides no information about the family relations. This hints at a
limitation of formal contexts as a data model: they only support a limited sentence structure
(“object has attribute”). A milestone paper by Wille [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] introduces power context families as
a means to model relational data in Formal Concept Analysis (FCA): a power context family
is there defined as a sequence K⃗ = (K1, . . . , K) such that, if  denotes the object set of K1,
the object set of K is a subset of  for all 2 ≤  ≤ . For example, Figure 8 shows a power
context family (K1, K2) for the Addams family, where K1 is the same context as in Figure 1.
The context K2 states that Morticia is the mother of Wednesday and Pugsley, Gomez is their
father, and Gomez and Fester are brothers.
      </p>
      <p>
        In the same way we have obtained a concept lattice ℬ(K1) for the context K1 (cf. Figure 2),
we can also obtain a concept lattice ℬ(K2) for the context K2. Its concepts are called relation
concepts, because their extents are (binary) relations over . The stated goal of Wille’s approach
was the formalization of traditional philosophical logic, and its notions of concepts, judgments
and conclusions. With concepts already formalized by FCA, Wille introduced concept graphs
for the formalization of judgments (i.e. “statements”); concept graphs are a variant of Sowa’s
conceptual graphs [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], where two maps  and  identify each node  with a concept  () and
also with a non-empty set () of objects (or tuples, for relation concepts) from the extent of
 (). The map  is called a realization; it ensures that the statement holds in the given power
context family.
      </p>
      <p>
        In a concept graph, formal concepts are placed side-by-side, but they are not combined to
form new concepts. For example, we can build a concept graph which states that Fester is a
brother of Gomez, and Gomez is a parent of Wednesday and Pugsley, but we do not obtain a
relational concept uncle, with an extent of {(Fester, Wednesday), (Fester, Pugsley)}. Huchard
et al. [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] introduced Relational Concept Analysis (RCA), which defines concepts over a relational
context family (similar to a power context family, but with diferent formal contexts for objects
of diferent sorts). With RCA, the concepts uncle and nibling (the generalization of niece and
nephew) can be obtained, but only as unary concepts (i.e. the extents are the sets of all uncles
and niblings, respectively). Such concepts can also be obtained using a comparable approach by
Baader and Molitor [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], which combines Relational Concept Analysis with Description Logics;
the approach uses pattern concepts in the sense of Ganter and Kuznetsov [13], i.e. it is based on
a variant of FCA where concept intents are not represented by sets of attributes, but e.g. by
graphs.
      </p>
      <p>
        Kötters [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] defines concept lattices over a relational structure using pattern concepts with
conjunctive queries as intents. Both Relational Concept Analysis and Formal Concept Analysis
with Description Logics allow more expressive intents (using e.g. universal quantification); but
the limitation to conjunctive queries allows one to obtain, not only unary concepts, but relational
concepts of any arity. A subsequent paper [14] rephrases the approach in the terminology of
Wille, using a power context family instead of a relational structure, and formalizing conjunctive
queries by “windowed intension graphs”, which are modeled after concept graphs. More
precisely, windowed intension graphs are a kind of abstract concept graph, a term introduced by
Wille [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] but seldom used thereafter, for concept graphs that are independent from any data
(in particular, they lack the realization ), which makes them suitable to formalize queries; we
discuss querying in Sect. 7. In summary, every power context family K⃗ is associated with a
concept lattice (K), and for the power context family in Figure 8, this concept lattice contains
for example the (binary) uncle concept.
      </p>
    </sec>
    <sec id="sec-5">
      <title>5. Relational Scaling</title>
      <p>
        The term relational scaling was coined by Prediger and Wille [15], as an extension of conceptual
scaling, which transforms a many-valued context with relational data into a power context
family. Hereth [16] describes relational scaling of relational databases. The Formal Concept
Analysis (FCA) variant of Kötters [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] (cf. Sect. 4) establishes a connection between FCA and
database theory; Kötters and Eklund [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] revisit the topic of scaling a relational database in light
of this connection, which complements the theoretical results with some practical concerns.
Figure 9 illustrates the idea of using the same concept model with diferents kinds of relational
data, using the power context family as a kind of interface. This requires one to specify, for
each kind of relational data, how it is transformed into a power context family, i.e. to devise a
method of relational scaling. In Sect. 6, we describe a possible way of scaling an RDFS ontology,
which corresponds to the upper right arrow in Figure 9. This approach is more elegant and
economic than a similar previous attempt [17], which defines concepts over an RDFS ontology
directly.
      </p>
      <p>
        The scaling afects subsequent applications, which have been developed in the context of
Formal Concept Analysis (FCA), and the brief overview at the end of Sect. 2 may serve as an
example. It is the basis for the definition of concepts, i.e. it determines how we conceptualize
the data. Similarly, it defines the language, within which attribute implications (or pattern
implications, in the case of pattern concepts) are expressed, and the same holds for association
rules. As described by Priss [18], the scales correspond to facets in a faceted navigation approach
(see e.g. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]).
      </p>
    </sec>
    <sec id="sec-6">
      <title>6. RDFS Ontologies</title>
      <p>According to the RDF 1.1 “Concepts and Abstract Syntax specification” [ 19], an RDF graph is a set
of RDF triples, where each triple consists of a subject, a predicate and an object. The predicate is an
Relational
Database</p>
      <p>Scaling</p>
      <p>RDFS
Ontology</p>
      <p>Scaling
Power Context</p>
      <p>Family</p>
      <p>Concept Lattice and Applications
internationalized resource identifier (IRI), such as &lt;http://schema.org/knows&gt;, recognizable
by the angular brackets. The subject is either an IRI or a blank node; a blank node represents
some unspecified entity. In the Turtle notation [ 20] (which we use in this paper), blank nodes
are written _ : , where  is an identifier for the blank node. Finally, an object is either an IRI or
a blank node or a literal, such as “14”&lt;http://www.w3.org/2001/XMLSchema#integer&gt;,
where the quoted part is the lexical form, followed by a double caret and a datatype IRI (i.e. an
IRI which refers to a datatype); additionally, certain literals can have a language tag; for those,
we refer to the specification [19].</p>
      <p>Figure 10 shows an excerpt of an RDF document, which describes an RDF graph in Turtle
notation [20]. The @base and @prefix directives at the beginning allow some shorthand
notations for IRI’s. In particular, the RDF terms with a prefix, such as rdf:type, denote IRI’s;
literals which lack a datatype IRI are assigned the string datatype; and if a triple ends with a
semicolon (instead of a period), the next triple has the same subject (so the subject is omitted).</p>
      <p>In this section, we describe conceptual scaling for RDF graphs that use the RDF Schema [21]
vocabulary (i.e. RDFS ontologies). As the RDF Primer [22] states, the main modeling
constructs for RDFS ontologies are the classes rdfs:Class and rdf:Property, and the properties
rdf:type, rdfs:subClassOf, rdfs:subPropertyOf, rdfs:domain and rdfs:range
(using the prefix notation for these IRI’s, where the prefixes rdf and rdfs are resolved as usual,
cf. [19, Sect. 1.4]). Every IRI that is used as a predicate denotes a property, so it belongs to the class
rdf:Property. The property rdf:type is used to state that an entity belongs to a certain class;
e.g. the triple &lt;#AliceInWonderland&gt; rdf:type &lt;#Book&gt; in Figure 10 states that the entity
&lt;#AliceInWonderland&gt;, which we can see is Lewis Carroll’s “Alice in Wonderland”, belongs
to the class &lt;#Book&gt;. The properties rdfs:subClassOf and rdfs:subPropertyOf are used
to define the hierarchies of classes and properties, respectively. The class rdfs:Resource is
at the top of the class hierarchy; it contains all entities (the term resource is used as a synonym
for entity). The properties rdfs:domain and rdfs:range state, for a given property, what
classes the entities in the subject and object positions are expected to belong to, respectively.</p>
      <p>We now describe how an RDFS ontology is converted into a power context family. For this
purpose, we imagine that the schema part of the ontology is represented in the fashion of an
API specification as e.g. generated by Javadoc for the Java programming language (where each
class is described by its own page, along with its attributes and methods, defined on the class
itself, or inherited from a superclass). Indeed, the popular Schema.org ontology comes with
a similar documentation (cf. https://schema.org/docs/schemas.html). Evidently, the classes of
the ontology are the entities of type rdfs:Class, and the class hierarchy is described by the
rdfs:subClassOf property. We divide the properties of the ontology (i.e. the entities of type
rdf:property) into two classes, which correspond roughly to attributes and methods in Java:
if the rdfs:range of a property is a datatype (i.e. an entity of type rdfs:Datatype), we call
the property a many-valued attribute (in line with FCA terminology), otherwise we call it a
relation. Naturally, the IRI’s in the data are considered objects (in line with FCA terminology),
and the RDF literals are considered values. A many-valued attribute then associates values to
the objects in its rdfs:domain, and a relation links objects in its rdfs:domain to objects
in its rdfs:range. Blank nodes are treated as values if they occur in the rdfs:range of a
many-valued attribute, otherwise they are treated as objects.</p>
      <p>In practice, ontologies may prove inconsistent with respect to our strong typing assumptions.
In this case, we try to apply workarounds; e.g. if a property is used as a many-valued attribute
in one place, and as a relation in another, we may treat it as two distinct properties. Conceptual
scaling can be done interactively, by the use of a program, which presents an API-like view of
classes, where individual classes, and properties on them, can be toggled on (enabled) and of</p>
      <p>K0: Classes
(disabled); disabled classes and properties are treated as not present. The number of classes and
properties can be overwhelming, so disabled will be the default. Any edits or workarounds in
case of inconsistencies, as described above, need only be applied to enabled classes and properties.
If a property is enabled, its rdfs:domain and rdfs:range are enabled automatically.</p>
      <p>We translate an RDF graph into a power context family (K0, K1, K2), and set K =: (, , )
for  ∈ {0, 1, 2}. The attributes of K0 and K2 are the enabled classes and relations, respectively.
The objects of K0 are the IRIs and blank nodes which belong to at least one enabled class. Each
triple subj rdf:type obj in the ontology produces a pair (subj, obj) ∈ 0. Further pairs
are added to 0 where the class membership can be inferred via rdfs:subClassOf. Likewise,
each triple subj, pred, obj in the ontology produces an instance (subj, obj) ∈ 2 and a
pair ((subj, obj), pred) ∈ 2. Further pairs are added to 2 where the property can be inferred
via rdfs:subPropertyOf. Figure 11 shows the contexts K0 and K2 for the RDFS ontology in
Figure 10.</p>
      <p>It now remains to produce realized scales for the IRI’s classified as many-valued attributes; the
context K1 is then obtained as the apposition of the realized scales (cf. Figures 6 and 7). However,
using conceptual scales, like those in Figures 4 and 5, does not seem practical. As we have
mentioned, each scale attribute identifies a subset of the values, and if we can specify this subset
by other means, we efectively represent the conceptual scale. Logical scaling [23] is a variant of
conceptual scaling, where the subset of values is represented by a formal expression. For RDFS
ontologies, suitable formal expressions are FILTER expressions, which can be used in SPARQL
queries [24]. For example, the range of values identified by the 20C attribute of the
“Centuries” scale is represented by the expression FILTER(?value &gt;= "1900-01-01"xsd:date
&amp;&amp; ?value &lt; "2000-01-01"xsd:date), where the prefix xsd is resolved, as usual, to
http://www.w3.org/2001/XMLSchema# (cf. [19, Sect. 1.4]). The FILTER condition for each
attribute is then substituted into a SPARQL query
&lt;#LewisCarroll&gt;
&lt;#VirginiaWoolf&gt;
&lt;#DouglasAdams&gt;
&lt;#NeilGaiman&gt;
&lt;#JKRowling&gt;
&lt;#StephenKing&gt;
&lt;#DanBrown&gt;
&lt;#AliceInWonderland&gt;
&lt;#ToTheLighthouse&gt;
&lt;#HitchhikersGuide&gt;
&lt;#TriggerWarning&gt;
&lt;#HarryPotter7&gt;
&lt;#TheCasualVacancy&gt;
&lt;#TheShining&gt;
&lt;#DoctorSleep&gt;
&lt;#TheDaVinciCode&gt;
&lt;#Inferno&gt;
×
×
×
×
×
×
×</p>
      <sec id="sec-6-1">
        <title>SELECT DISTINCT ?subj WHERE { ?subj prefix:mva ?value . FILTER(...) }</title>
        <p>which determines the column for that attribute in the realized scale (a cross indicates that the
object is in the query’s result set). Figure 12 shows the realized scales for the many-valued
attributes dcterms:issued and schema:birthDate, which are both scaled with the (logical)
“Centuries” scale. Similarly, a realized scale is obtained for the schema:nationality attribute
(where the Europe column represents a union), and the apposition of realized scales produces
the context K1 in Figure 13.</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>7. Navigation</title>
      <p>
        In this section, we discuss the practical significance of conceptual scaling, in the context of a
navigation application. More specifically, we plan to extend the Granada application [ 25], which
allows scaling and navigating in relational databases, to RDFS ontologies. The functionality
can be compared with the OpenLink Faceted Browser, which is accessible via the "Browse
using" menu on any DBpedia page (e.g. https://dbpedia.org/page/Berlin). At the core, such an
application processes SPARQL queries, and presents the results. OpenLink’s Faceted Browser
uses a text representation of queries, whereas Granada has so far used a graph representation
that corresponds to abstract concept graphs (cf. Sect. 4). Figure 14 shows an example for such a
graph query; it was originally presented in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], and it is shown there how it translates into an
SQL query. We now show how it translates into a SPARQL query.
      </p>
      <p>The rectangular nodes represent variables, say ?z1 (left node) and ?z2 (right node). The class
labels on the nodes are attributes from K0. The rounded nodes carry attributes from K1 (one
outgoing edge) or from K2 (two outgoing edges). A rectangular node is colored if it represents a
subject of the query; i.e. in Fig. 14, we are asking about the authors, not about the books. Every
subject is associated with an output variable (i.e. a column header in the result table), separated</p>
      <p>K1: RealizedScales
from the class label by a slash; so ?x1 is an output variable for the author node. The graph thus
corresponds to the following query:</p>
      <sec id="sec-7-1">
        <title>SELECT DISTINCT (?z1 AS ?x1)</title>
        <p>WHERE {
?z1 rdf:type &lt;#Author&gt; .
?z2 rdf:type &lt;#Book&gt; .
?z2 dcterms:creator ?z1 .
?z1 schema:birthDate ?z3 . FILTER(</p>
        <p>?z3 &gt;= "1900-01-01"^^xsd:date &amp;&amp; ?z3 &lt; "2000-01-01"^^xsd:date)
?z1 schema:nationality ?z4 . FILTER(?z4 = "GB")
?z2 dcterms:issued ?z5 . FILTER(</p>
        <p>?z5 &gt;= "2000-01-01"^^xsd:date &amp;&amp; ?z5 &lt; "2100-01-01"^^xsd:date)
} .</p>
        <p>Every attribute in K0, K1 or K2 contributes to one statement in the query’s WHERE-clause;
additionally, each attributes in K1 is related to a FILTER-expression, cf. Sect. 6. Obviously, the
renaming of ?z1 to ?x1, in the first line of the query, could have been avoided if we had chosen
?x1 instead of ?z1 in the first place; the present form of the query is slightly more generic,
since it allows to associate several output variables with the same node (which seems useless in
practice, but has some theoretical significance).</p>
        <p>As the example shows, the attributes of K0, K1 and K2, hence the power context family,
determine the query language. The power context family thus defines an abstraction from the
underlying query language (be it SQL or SPARQL), limiting the possible queries on the one
hand, but providing a discrete set of options on the other hand, which should allow for a quicker
and more user-friendly way of navigation; comparable to how users access a library catalogue
through a search mask, rather than typing queries directly. Essentially, the choice of conceptual
scales determines the available fields in the search mask.</p>
        <p>As in the OpenLink Faceted Browser, query building is interactive, i.e. the user would start
with a single graph node (one of the rectangular nodes, say the author node), and the system
provides suggestions how the graph can be extended (by many-valued attributes, or relations
to other nodes), while still allowing a non-empty result set. But the use of the power context
family, and the connection to FCA it provides, allows for another feature: the computation of
commonalities. Mathematically, the power context family associates every query  to a formal
concept (↓, ↓↑), where ↓ is the result table for , and ↓↑ is the graph closure of , a graph
that shows what the tuples in ↓ have in common; it thus provides additional information. In
theory, this information could be computed and presented alongside the result table. In practice,
this is not generally possible, because the graph closures are far too complex to compute, or to
be read and understood by a user. However, it is possible to compute a weaker form of closure.
Specifically, the node closure computes closures on a per-facet basis, i.e. individually for each
realized scale. An example should make this clear. Consider the query in Fig. 15, and its result
table. For the set  := {&lt;#NeilGaiman&gt;, &lt;#JKRowling&gt;, &lt;#StephenKing&gt;, &lt;#DanBrown&gt;}
of objects in the first column, and the realized scale schema:birthDate in Fig. 12, we obtain
↑ = {20} (cf. Sect. 2). In other words, all authors in the result table were born in the 20th
century. This information can be presented alongside with the result table. Doing so for all table
columns and all realized scales amounts to computing the node closure. Other weaker forms of
closure may take the graph structure (i.e. relations) into account (cf. pattern projections in [13]).
The power context family can be virtual, i.e. it need not be computed in memory, although of
course, obtaining commonalities involves some computational overhead.</p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>8. Conclusion</title>
      <p>
        Figure 9 illustrates an idea how FCA can be applied to diferent kinds of relational data, using the
power context family as an intermediary representation. The idea involves to specify, for each
kind of relational data, a method of conceptual scaling, which explains how the power context
family is derived. In a previous paper [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], this has been shown for relational databases, and in
this paper, we have shown this for RDFS ontologies. The practical use has been demonstrated for
the particular case of navigation. On this basis, we can extend Granada [25] to RDFS ontologies.
[13] B. Ganter, S. O. Kuznetsov, Pattern structures and their projections, in: H. S. Delugach,
G. Stumme (Eds.), Proceedings of ICCS 2001, volume 2120 of LNCS, Springer, 2001, pp.
129–142.
[14] J. Kötters, Intension graphs as patterns over power context families, in: M. Huchard,
S. Kuznetsov (Eds.), Proceedings of CLA 2016, volume 1624 of CEUR Workshop Proceedings,
CEUR-WS.org, 2016, pp. 203–216.
[15] S. Prediger, R. Wille, The lattice of concept graphs of a relationally scaled context, in:
W. R. C. William M. Tepfenhart (Ed.), Proceedings of ICCS 1999, volume 1640 of LNAI,
Springer, 1999, pp. 401–414.
[16] J. Hereth, Relational scaling and databases, in: U. Priss, D. Corbett, G. Angelova (Eds.),
      </p>
      <p>Proceedings of ICCS 2002, volume 2393 of LNAI, Springer, Heidelberg, 2002, pp. 62–76.
[17] J. Kötters, Concept lattices of RDF graphs, in: M. Ojeda-Aciego, J. Baixeries, C. Sacarea
(Eds.), Proceedings of the International Workshop on Formal Concept Analysis and
Applications 2015, volume 1434 of CEUR Workshop Proceedings, CEUR-WS.org, 2015, pp. 81–91.</p>
      <p>URL: http://ceur-ws.org/Vol-1434.
[18] U. Priss, Lattice-based information retrieval, Knowledge Organization 27 (2000) 132–142.
[19] RDF 1.1 Concepts and Abstract Syntax, Technical Report, W3C, 2014. URL: http://www.</p>
      <p>w3.org/TR/2014/REC-rdf11-concepts-20140225/.
[20] D. Beckett, T. Berners-Lee, E. Prud’hommeaux, G. Carothers, RDF 1.1 Turtle, Technical</p>
      <p>Report, W3C, 2014. URL: http://www.w3.org/TR/2014/REC-turtle-20140225/.
[21] RDF Schema 1.1, Technical Report, W3C, 2014. URL: http://www.w3.org/TR/2014/</p>
      <p>REC-rdf-schema-20140225/.
[22] RDF 1.1 Primer, Technical Report, W3C, 2014. URL: http://www.w3.org/TR/2014/</p>
      <p>NOTE-rdf11-primer-20140624/.
[23] S. Prediger, Logical scaling in formal concept analysis, in: D. Lukose, H. S. Delugach,
M. Keeler, L. Searle, J. F. Sowa (Eds.), Proceedings of ICCS 1997, volume 1257 of LNAI,
Springer, 1997, pp. 332–341.
[24] SPARQL 1.1 Query Language, Technical Report, W3C, 2013. URL: http://www.w3.org/TR/
2013/REC-sparql11-query-20130321/.
[25] J. Kötters, P. W. Eklund, Granada: Relational database navigation and scaling, in: D. Cristea,
F. L. Ber, R. Missaoui, L. Kwuida, B. Sertkaya (Eds.), Supplementary Proceedings of ICFCA
2019, volume 2378 of CEUR Workshop Proceedings, CEUR-WS.org, 2019, pp. 76–81.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>B.</given-names>
            <surname>Ganter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Wille</surname>
          </string-name>
          ,
          <source>Formal concept analysis: mathematical foundations</source>
          , Springer, Berlin,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Kötters</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. W.</given-names>
            <surname>Eklund</surname>
          </string-name>
          ,
          <article-title>The theory and practice of coupling formal concept analysis to relational databases</article-title>
          , in: S. O.
          <string-name>
            <surname>Kuznetsov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Napoli</surname>
          </string-name>
          , S. Rudolph (Eds.),
          <source>Proceedings of FCA4AI</source>
          <year>2018</year>
          , volume
          <volume>2149</volume>
          <source>of CEUR Workshop Proceedings, CEUR-WS.org</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>69</fpage>
          -
          <lpage>80</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>J.</given-names>
            <surname>Kötters</surname>
          </string-name>
          ,
          <article-title>Concept lattices of a relational structure</article-title>
          , in: H.
          <string-name>
            <surname>D. Pfeifer</surname>
            ,
            <given-names>D. I.</given-names>
          </string-name>
          <string-name>
            <surname>Ignatov</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Poelmans</surname>
          </string-name>
          , N. Gadiraju (Eds.),
          <source>Proceedings of ICCS</source>
          <year>2013</year>
          , volume
          <volume>7735</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2013</year>
          , pp.
          <fpage>301</fpage>
          -
          <lpage>310</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>R.</given-names>
            <surname>Wille</surname>
          </string-name>
          ,
          <article-title>Conceptual graphs and formal concept analysis</article-title>
          , in: D.
          <string-name>
            <surname>Lukose</surname>
            ,
            <given-names>H. S.</given-names>
          </string-name>
          <string-name>
            <surname>Delugach</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Keeler</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Searle</surname>
            ,
            <given-names>J. F.</given-names>
          </string-name>
          <string-name>
            <surname>Sowa</surname>
          </string-name>
          (Eds.),
          <source>Proceedings of ICCS</source>
          <year>1997</year>
          ,
          <article-title>5th Intl</article-title>
          .
          <source>Conf. on Conceptual Structures</source>
          , volume
          <volume>1257</volume>
          <source>of LNCS</source>
          , Springer, Heidelberg,
          <year>1997</year>
          , pp.
          <fpage>290</fpage>
          -
          <lpage>303</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P.</given-names>
            <surname>Eklund</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Ducrou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Brawn</surname>
          </string-name>
          ,
          <article-title>Concept lattices for information visualization: Can novices read line-diagrams?</article-title>
          ,
          <source>in: International Conference on Formal Concept Analysis</source>
          , Springer,
          <year>2004</year>
          , p.
          <fpage>57</fpage>
          -
          <lpage>73</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>R.</given-names>
            <surname>Godin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Saunders</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gecsei</surname>
          </string-name>
          ,
          <article-title>Lattice model of browsable data spaces, Inf</article-title>
          . Sci.
          <volume>40</volume>
          (
          <year>1986</year>
          )
          <fpage>89</fpage>
          -
          <lpage>116</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>R.</given-names>
            <surname>Cole</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Eklund</surname>
          </string-name>
          ,
          <article-title>Browsing semi-structured web texts using formal concept analysis</article-title>
          , in: H. S. Delugach, G. Stumme (Eds.),
          <source>Conceptual Structures: Broadening the Base</source>
          , Springer Berlin Heidelberg, Berlin, Heidelberg,
          <year>2001</year>
          , pp.
          <fpage>319</fpage>
          -
          <lpage>332</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>N.</given-names>
            <surname>Pasquier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bastide</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Taouil</surname>
          </string-name>
          , L. Lakhal,
          <article-title>Eficient mining of association rules using closed itemset lattices</article-title>
          ,
          <source>Information Systems</source>
          <volume>24</volume>
          (
          <year>1999</year>
          )
          <fpage>25</fpage>
          -
          <lpage>46</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>G.</given-names>
            <surname>Stumme</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Maedche</surname>
          </string-name>
          , FCA-Merge:
          <article-title>Bottom-up merging of ontologies</article-title>
          , in: B. Nebel (Ed.),
          <source>Proceedings of IJCAI</source>
          <year>2001</year>
          , Morgan Kaufmann,
          <year>2001</year>
          , pp.
          <fpage>225</fpage>
          -
          <lpage>230</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>J. F.</given-names>
            <surname>Sowa</surname>
          </string-name>
          ,
          <source>Conceptual Structures: Information Processing in Mind and Machine</source>
          , AddisonWesley, Reading, MA,
          <year>1984</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>M.</given-names>
            <surname>Huchard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Roume</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Valtchev</surname>
          </string-name>
          ,
          <article-title>When concepts point at other concepts: the case of UML diagram reconstruction</article-title>
          ,
          <source>in: Proceedings of the 2nd Workshop on Advances in Formal Concept Analysis for Knowledge Discovery in Databases (FCAKDD</source>
          <year>2002</year>
          ),
          <year>2002</year>
          , pp.
          <fpage>32</fpage>
          -
          <lpage>43</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Molitor</surname>
          </string-name>
          ,
          <article-title>Building and structuring description logic knowledge bases using least common subsumers and concept analysis</article-title>
          , in: B.
          <string-name>
            <surname>Ganter</surname>
          </string-name>
          , G. W. Mineau (Eds.),
          <source>Proceedings of ICCS</source>
          <year>2000</year>
          , volume
          <volume>1867</volume>
          <source>of LNCS</source>
          , Springer, Berlin, Heidelberg,
          <year>2000</year>
          , pp.
          <fpage>292</fpage>
          -
          <lpage>305</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>