Skip to main content

2015 | OriginalPaper | Buchkapitel

PSOA RuleML: Integrated Object-Relational Data and Rules

verfasst von : Harold Boley

Erschienen in: Reasoning Web. Web Logic Rules

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Object-relational combinations are reviewed with a focus on the integrated Positional-Slotted, Object-Applicative (PSOA) RuleML. PSOA RuleML permits a predicate application (atom) to be without or with an Object IDentifier (OID) – typed by the predicate as its class – and, orthogonally, the predicate’s arguments to be positional, slotted, or combined. This enables six uses of atoms, which are systematically developed employing examples in presentation syntaxes derived from RuleML/POSL and RIF-BLD, and visualized in Scratch Grailog. These atoms, asserted as facts, are retrieved by object-relational look-in queries. On top of such facts, PSOA rules and their inferential querying are explored, e.g. permitting F-logic-like frames derived from relational joins. A use case of bidirectional SQL-PSOA-SPARQL transformation (schema/ontology mapping) is shown. Objectification and the presentation plus (XML-)serialization syntaxes of PSOA RuleML are described. The first-order model-theoretic semantics is formalized, blending (OID-over-)slot distribution, as in RIF, with integrated psoa terms, as in RuleML. The PSOATransRun implementation is surveyed, translating PSOA RuleML to TPTP (PSOA2TPTP) or Prolog (PSOA2Prolog).

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
3
With ‘object-centered’ rather than ‘object-oriented’ atoms we refer to atoms that have a typed OID described by slots and/or positional arguments. Object-Oriented Programming (OOP) usually only employs descriptive slots but not positional arguments; on the other hand, OOP allows the re-assignment of slot fillers (instance variables) while object-centered modeling – as its declarative core – only allows the refinement of non-ground slot fillers and – in PSOA RuleML – positional arguments.
 
4
We use the upper-cased “PSOA” as a qualifier for the language and the lower-cased “psoa” for its terms.
 
11
The usual “stick figures” for directed graphs – connecting pairs of nodes with arrows – are generalized to “skewer figures” for directed hypergraphs – each (bendable) skewer holding arbitrarily many nodes together in a totally ordered fashion.
 
12
A labelnode can be used as a label (relation) or as a node (argument).
 
13
In the following, “hyperarc” will be used as an abbreviation for “directed hyperarc”.
 
14
Branch lines permit multiple attachment points for visualizing multiple tuples [3], exemplified below, as well as (multiple) slots, to be introduced in Sect. 2.3.
 
15
The POsitional-SLotted language started integrating positional and slotted syntaxes: http://​ruleml.​org/​submission/​ruleml-shortation.​html.
 
16
This is partly due to the RIF-like Presentation syntax used here being somewhat simplified w.r.t. the one used by PSOA RuleML tools: in particular, the “_” prefix is omitted from local constants, except for system-generated ones.
 
17
For the infrequent case of n = 0, not needed in this paper, hyperarcs (‘connecting’ one labelnode) degenerate to an outgoing arrow head attached to the relation labelnode or branch line.
 
18
Such merging of tuples – and (later) slots – centered on the same OID is called ‘centralization’. It constructs one object-identified psoa term from a given set of equally identified psoa terms. Centralization will be assumed when illustrating the proof-theoretic semantics in Sects. 3 and 4. It is the inverse of tupribution – and slotribution – to be introduced in Sect. 7. Harvesting the set of all psoa terms with a fixed OID from a distributed network – e.g. published on the Web – can use techniques analogous to finding all RDF triples having a fixed resource as their subject (cf. http://​www.​w3.​org/​wiki/​TaskForces/​CommunityProject​s/​LinkingOpenData/​SemanticWebSearc​hEngines). This is a non-trivial task, since such OIDs and resources normally are not dereferenceable locators themselves but occur within documents at other locators (although, ideally, those documents have filename extensions like .ruleml and .rdf, respectively).
 
19
In RIF called “named-argument terms” [2].
 
20
The figure’s representation of dimension = 2 indicates that this betweenness is relative to a 2D plane (rather than, say, to a 3D sphere).
 
21
As usual in Logic Programming, a non-ground query is understood to have existential quantification for all free variables. For basic LP terminology and notions see [13].
 
22
Betweenness with dimension = 2 for geographical entities assumes some projection of the globe to a 2D coordinate system.
 
24
Earlier (flat and nested) positional versions have been used to explain XML-to-XML transformation (http://​www.​cs.​unb.​ca/​~boley/​cs6795swt/​cs6795swt-XML.​pdf). Later, a similar use case was employed to demonstrate SPINMap for RDF-to-RDF transformation [15].
 
25
Alternatively, given column headings like Name, Street, and Town, the input conversion for PSOA could skip the relationship addressRel("Seminaris" "Wikingerufer 7" "14195 Berlin"), but generate a pairship addressRel(name->"Seminaris" street->"Wikingerufer 7" town->"14195 Berlin"), already closer to the level of frames and SPARQL.
 
26
The “lift” and “drop” terminology for conversions at the input and output interfaces has been introduced in http://​yosemiteproject.​org, and is related to the “lifting” and “lowering” terminology of http://​www.​w3.​org/​TR/​sawsdl/​#schemaMapping.
 
27
For an example-based introduction to the basic tags of Deliberation RuleML see http://​ruleml.​org/​papers/​Primer.
 
Literatur
1.
Zurück zum Zitat Kifer, M., Lausen, G., Wu, J.: Logical foundations of object-oriented and frame-based languages. J. ACM 42(4), 741–843 (1995)MathSciNetCrossRefMATH Kifer, M., Lausen, G., Wu, J.: Logical foundations of object-oriented and frame-based languages. J. ACM 42(4), 741–843 (1995)MathSciNetCrossRefMATH
3.
Zurück zum Zitat Boley, H.: A RIF-Style Semantics for RuleML-Integrated Positional-Slotted, Object-Applicative Rules. In: Bassiliades, N., Governatori, G., Paschke, A. (eds.) RuleML 2011 - Europe. LNCS, vol. 6826, pp. 194–211. Springer, Heidelberg (2011) CrossRef Boley, H.: A RIF-Style Semantics for RuleML-Integrated Positional-Slotted, Object-Applicative Rules. In: Bassiliades, N., Governatori, G., Paschke, A. (eds.) RuleML 2011 - Europe. LNCS, vol. 6826, pp. 194–211. Springer, Heidelberg (2011) CrossRef
4.
Zurück zum Zitat Boley, H.: Grailog 1.0: Graph-Logic Visualization of Ontologies and Rules. In: Morgenstern, L., Stefaneas, P., Lévy, F., Wyner, A., Paschke, A. (eds.) RuleML 2013. LNCS, vol. 8035, pp. 52–67. Springer, Heidelberg (2013) CrossRef Boley, H.: Grailog 1.0: Graph-Logic Visualization of Ontologies and Rules. In: Morgenstern, L., Stefaneas, P., Lévy, F., Wyner, A., Paschke, A. (eds.) RuleML 2013. LNCS, vol. 8035, pp. 52–67. Springer, Heidelberg (2013) CrossRef
5.
Zurück zum Zitat Athan, T., Boley, H.: The MYNG 1.01 Suite for Deliberation RuleML 1.01: Taming the Language Lattice. In: Patkos, T., Wyner, A., Giurca, A., (eds.). Proceedings of the RuleML 2014 Challenge, at the 8th International Web Rule Symposium, Prague, Czech Republic, Volume 1211 of CEUR, August 2014 Athan, T., Boley, H.: The MYNG 1.01 Suite for Deliberation RuleML 1.01: Taming the Language Lattice. In: Patkos, T., Wyner, A., Giurca, A., (eds.). Proceedings of the RuleML 2014 Challenge, at the 8th International Web Rule Symposium, Prague, Czech Republic, Volume 1211 of CEUR, August 2014
7.
Zurück zum Zitat Agarwal, S., Mohapatra, P., Genesereth, M., Boley, H.: Rule-based exploration of structured data in the browser. In: Bassiliades, N., et al. (eds.) RuleML 2015. LNCS, vol. 9202, pp. 161–175. Springer, Heidelberg (2015)CrossRef Agarwal, S., Mohapatra, P., Genesereth, M., Boley, H.: Rule-based exploration of structured data in the browser. In: Bassiliades, N., et al. (eds.) RuleML 2015. LNCS, vol. 9202, pp. 161–175. Springer, Heidelberg (2015)CrossRef
8.
Zurück zum Zitat Berners-Lee, T., Connolly, D., Kagal, L., Scharf, Y., Hendler, J.: N3Logic: a logical framework for the world wide web. Theor. Pract. Logic Program. (TPLP) 8(3), 249–269 (2008)MathSciNetCrossRefMATH Berners-Lee, T., Connolly, D., Kagal, L., Scharf, Y., Hendler, J.: N3Logic: a logical framework for the world wide web. Theor. Pract. Logic Program. (TPLP) 8(3), 249–269 (2008)MathSciNetCrossRefMATH
9.
Zurück zum Zitat Riazanov, A., Rose, G.W., Klein, A., Forster, A.J., Baker, C.J.O., Shaban-Nejad, A., Buckeridge, D.L.: Towards clinical intelligence with SADI semantic web services: a case study with hospital-acquired infections data. In: Proceedings of the 4th International Workshop on Semantic Web Applications and Tools for the Life Sciences, SWAT4LS 2011, pp. 106–113. ACM New York (2012) Riazanov, A., Rose, G.W., Klein, A., Forster, A.J., Baker, C.J.O., Shaban-Nejad, A., Buckeridge, D.L.: Towards clinical intelligence with SADI semantic web services: a case study with hospital-acquired infections data. In: Proceedings of the 4th International Workshop on Semantic Web Applications and Tools for the Life Sciences, SWAT4LS 2011, pp. 106–113. ACM New York (2012)
10.
Zurück zum Zitat Zou, G.: GeospatialRules: A Datalog+ RuleML Rulebase for Geospatial Reasoning. In: Patkos, T., Wyner, A., Giurca, A. (eds.) Challenge+DC@RuleML. Volume 1211 of CEUR Workshop Proceedings., CEUR-WS.org (2014) Zou, G.: GeospatialRules: A Datalog+ RuleML Rulebase for Geospatial Reasoning. In: Patkos, T., Wyner, A., Giurca, A. (eds.) Challenge+DC@RuleML. Volume 1211 of CEUR Workshop Proceedings., CEUR-WS.org (2014)
12.
Zurück zum Zitat Boley, H.: Integrating positional and slotted knowledge on the semantic web. J. Emerg. Technol. Web Intell. 4(2), 343–353 (2010) Boley, H.: Integrating positional and slotted knowledge on the semantic web. J. Emerg. Technol. Web Intell. 4(2), 343–353 (2010)
13.
14.
Zurück zum Zitat Ball, M., Boley, H., Hirtle, D., Mei, J., Spencer, B.: The OO jDREW reference implementation of RuleML. In: Adi, A., Stoutenburg, S., Tabet, S. (eds.) RuleML 2005. LNCS, vol. 3791, pp. 218–223. Springer, Heidelberg (2005) CrossRef Ball, M., Boley, H., Hirtle, D., Mei, J., Spencer, B.: The OO jDREW reference implementation of RuleML. In: Adi, A., Stoutenburg, S., Tabet, S. (eds.) RuleML 2005. LNCS, vol. 3791, pp. 218–223. Springer, Heidelberg (2005) CrossRef
17.
Zurück zum Zitat Das, S., Sundara, S., Cyganiak, R.: R2RML: RDB to RDF mapping language. World Wide Web Consortium, Recommendation REC-r2rml-20120927 (September 2012) Das, S., Sundara, S., Cyganiak, R.: R2RML: RDB to RDF mapping language. World Wide Web Consortium, Recommendation REC-r2rml-20120927 (September 2012)
18.
Zurück zum Zitat Yang, G., Kifer, M.: Reasoning about Anonymous Resources and Meta Statements. In: Spaccapietra, Stefano, March, Sal, Aberer, Karl (eds.) Journal on Data Semantics I. LNCS, vol. 2800, pp. 69–97. Springer, Heidelberg (2003) CrossRef Yang, G., Kifer, M.: Reasoning about Anonymous Resources and Meta Statements. In: Spaccapietra, Stefano, March, Sal, Aberer, Karl (eds.) Journal on Data Semantics I. LNCS, vol. 2800, pp. 69–97. Springer, Heidelberg (2003) CrossRef
19.
Zurück zum Zitat Zou, G., Peter-Paul, R., Boley, H., Riazanov, A.: PSOA2TPTP: a reference translator for interoperating PSOA RuleML with TPTP reasoners. In: Bikakis, A., Giurca, A. (eds.) RuleML 2012. LNCS, vol. 7438, pp. 264–279. Springer, Heidelberg (2012) CrossRef Zou, G., Peter-Paul, R., Boley, H., Riazanov, A.: PSOA2TPTP: a reference translator for interoperating PSOA RuleML with TPTP reasoners. In: Bikakis, A., Giurca, A. (eds.) RuleML 2012. LNCS, vol. 7438, pp. 264–279. Springer, Heidelberg (2012) CrossRef
20.
Zurück zum Zitat Zou, G., Boley, H.: PSOA2Prolog: object-relational rule interoperation and implementation by translation from PSOA RuleML to ISO prolog. In: Bassiliades, N., et al. (eds.) Rule Technologies: Foundations, Tools, and Applications. LNCS, vol. 9202, pp. 176–192. Springer, Heidelberg (2015)CrossRef Zou, G., Boley, H.: PSOA2Prolog: object-relational rule interoperation and implementation by translation from PSOA RuleML to ISO prolog. In: Bassiliades, N., et al. (eds.) Rule Technologies: Foundations, Tools, and Applications. LNCS, vol. 9202, pp. 176–192. Springer, Heidelberg (2015)CrossRef
21.
Zurück zum Zitat Sutcliffe, G.: The TPTP problem library and associated infrastructure. J. Autom. Reasoning 43(4), 337–362 (2009)CrossRefMATH Sutcliffe, G.: The TPTP problem library and associated infrastructure. J. Autom. Reasoning 43(4), 337–362 (2009)CrossRefMATH
22.
Zurück zum Zitat ISO/IEC 13211-1: Prolog - part 1: General core (1995) ISO/IEC 13211-1: Prolog - part 1: General core (1995)
23.
Zurück zum Zitat Al Manir, M.S., Riazanov, A., Boley, H., Baker, C.J.O.: PSOA RuleML API: a tool for processing abstract and concrete syntaxes. In: Bikakis, A., Giurca, A. (eds.) RuleML 2012. LNCS, vol. 7438, pp. 280–288. Springer, Heidelberg (2012) CrossRef Al Manir, M.S., Riazanov, A., Boley, H., Baker, C.J.O.: PSOA RuleML API: a tool for processing abstract and concrete syntaxes. In: Bikakis, A., Giurca, A. (eds.) RuleML 2012. LNCS, vol. 7438, pp. 280–288. Springer, Heidelberg (2012) CrossRef
Metadaten
Titel
PSOA RuleML: Integrated Object-Relational Data and Rules
verfasst von
Harold Boley
Copyright-Jahr
2015
DOI
https://doi.org/10.1007/978-3-319-21768-0_5