John F Sowa, is it possible to solve this task in Common Logic (CL)? Regards, Igor |
Igor and All,
I am happy to write that the report Specific tasks of Ugraphia on a specific structure(-:PUBLIC:-) is now preprinted [1].
It shows a way to formalize how we solve our tasks by applying a theory.
To solve a task manually we create a tree of subtasks until solved or obvious.
TO solve a task automatically we formalize it and give it to the interpreter to calculate a formula.
Igor,
In the framework of ugraph theory [2] we have ~20 definitions. I am not sure if all of them are expressible on OWL2+SWRL, but if one or another is, please give a formula to add to the framework. I can reserve a language tag like "owr" for OWL2+SWRL.
For example let's take this definition
Is it possible to define this d function in OWL2+SWRL?
If yes, does it mean that we probably can formalize ugraph theory in it?
I know that we can keep the structure of ugraph in OWL2.
Then we can formalize and solve tasks from [1] in it.
That would be great ⏲️
Alex
[1] -https://www.researchgate.net/publication/380576198_Specific_tasks_of_Ugraphia_on_a_particular_structure_formulations_solutions_placement_in_the_framework DOI: 10.13140/RG.2.2.34057.45927
-https://www.academia.edu/119115395/Specific_tasks_of_Ugraphia_on_a_particular_structure
[2] framework
https://www.researchgate.net/publication/374265191_Theory_framework_-_knowledge_hub_message_1
https://www.researchgate.net/publication/374233866_Karkas_teorii_-_koncentrator_znanij_soobsenie_No1
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAKP%2B7LP_z8MMr6jrFe4TM_iNhSvGjP1-Fesn%2BYK%3DpUJQb5FPmQ%40mail.gmail.com.
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/95016def13694ca28363320c6e28fc0e%40bestweb.net.
John, I will ask plainly where Igor might be too polite or timid: put up or shut up.
No one doubts your experience and publications. Can you spare a
few lines of code to show how one might express his problem in
FOL, and then process it using open-source tools to get the
desired result?
Admittedly, any such bakeoff between different technology stacks
is not going to identify a clear choice for all semantic
applications. But there are obvious and proven paths from RDF
& friends to solving Igor's simple problem and many vastly
more complex. Show us something built on FOL, DOL, CL, etc. that's
easier, faster, or more robust.
Regards,
--Paul
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/4a0ea055a51944c0ba573c99fa671ec1%40bestweb.net.
Paul,
It would be better if Igor gave us not a reference to the article but the code in OWL2+SWRL itself.
So we have a task
Let "Someone goes to a shop and buys the following items with known prised:
- a bag, 3.5$;
- a book, 0.8$;
- a pencil, 0.05$;
- a rubber eraser, 0.02$."
Create an ontology and show us how to calculate the total bill using known ontological tools.
What is the OWL2+SWRL text of ontology and what tool to use?
Here is Rhodes. Jump here 👏
Alex
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/23444dd0-3b4e-437e-9a13-a5b1a9ebb286%40sbcglobal.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxROQAOXLUSe0QjMvW8VG%2BV95LJTQ-LST5RnuKPzXRzdC7oA%40mail.gmail.com.
- a bag, 3.5$;
- a book, 0.8$;
- a pencil, 0.05$;
- a rubber eraser, 0.02$."
We need to formalize them and to say which tool to call to get a sum of prices.
And you give me the "575 lines (491 with data), 26.9 kB" text as a solution?
Just to begin, a formalization in RDF form may be like that.
KG:
bag price 33.5$.
book price 0.8$.
pencil price 0.05$.
rubber_eraser price 0.02$.
And the query like Sparql is:
Select bag.price+book.price+pencil.price+rubber_eraser.price from KG.
It gives us the value we need.
How does the same look in OWL2+SWRL?
Please code, no references.
Alex
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAKP%2B7LO95N7GhtueWPE0W0VoAq663CdvDNAxTt54pajYUSNbuw%40mail.gmail.com.
Alex wrote> We need to formalize them and to say which tool to call to get a sum of prices.
This is formalised in the ontology file list_sum.owl and I gave the reference to it.
In this email thread I also posted the normal usage scenario for such files. For convenience, I remind again:
Alex wrote> And you give me the "575 lines (491 with data), 26.9 kB" text as a solution?
This is the solution in the form of ontology file. It contains the formalisation, rules and data.
Alex wrote>
> And the query like Sparql is:
> Select bag.price+book.price+pencil.price+rubber_eraser.price from KG.
> It gives us the value we need.
It is a well known fact that the sum can be calculated in SPARQL. For the reasons I posted to this email thread earlier, it is not an interesting solution.
Alex wrote>
> How does the same look in OWL2+SWRL?
> Please code, no references.
The referenced file list_sum.owl is OWL2+SWRL code of the solution in RDF/XML format. I don't see a point for inserting this code (575 lines) directly into the email. It can be always downloaded from the reference I provided. This file, while still human-readable, is mostly for machine-processing. To view this file in a convenient way, load it to Protege. For those who don't want to install Protege, I will post this ontology in the Manchester format generated from Protege. For humans, reading and writing an OWL code in the Manchester syntax is much more convenient than doing so in RDF/XML syntax.
Regards,
Igor
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxRORxiCEwyCjPSXooQChh0HeCSBXHJv8285_qphmnLMx7QQ%40mail.gmail.com.
Hi John, Igor, Alex, and any other interested party,
This is an interesting discussion that, in my opinion, brings us back to an age-old issue with RDF, namely conflating XML and RDF. Ultimately, we leverage the fact that RDF (a data definition language) is expressible using a variety of notations and serializable using a variety of formats. That said, I don’t believe you would read official W3C specifications and arrive at the particular worldview that seems to drive many of John’s fundamental gripes with RDF and OWL.
Now that we have better tools, it’s a lot easier to demonstrate the point above.
This animated teletype session illustrates what I believe irks John (I think).
This variant replaces RDF/XML with RDF-Turtle across the board (it could also have been JSON-LD if requested).
This variant drops OWL2 for comparative consistency, since the challenge boils down to declarative rules definitions handled by relevant language processors.
I hope this helps demonstrate the “horses for courses” nature of these matters, and that RDF isn’t RDF-XML—above all else :)
-- Regards, Kingsley Idehen Founder & CEO OpenLink Software Home Page: http://www.openlinksw.com Community Support: https://community.openlinksw.com Weblogs (Blogs): Company Blog: https://medium.com/openlink-software-blog Virtuoso Blog: https://medium.com/virtuoso-blog Data Access Drivers Blog: https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers Personal Weblogs (Blogs): Medium Blog: https://medium.com/@kidehen Legacy Blogs: http://www.openlinksw.com/blog/~kidehen/ http://kidehen.blogspot.com Profile Pages: Pinterest: https://www.pinterest.com/kidehen/ Quora: https://www.quora.com/profile/Kingsley-Uyi-Idehen Twitter: https://twitter.com/kidehen Google+: https://plus.google.com/+KingsleyIdehen/about LinkedIn: http://www.linkedin.com/in/kidehen Web Identities (WebID): Personal: http://kingsley.idehen.net/public_home/kidehen/profile.ttl#i : http://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl#this
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/e566052a-ec52-4ad3-91fd-1dec655a3b4b%40openlinksw.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAKP%2B7LO1Wp8ygjJ6n4uaOOMc-m_EDDT9vUNDXxF%3Dan-Ko3J30g%40mail.gmail.com.
On 5/20/24 9:04 AM, 'Igor Toujilov' via ontolog-forum wrote:
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/e566052a-ec52-4ad3-91fd-1dec655a3b4b%40openlinksw.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxROT%2BHDBWwdzFnarvepEXp%3DspAg%3DYBZeiP9892RzCv5%2B7mA%40mail.gmail.com.
Hi Kinglsey,
The question #1 is how to stop these chats? They are just typing and typing and resuming throws me out.More later.
Alex
Alex,
Just drop the &t parameter in the URL, and refresh :)
Just goto: https://linkeddata.uriburner.com/chat/?chat_id=s-3gPHEdAD7jxtdmBi2Fhy3ptX3RReEn6jGQUBPtvD3kKq#usr-fzbr9iaiqfs rather than https://linkeddata.uriburner.com/chat/?chat_id=s-3gPHEdAD7jxtdmBi2Fhy3ptX3RReEn6jGQUBPtvD3kKq&t=60#usr-fzbr9iaiqfs.
Here’s the conclusion at the end of the page.
The table below compares each approach based on the uniform scenario:
Aspect | RDF-Turtle + SPARQL | Prolog | Datalog | OWL2 + SWRL |
---|---|---|---|---|
Ease of Use | Moderate; requires understanding of RDF and SPARQL | Easy; straightforward logic programming | Easy; straightforward logic programming | Moderate; requires understanding of OWL and SWRL |
Data Representation | Graph-based, semantic web standards | Logic-based, lists and facts | Logic-based, facts | Graph-based, semantic web standards |
Query Language | SPARQL, powerful for querying RDF data | Prolog rules, powerful for logical queries | Datalog rules, similar to Prolog | OWL for structure, SWRL for rules |
Expressiveness | High, supports complex queries and reasoning | High, supports complex logic and recursion | High, supports complex logic and recursion | High, supports complex rules and reasoning |
Interoperability | High, widely used in semantic web technologies | Low, specific to Prolog environments | Low, specific to Datalog environments | High, integrates with OWL and RDF |
Tool Support | Good, many tools support RDF and SPARQL | Good, several Prolog interpreters available | Moderate, fewer Datalog interpreters | Good, supported by OWL reasoners |
Performance | Depends on the RDF store and SPARQL engine | Generally efficient for logic-based queries | Generally efficient for logic-based queries | Depends on the OWL reasoner |
Dynamic Calculation | Achieved via SPARQL query | Achieved via Prolog rules | Achieved via Datalog rules | Limited; SWRL lacks native aggregation |
Namespace Handling | Explicitly defined using prefixes | Not applicable | Not applicable | Explicitly defined using prefixes |
Each approach has its strengths and is suitable for different use cases depending on the requirements for expressiveness, interoperability, and tool support. The RDF-Turtle + SPARQL and OWL2 + SWRL approaches are particularly strong in environments that require integration with other semantic web technologies. Prolog and Datalog offer straightforward implementations for logic programming tasks but lack the semantic web integration. SWRL, while powerful for rule expression, lacks support for aggregation, which is crucial for tasks like calculating totals.
Kingsley
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxROT%2BHDBWwdzFnarvepEXp%3DspAg%3DYBZeiP9892RzCv5%2B7mA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxRORswk75Z3rQ7EBqkrTFAw05pcWvRw%3DJ5UbNZCySgMhiDw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAKP%2B7LNSrG%3DHNC6jGJ0Rg43%3D8hyumKsd5pRsVDw0C5Nai5N2eg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/bb2ed75c-b19b-4f1b-9f4a-0a27ff8faeb6%40openlinksw.com.
@prefix : <(link unavailable)#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix swrl: <http://www.w3.org/2003/11/swrl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
:Bag a owl:Class ;
rdfs:label "Bag" ;
:price 3.5 .
:Book a owl:Class ;
rdfs:label "Book" ;
:price 0.8 .
:Pencil a owl:Class ;
rdfs:label "Pencil" ;
:price 0.05 .
:RubberEraser a owl:Class ;
rdfs:label "Rubber Eraser" ;
:price 0.02 .
:Price a owl:DatatypeProperty ;
rdfs:label "Price" ;
rdfs:range xsd:decimal .
:TotalBill a owl:Class ;
rdfs:label "Total Bill" ;
:hasPrice :Price .
:hasItem a owl:ObjectProperty ;
rdfs:label "Has Item" ;
rdfs:domain :TotalBill ;
rdfs:range owl:Thing .
:totalPrice a owl:DatatypeProperty ;
rdfs:label "Total Price" ;
rdfs:range xsd:decimal .
### SWRL Rules
:TotalBillRule a swrl:Imp ;
swrl:body (
?bill a :TotalBill .
?bill :hasItem ?item .
?item :price ?price .
) ;
swrl:head (
?bill :totalPrice ?total .
swrl:builtIn (swrl:add(?total, ?price))
) .
### OWL2 Axioms
:TotalBill owl:equivalentClass (
[ a owl:Class ;
owl:intersectionOf (:Bag :Book :Pencil :RubberEraser)
]
) .
:TotalBill owl:disjointWith (:Bag :Book :Pencil :RubberEraser) .
TotalBill
by summing up the prices of all items.TotalBill
as the intersection of all items (i.e., a TotalBill
must have at least one of each item) and to specify that TotalBill
is disjoint with each item (i.e., a TotalBill
cannot be an instance of any individual item).cl:ontology (
cl:definition (
:Bag cl:type cl:Entity
:Book cl:type cl:Entity
:Pencil cl:type cl:Entity
:RubberEraser cl:type cl:Entity
:TotalBill cl:type cl:Entity
)
cl:relation (
:hasItem cl:arguments (:TotalBill :Entity)
:price cl:arguments (:Entity xsd:decimal)
)
cl:rule (
cl:forall (?bill :TotalBill
cl:=> (cl:and (cl:exists (?item :hasItem ?bill)
(?item :price ?price))
(cl:not (cl:exists (?item2 :hasItem ?bill)
(cl:not (cl:eq (?item, ?item2))))))
(?bill :totalPrice (cl:sum ?price)))
)
cl:rule (
cl:forall (?bill :TotalBill
cl:=> (cl:not (cl:exists (?item :hasItem ?bill)))
(?bill :totalPrice 0))
)
cl:rule (
cl:forall (?item :Entity
cl:=> (?item :price ?price)
(cl:>= ?price 0))
)
cl:fact (
:Bag :price 3.5
)
cl:fact (
:Book :price 0.8
)
cl:fact (
:Pencil :price 0.05
)
cl:fact (
:RubberEraser :price 0.02
)
)
cl:fact
statements that specify the prices for each item. The cl:fact
statements assert that the price of a Bag
is 3.5, the price of a Book
is 0.8, the price of a Pencil
is 0.05, and the price of a RubberEraser
is 0.02.TotalBill
based on the items it contains.Hi Alex,
dropping works well.And why cannot I register?
We need to fix the NASCAR multi-protocol authentication widget such the the designated Identity Provider for that instance is clearer i.e., surface the button that you need to click on for registration, if you don't want to create a new account rather than using what you already have the likes of Apple, Google, Microsoft etc..
I have this fixed.
Kingsley
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxROQ%3DMPnCf1uVux3x0_f%2BeGp%3DJFUidstugyap1rsxFSWSWg%40mail.gmail.com.
Hi Alex,
Note the following, based on a CoPilot interaction.
The SPARQL CONSTRUCT equivalent of the given SWRL rule would look something like this:
CONSTRUCT { ?bill :totalPrice ?total . } WHERE { ?bill a :TotalBill . ?bill :hasItem ?item . ?item :price ?price . BIND (?price AS ?total) }
Please note that SPARQL doesn’t support arithmetic operations directly in the CONSTRUCT clause. The swrl:add(?total, ?price) operation from the SWRL rule can’t be translated directly into SPARQL. In the SPARQL query above, I’ve used the BIND operation to assign the value of ?price to ?total. If you need to perform arithmetic operations, you might need to handle it in your application logic after retrieving the data with SPARQL.
Also, remember that SPARQL CONSTRUCT allows you to create a new RDF graph, so the resulting ?total will not update the original graph. If you want to update the original graph, you might need to use SPARQL UPDATE instead.
Please consult with a Semantic Web expert or conduct further research to determine the best method for your specific needs and circumstances.
My follow-on interaction with CoPilot produced.
You’re correct! My apologies for the oversight. We can indeed use a SELECT subquery in the WHERE clause to perform the addition operation. Here’s the corrected SPARQL CONSTRUCT query:
CONSTRUCT { ?bill :totalPrice ?total . } WHERE { { SELECT ?bill (SUM(?price) AS ?total) WHERE { ?bill a :TotalBill . ?bill :hasItem ?item . ?item :price ?price . } GROUP BY ?bill } }
In this query, the SELECT subquery is used to calculate the total price for each bill by summing up the prices of its items. The result is then used in the CONSTRUCT clause to create the new triples. Thank you for pointing out the correct approach! 😊
Conclusion:
SPARQL is a very powerful dynamic rules language too. Which actually use that as the basis for Custom Reasoning & Inference in our Virtuoso Platform.
Kingsley
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxROSdUeb_a3EhkcwEzR%2Bz%2B3w-yA_NFfLO_uXbf3N7zrOxQg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxROTkhz2GHWwZMJeoFQGyb4H1mn4j66Dr7nEjY8dBM%3DugTA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/87b83687-860c-429e-96f9-537ce9bbb7cd%40openlinksw.com.
Igor,
For me, this construction, when an intermediate sum is assigned to each member of the set, looks like a trick, although ingenious, it does not seem practical.
In theory, it would be necessary to reformulate the problem when, as is customary in DB languages, there are computable fields.
You raised a very important topic: how fields storing calculations are formalized in modern formal ontologies.
And here I need to think about how to discuss this.
As for SWRL+Pellet, this of course needs to be studied: an inference engine that can do calculations is very interesting!
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAKP%2B7LOsNfCn%3Du72XTYA90JG302YJjtbpMKHTrG4%2Brn9z%3DEWdg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxROQHc__uZ14GhVMxbmwg9HD64t4TO-WCtN3X27Gn2ajbPQ%40mail.gmail.com.
On May 22, 2024, at 09:13, 'Igor Toujilov' via ontolog-forum <ontolo...@googlegroups.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAKP%2B7LOieQkh2odD4FxTtMtGNjvj-e0-jcnjDWTjFj4KqXOw_Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/d371de5b-ad34-40d5-ad45-ad7bca83f6e0n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/6B37C851-4A9C-49C7-88C9-631153BCD1CB%40sbcglobal.net.
Paul,The initial goal of this email thread was to discuss how to make automatic (arithmetic) calculations in a logical reasoner on an ontology with the results of those calculations to go (automatically) as inputs for other (automatic) calculations and (automatically) repeat the calculation cycle recursively.
That was not clear to me from your original problem statement—you just asked for a sum total of a purchase order. But I see your proposed solution used a more general iterative approach, which would be applicable to other use cases. In RIF-PRD[1](production rules) there might be some examples more similar to yours.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAKP%2B7LMdJuVbb_q7hTq-_61SD%2B6iMVBZ%2BovtqqoFYhbsTovbYA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/62FA8994-B913-4A74-A631-3D916F401786%40sbcglobal.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/62FA8994-B913-4A74-A631-3D916F401786%40sbcglobal.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFxxROT%2B7F4SFXTUSQuhsS%3D8%3D_2G2CRO2nbrr9hTNH4TdNdz_g%40mail.gmail.com.
Hi John,
Igor,
One simple addition to my response to Alex (copy below) would satisfy all the requirements by all those people:
Igor: Some years ago many people in the Protege mail-list asked how to incorporate arithmetic and other aggregative calculations in ontologies.
The answer is simple: First-order logic supports functions as well as predicates. Just take the solution that I recommended to Alex in my note below. In any position where FOL is permitted, just use an FOL statement that includes a function. That function could be anything specified in any programming language (even FORTRAN or C).
Please note that Wolfram supports full FOL. They also support the option of translating any function or predicate specified in the Wolfram notation to FORTRAN or C. They supported that option in the 1990s.
This is just one of many reasons why the decidability gang destroyed the power of the design that Tim B-L intended for the Semantic Web. If they had just allowed pure FOL, all these features would have been available in 2005.
The implementation is trivial. Just take any software that supports OWL, keep the hierarchy, throw out Turtle, and replace it with FOL. And Voila! You have an immense improvement in power, generality, and performance.
I was following along until you mentioned RDF-Turtle, which is
simply a notation and data serialization format. I don't know how
that has anything to do with FOL.
RDF is based on FOL, always has been. RDF is notation and
serialization format agnostic. The snafu years back was conflating
RDF and RDF-XML (yet another notation and serialization format
combo).
My earlier examples in this thread support my statement above.
Moreover, OWL itself is just a worldview (schema or vocabulary or
ontology) that can be used to constrain interaction with
structured data constructed using any of the various RDF notations
for serialization using any of its associated formats.
Here's a dump from https://linkeddata.uriburner.com/chat/?chat_id=s-7h62WuqY82YGK5iUR3viD4eC4Zkw1pvXN95v6Cf61HBx#asi-8211
.
Scenario: A shopping cart contains four items: a bag, a book, a pencil, and a rubber eraser. The task is to calculate the total cost of items in the shopping cart.
Data format:@prefix schema: <http://schema.org/> .
@prefix ex: <https://groups.google.com/g/ontolog-forum/c/4gbCSTNsuFQ/m/l1LxfOcWAQAJ#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ex:Bag a schema:Product ;
schema:name "Bag" ;
schema:price "3.5"^^xsd:decimal .
ex:Book a schema:Product ;
schema:name "Book" ;
schema:price "0.8"^^xsd:decimal .
ex:Pencil a schema:Product ;
schema:name "Pencil" ;
schema:price "0.05"^^xsd:decimal .
ex:Eraser a schema:Product ;
schema:name "Rubber Eraser" ;
schema:price "0.02"^^xsd:decimal .
ex:ShoppingCart a schema:ItemList ;
schema:itemListElement ex:Bag, ex:Book, ex:Pencil, ex:Eraser .
SPARQL Query:
Data format:PREFIX schema: <http://schema.org/>
PREFIX ex: <https://groups.google.com/g/ontolog-forum/c/4gbCSTNsuFQ/m/l1LxfOcWAQAJ#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT (SUM(xsd:decimal(?price)) AS ?totalBill)
WHERE {
ex:ShoppingCart schema:itemListElement ?item .
?item schema:price ?price .
}
Data format:item(bag, 3.5).
item(book, 0.8).
item(pencil, 0.05).
item(eraser, 0.02).
shopping_cart([bag, book, pencil, eraser]).
total_bill(Total) :-
shopping_cart(Items),
findall(Price, (member(Item, Items), item(Item, Price)), Prices),
sum_list(Prices, Total).
sum_list([], 0).
sum_list([H|T], Sum) :-
sum_list(T, Rest),
Sum is H + Rest.
Data format:item(bag, 3.5).
item(book, 0.8).
item(pencil, 0.05).
item(eraser, 0.02).
shopping_cart(bag).
shopping_cart(book).
shopping_cart(pencil).
shopping_cart(eraser).
total_bill(Total) :-
findall(Price, (shopping_cart(Item), item(Item, Price)), Prices),
sum_list(Prices, Total).
sum_list([], 0).
sum_list([H|T], Sum) :-
sum_list(T, Rest),
Sum is H + Rest.
Data format:@prefix swrl: <http://www.w3.org/2003/11/swrl#> .
@prefix swrlb: <http://www.w3.org/2003/11/swrlb#> .
@prefix schema: <http://schema.org/> .
@prefix ex: <https://groups.google.com/g/ontolog-forum/c/4gbCSTNsuFQ/m/l1LxfOcWAQAJ#> .
# Rules to associate items with their prices
[ a swrl:Imp ;
swrl:body (
[ a swrl:IndividualPropertyAtom ;
swrl:propertyPredicate schema:itemListElement ;
swrl:argument1 ex:ShoppingCart ;
swrl:argument2 ?item ]
) ;
swrl:head (
[ a swrl:IndividualPropertyAtom ;
swrl:propertyPredicate schema:price ;
swrl:argument1 ?item ;
swrl:argument2 ?price ]
)
].
The table below compares each approach based on the uniform scenario:
Aspect | RDF-Turtle + SPARQL | Prolog | Datalog |
---|
SWRL |
---|
Ease of Use | Moderate; requires understanding of RDF and SPARQL | Easy; straightforward logic programming | Easy; straightforward logic programming |
Moderate; requires understanding of SWRL and RDF |
Data Representation | Graph-based, semantic web standards | Logic-based, lists and facts | Logic-based, facts | Graph-based, semantic web standards |
Query Language | SPARQL, powerful for querying RDF data | Prolog rules, powerful for logical queries | Datalog rules, similar to Prolog |
SWRL, integrates rules with RDF |
Each approach has its strengths and is suitable for different use cases depending on the requirements for expressiveness, interoperability, and tool support. The RDF-Turtle + SPARQL and SWRL approaches are particularly strong in environments that require integration with other semantic web technologies. Prolog and Datalog offer straightforward implementations for logic programming tasks but lack the semantic web integration. SWRL, while powerful for rule expression, lacks support for aggregation, which is crucial for tasks like calculating totals.
There is a simple task. Someone goes to a shop and buys the following items with known prised:
- a bag, 3.5$;- a book, 0.8$;- a pencil, 0.05$;- a rubber eraser, 0.02$.
Can you create an ontology which can calculate the total bill using known ontological tools? Please no programming languages.I can do this purely in OWL2+SWRL. This is described in the article [1].
John F Sowa, is it possible to solve this task in Common Logic (CL)?
Regards,
Igor 1. https://sourceforge.net/p/meloproject/code/ci/master/tree/Native_Aggregation_in_OWL2_and_SWRL.pdf
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAPE7sbyy7fSs9fhq5RvyG2%3DhWYuCTGp7%3DYQVSe7wvZgr6Q5rcw%40mail.gmail.com.
Igor,
I agree that the topic is very interesting and important.
Alex
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAKP%2B7LN4EdperT0oqVQLOTmeu%3D4qi2rWu4AY1sKtGwcwjOVEdw%40mail.gmail.com.
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/a44d427a-c0a9-4c01-a360-642d2994c470n%40googlegroups.com.
Hi Kingsley,
Applause again for being a voice of practical examples and reasoned education.
Hi John,
Please refrain from your incessant put-downs and dismissals of W3C semantic standards. No one is forcing you, or anyone else, to use it. I think the constant denigration speaks more to you than the standards.
It seems to me that all of us share a common desire to bring logical and semantically-responsive technologies to address real-world problems. The contexts and imperatives of these problems both derive from their nature and the communities they affect. Who is to say one sucks but one is the answer, when those and many others may be employed? John, you too often violate in my opinion Peirce's admonition to not block the way to inquiry.
Hi All,
I would love to see more discourse with actual problems and responses to same from various aspects of the community, as much of this thread has admirable exhibited. Thank you; for the most part this has been a helpful thread. Let's pull together on the oars, rather than arguing what ends up being parochial minutiae.
Best, Mike
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/f54ae06a-66b7-43de-8ec7-c82d4fad34fa%40openlinksw.com.
-- __________________________________________ Michael K. Bergman 319.621.5225 http://mkbergman.com http://www.linkedin.com/in/mkbergman __________________________________________
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/1f5be114-577e-428c-989c-d590f2b41eeb%40mkbergman.com.
I have not used Mathematica as it is a subscription?
You received this message because you are subscribed to a topic in the Google Groups "ontolog-forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ontolog-forum/4gbCSTNsuFQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAAN3-5eeRW0Ev1vE5WRCy99SiigbhauHSUPFFp8ERDCgj9vg5w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CALGFikf4TDiVLCAqZ3Po55Q6CdCyk88ArEP6KrngG9FyggD7qw%40mail.gmail.com.
I believe Octave is more like Matlab
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/CAFfrAFoaKpX7%3Dwt_VV0Zgkz%2B%3DchM5_vNLYmGXpf1FA%2Bp_mZs-w%40mail.gmail.com.
Hi John,
Kingsley,
I have no objections to RDF, and I have no objections to using the triple format (x R y) in any software. I worked on the committee that defined the ISO standard for Common Logic, and we designed it to accept RDF formats (as well as a broad range of other formats).
I believe it’s important to separate RDF as a data definition language from its various notations and data serialization formats. This conflation dates back to the early days of RDF and RDF/XML, and unfortunately, it has persisted. For instance, the official Semantic Web Layer Cake still includes RDF/XML as the interchange layer, despite years of protestation from myself and many others. That said, we should be able to look beyond the specification management snafus to a reality where RDF isn’t bound to any specific notation or serialization format.
Various Official Semantic Web Layer Cakes
My Semantic Web Layer Cake Revision from this blog post
Kingsley: I was following along until you mentioned RDF-Turtle, which is simply a notation and data serialization format. I don't know how that has anything to do with FOL.
I don't object to RDF or the kinds of applications that use OWL. My objection is about the OWL constraint language (in any notation, such as Turtle or the more primitive version) is that it does not support full FOL. My recommendation for OWL3 is to support full FOL for the constraint language. That would be a superset of Turtle (and other notations).
I think it’s important to decouple RDF as a basic data definition language from vocabularies, schemas, and ontologies such as RDF Schema (RDFS) and the OWL Ontology Language (OWL). As you know, these distinctions are very important.
Therefore, all applications that use OWL2 could continue to run indefinitely. But new applications could mix old OWL2 applications with a version of OWL3 that supports full FOL for the constraint language.
I doubt anyone has a problem with that viewpoint.
As a replacement for Turtle, I recommend a highly readable and writable version of Controlled English (and/or other NLs).
Why does anything need to be replaced? The beauty of RDF and the Architecture of the World Wide Web (AWWW) is that they aim for loose coupling, i.e., “horses for courses” compliant. Basically, everyone can use whatever works best for them rather than having preferences force-fed to anyone.
Short summary: a notation that supports the following logic words in a subset of English syntax: and, or, not, if-then, some, every. As an example, the ACE software would support that option, and it's freely available. It could be used to translate English-like statements to internal OWL3 formats.
As you know, the pursuit of single globally accepted notation for anything is always problematic. We already have a variety of options that ultimately leverage FOL as the underlying conceptual schema.
Reason for OWL3: Controlled English for full FOL is simpler, easier to read, easier to write, more expressive, and more efficient for 99.99% of all applications of OWL2.
Sure, but who’s waiting for this? Or, put differently, what innovations are currently being held up by this issue? Controlled English has its own lane while OWL has its own. If you look at recent LLM-based natural language processor innovations, the end product look very much like a celebration of Controlled English.
The logicians who designed OWL mistakenly believed that decidability was important. However, undecidable statements in FOL are so complex that only a professional logician would know how to write one.
That’s fine, but what current solutions out in the wild are stifled by the decidability branch of OWL? I only see this as marginally important to those that are trying to develop a 100% compliant OWL processor, for whatever reason.
Cyc, for example, supports a superset of FOL, and in the past 40 years nobody has ever written an application that failed because of an undecidable statement.
Yes, I totally agree. I only start getting confused when this gets conflated with the following:
The notion of a Semantic Web — an entity relationship graph constructed from hyperlinks that comprise machine-computable entity relationship type semantics.
RDF — a data definition language for entity relationship types that can be used to construct a Semantic Web, courtesy of Linked Data principles.
OWL — one of many ontologies that can be used to apply constraints to structured data constructed using RDF.
Many people have made mistakes that caused applications to fail. But nobody has ever found a failure that was caused by an undecidable statement.
True, but that shouldn’t be conflated with the items above (including the use of terms from the OWL ontology for bits of reasoning and inference).
Kingsley
John
From: "Kingsley Idehen' via ontolog-forum" <ontolo...@googlegroups.com>
Hi John,
On 5/23/24 6:57 PM, John F Sowa wrote:Igor,
One simple addition to my response to Alex (copy below) would satisfy all the requirements by all those people:
Igor: Some years ago many people in the Protege mail-list asked how to incorporate arithmetic and other aggregative calculations in ontologies.
The answer is simple: First-order logic supports functions as well as predicates. Just take the solution that I recommended to Alex in my note below. In any position where FOL is permitted, just use an FOL statement that includes a function. That function could be anything specified in any programming language (even FORTRAN or C).
Please note that Wolfram supports full FOL. They also support the option of translating any function or predicate specified in the Wolfram notation to FORTRAN or C. They supported that option in the 1990s.
This is just one of many reasons why the decidability gang destroyed the power of the design that Tim B-L intended for the Semantic Web. If they had just allowed pure FOL, all these features would have been available in 2005.
The implementation is trivial. Just take any software that supports OWL, keep the hierarchy, throw out Turtle, and replace it with FOL. And Voila! You have an immense improvement in power, generality, and performance.I was following along until you mentioned RDF-Turtle, which is simply a notation and data serialization format. I don't know how that has anything to do with FOL.
RDF is based on FOL, always has been. RDF is notation and serialization format agnostic. The snafu years back was conflating RDF and RDF-XML (yet another notation and serialization format combo).
My earlier examples in this thread support my statement above. Moreover, OWL itself is just a worldview (schema or vocabulary or ontology) that can be used to constrain interaction with structured data constructed using any of the various RDF notations for serialization using any of its associated formats.
Here's a dump from https://linkeddata.uriburner.com/chat/?chat_id=s-7h62WuqY82YGK5iUR3viD4eC4Zkw1pvXN95v6Cf61HBx#asi-8211 .
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/4dc5c549cdc548d19a000502c3df6c72%40bestweb.net.
John: thanks for the good explanation and your reasoned assessment of the W3C semantic stack.
Kingsley: I agree with your points except regarding RDF/XML.
Anyone who still is stuck on this needs to read the RDF/XML spec
and understand the design principles and limitations, and then
move on to other serializations that suit their needs and
toolchains. I would advise against adopting any RDF toolchain that
did not at least read RDF/XML, and preferably also write it,
mainly to support integration with XML toolchain including XSLT,
xquery, xproc, etc, enabling full integration of XML document
corpuses with RDF datasets. For a baseline example, a few dozen
lines of XSLT will transform any xml document into its infoset RDF
representation (in RDF/XML conveniently, slightly less so in
another notation). Marry that up to other domain semantic data
sources, and you have with very little effort created a linked
data pool far more valuable than either the XML or the RDF by
itself. From there, the sky's the limit for expanding and
exploiting your linked data. (Not to say there aren't other ways
to do this, but none so easy using ready-to-hand tools and
existing data sources.)
Regards,
--Paul
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/98bfe40c-cf98-4755-ae61-bca14fea913f%40openlinksw.com.
Hi Paul,
John: thanks for the good explanation and your reasoned assessment of the W3C semantic stack.
Kingsley: I agree with your points except regarding RDF/XML. Anyone who still is stuck on this needs to read the RDF/XML spec and understand the design principles and limitations, and then move on to other serializations that suit their needs and toolchains.
Yes, but my point is that W3C spec publication issues have left
confusing items in the public view that continue to either confuse
people or reinforce long discarded confusion.
I would advise against adopting any RDF toolchain that did not at least read RDF/XML, and preferably also write it, mainly to support integration with XML toolchain including XSLT, xquery, xproc, etc, enabling full integration of XML document corpuses with RDF datasets.
Sorta.
Our Virtuoso platform still makes extensive use of RDF/XML, right
now, but completely outside the user's view.
For a baseline example, a few dozen lines of XSLT will transform any xml document into its infoset RDF representation (in RDF/XML conveniently, slightly less so in another notation). Marry that up to other domain semantic data sources, and you have with very little effort created a linked data pool far more valuable than either the XML or the RDF by itself. From there, the sky's the limit for expanding and exploiting your linked data. (Not to say there aren't other ways to do this, but none so easy using ready-to-hand tools and existing data sources.)
Yes, but that isn't the front-door of RDF i.e., its an
implementation detail.
I generally discourage narratives that lead to the misconception
that XML is a mandatory requirement regarding RDF :)
Kingsley
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/6f4de8df-2bb4-496f-b842-b6fb25044124%40sbcglobal.net.
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/59e1776bf3da4ad68b41a50118ed080e%40bestweb.net.
Hi Paul,
In a genuinely objective realm, absolutely!
The problem right now is that RDF is an important piece of a bigger puzzle (giant global entity relationship graph constructed from hyperlinks) shrouded in confusion. Part of the confusion arises from its initial conflation with RDF/XML, alongside messaging that positioned it as an ‘interchange format’ or ‘data model’ rather than a data definition (or description) language that’s loosely coupled with a variety of notations, syntaxes, and data serialization formats.
Despite issues with the specs’ maintenance, XML and RDF have been decoupled.
Today, if you search for “What is RDF?” you will find that it is still described in confusing terms – more often than not.
Examples:
Perplexity.ai’s description.
You.com’s description.
Google Gemini’s description – the best one of the lot, IMHO.
Kingsley,
Hi Paul,
On 6/1/24 11:21 AM, Paul Tyson wrote:
Kingsley and all,
On 5/31/24 14:02, 'Kingsley Idehen' via ontolog-forum wrote:
Hi Paul,
On 5/30/24 6:09 PM, Paul Tyson wrote:
John: thanks for the good explanation and your reasoned assessment of the W3C semantic stack.
Kingsley: I agree with your points except regarding RDF/XML. Anyone who still is stuck on this needs to read the RDF/XML spec and understand the design principles and limitations, and then move on to other serializations that suit their needs and toolchains.
Yes, but my point is that W3C spec publication issues have left confusing items in the public view that continue to either confuse people or reinforce long discarded confusion.
I would advise against adopting any RDF toolchain that did not at least read RDF/XML, and preferably also write it, mainly to support integration with XML toolchain including XSLT, xquery, xproc, etc, enabling full integration of XML document corpuses with RDF datasets.
Sorta.
Our Virtuoso platform still makes extensive use of RDF/XML, right now, but completely outside the user's view.
For a baseline example, a few dozen lines of XSLT will transform any xml document into its infoset RDF representation (in RDF/XML conveniently, slightly less so in another notation). Marry that up to other domain semantic data sources, and you have with very little effort created a linked data pool far more valuable than either the XML or the RDF by itself. From there, the sky's the limit for expanding and exploiting your linked data. (Not to say there aren't other ways to do this, but none so easy using ready-to-hand tools and existing data sources.)
Yes, but that isn't the front-door of RDF i.e., its an implementation detail.
I generally discourage narratives that lead to the misconception that XML is a mandatory requirement regarding RDF :)
How about encouraging narratives that emphasize the complementary power of RDF and XML together for building amazing information delivery systems? RDF/XML, OWL/XML, RIF/XML, RuleML, XCL (common logic XML), non-RDF XML in standard or proprietary schemas--I say bring it on! The information delivery practitioner who shuns either RDF or XML is doing more work for lesser results.
--Paul
In a genuinely objective realm, absolutely!
The problem right now is that RDF is an important piece of a bigger puzzle (giant global entity relationship graph constructed from hyperlinks) shrouded in confusion. Part of the confusion arises from its initial conflation with RDF/XML, alongside messaging that positioned it as an ‘interchange format’ or ‘data model’ rather than a data definition (or description) language that’s loosely coupled with a variety of notations, syntaxes, and data serialization formats.
Can we agree that, no matter one's RDF competence, RDF/XML is avoidable in most cases, useful in some?
And I submit that nothing is left uncovered in the GGERG by the union of RDF and XML. Nor, (considering the corporate bottom line), is the GEERG (giant enterprise entity relationship graph) left wanting anything.
Regards,
--Paul
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/234c7306-5124-47f6-93ba-433ba9aa88b8%40openlinksw.com.
Hi Paul,
Kingsley,
On 6/1/24 12:52, 'Kingsley Idehen' via ontolog-forum wrote:
Hi Paul,
On 6/1/24 11:21 AM, Paul Tyson wrote:
Kingsley and all,
On 5/31/24 14:02, 'Kingsley Idehen' via ontolog-forum wrote:
Hi Paul,
On 5/30/24 6:09 PM, Paul Tyson wrote:
John: thanks for the good explanation and your reasoned assessment of the W3C semantic stack.
Kingsley: I agree with your points except regarding RDF/XML. Anyone who still is stuck on this needs to read the RDF/XML spec and understand the design principles and limitations, and then move on to other serializations that suit their needs and toolchains.
Yes, but my point is that W3C spec publication issues have left confusing items in the public view that continue to either confuse people or reinforce long discarded confusion.
I would advise against adopting any RDF toolchain that did not at least read RDF/XML, and preferably also write it, mainly to support integration with XML toolchain including XSLT, xquery, xproc, etc, enabling full integration of XML document corpuses with RDF datasets.
Sorta.
Our Virtuoso platform still makes extensive use of RDF/XML, right now, but completely outside the user's view.
For a baseline example, a few dozen lines of XSLT will transform any xml document into its infoset RDF representation (in RDF/XML conveniently, slightly less so in another notation). Marry that up to other domain semantic data sources, and you have with very little effort created a linked data pool far more valuable than either the XML or the RDF by itself. From there, the sky's the limit for expanding and exploiting your linked data. (Not to say there aren't other ways to do this, but none so easy using ready-to-hand tools and existing data sources.)
Yes, but that isn't the front-door of RDF i.e., its an implementation detail.
I generally discourage narratives that lead to the misconception that XML is a mandatory requirement regarding RDF :)
How about encouraging narratives that emphasize the complementary power of RDF and XML together for building amazing information delivery systems? RDF/XML, OWL/XML, RIF/XML, RuleML, XCL (common logic XML), non-RDF XML in standard or proprietary schemas--I say bring it on! The information delivery practitioner who shuns either RDF or XML is doing more work for lesser results.
--Paul
In a genuinely objective realm, absolutely!
The problem right now is that RDF is an important piece of a bigger puzzle (giant global entity relationship graph constructed from hyperlinks) shrouded in confusion. Part of the confusion arises from its initial conflation with RDF/XML, alongside messaging that positioned it as an ‘interchange format’ or ‘data model’ rather than a data definition (or description) language that’s loosely coupled with a variety of notations, syntaxes, and data serialization formats.
Can we agree that, no matter one's RDF competence, RDF/XML is avoidable in most cases, useful in some?
I don't see avoidance as an issue. It just isn't a mandatory part
of what RDF is, fundamentally. Naturally, where appropriate, it
does provide utility as a notation, syntax, or serialization
format.
And I submit that nothing is left uncovered in the GGERG by the union of RDF and XML. Nor, (considering the corporate bottom line), is the GEERG (giant enterprise entity relationship graph) left wanting anything.
Yes, but in situations where XML is relevant.
Kingsley
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/028234f8-efca-463f-abe1-9cc2c2087f2c%40sbcglobal.net.
Best,
--Paul
For example?
Kingsley,
I had begun to suspect you and I operate in different problem domains, and if your problems can all be solved with RDF only, that's fine.
A giant open-source example of merging RDF with a document corpus
is Wikidata and Wikipedia (which uses markdown, an easier and less
rigorous markup format, instead of XML).
For over 2 decades I have worked on information delivery solutions that merge XML corpuses with RDF datasets representing ontologies, taxonomies, metadata, and hyperlinks to create robust hypermedia applications. I've done quite a bit of work in the Product Lifecycle Management (PLM) domain, which involves the design, documentation, testing, certification, manufacturing, and maintenance of complex products--such as aircraft, ships, mining equipment, medical devices, and electronic products.
Regards,
--Paul
I don't operate in any kind of domain where problem are solved
solely by a data definition language such as RDF.
A giant open-source example of merging RDF with a document corpus is Wikidata and Wikipedia (which uses markdown, an easier and less rigorous markup format, instead of XML).
For over 2 decades I have worked on information delivery solutions that merge XML corpuses with RDF datasets representing ontologies, taxonomies, metadata, and hyperlinks to create robust hypermedia applications. I've done quite a bit of work in the Product Lifecycle Management (PLM) domain, which involves the design, documentation, testing, certification, manufacturing, and maintenance of complex products--such as aircraft, ships, mining equipment, medical devices, and electronic products.
For some 20 years+ I've overseen the design and development of a
platform that leverages XML and XSLT as core components of its
data transformation layer. That platform also sits at the core of
the massive Linked Open Data (LOD) cloud which even comprises a
variant of Wikidata hosted on said platform.
We seem to be veering away from my fundamental argument that RDF
and XML are two separate things that don't need to be conflated.
Kingsley
Regards,
--Paul
--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the forum, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontolog-forum/f4628d48-f185-424b-941f-66844c505b1e%40sbcglobal.net.