<div><div dir="auto">Re: positioned DEF-USE</div></div><div dir="auto"><br></div><div dir="auto">Some work needs to be done on positioning a USE node within a parent.   I suggest not only a singleton hasParent, but also a hasNodePosition within the USE node.</div><div dir="auto"><br></div><div dir="auto">Re: OSNAP.</div><div dir="auto"><br></div><div dir="auto">We can probably use the same .ttl reader for both OSNAP and ttl to X3D XML model converter?  What do you think?</div><div dir="auto"><br></div><div dir="auto">John </div><div dir="auto">On Mon, Oct 14, 2019 at 11:36 AM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The X3D Semantic Web Working Group mission is to publish models to the Web using X3D in order to best gain Web interoperability and enable intelligent 3D applications, feature-based 3D model querying, and reasoning over 3D scenes.<br>
<br>
        <a href="https://www.web3d.org/working-groups/x3d-semantic-web" rel="noreferrer" target="_blank">https://www.web3d.org/working-groups/x3d-semantic-web</a><br>
<br>
We plan to hold a regular weekly meeting Monday 14 OCT 2019 at regular time, 0800-0900 pacific.<br>
<br>
        <a href="https://www.web3d.org/member/teleconference-information" rel="noreferrer" target="_blank">https://www.web3d.org/member/teleconference-information</a><br>
<br>
Attendees:  Jakub Flotynsky, Athanasios Malamos, Don Brutzman.<br>
<br>
=========================<br>
<br>
1. *Conference and paper publication planning*<br>
<br>
Current work.<br>
<br>
a. Thanos and Jakub discussed possible visits and European Union collaboration support under Erasmus program.<br>
<br>
        Erasmus+: International Collaboration Between Transilvania University of Brasov (Romania) and Georgia Southern University<br>
        <a href="https://academics.georgiasouthern.edu/international/international-initiatives/erasmus/" rel="noreferrer" target="_blank">https://academics.georgiasouthern.edu/international/international-initiatives/erasmus/</a><br>
<br>
Felix: it looks like you had some interesting X3D presentations last year.  We are happy to share the information if that is OK.  Also wondering whether ERASMUS+ support for work with USA is possible.<br>
<br>
2018 Presentations<br>
* March 21 – Prof. Felix Hamza-Lup, presented “Introduction to X3D – Paradigms, Static and Dynamic Scenes” at the Transilvania University in Brasov, Romania.<br>
* March 22 – Prof. Felix Hamza-Lup, presented “Web-based 3D User Interfaces”, at the Transilvania University in Brasov, Romania.<br>
<br>
------<br>
<br>
b. Abstract has been accepted for presentation at 1630 on Tuesday 3 December 2019 t Semantic Web Pro (SemWeb.Pro) conference in Paris.<br>
<br>
        <a href="http://semweb.pro/semwebpro-2019.html" rel="noreferrer" target="_blank">http://semweb.pro/semwebpro-2019.html</a><br>
<br>
Christophe, might you and Yves be able to handle the presentation duties?  Jakub will work to be available during the presentation, if needed we can reserve the Web3D Zoom channel for his audio and video connection.  I am also interested in connecting as well (Thanos is teaching at that time).<br>
<br>
Don will add the event and abstract to the website, Jakub will provide updated slides when available (extending the Web3D 2019 slides).<br>
<br>
c. IC3D Paper has been submitted (shared previously) and we are awaiting review comments.<br>
<br>
Jakub, I am hoping that we can update and publish your TTL and SPARQL queries to match our current X3D Ontology.  We will try to do that over email.  (Confirming that all nodes are named for .x3d to .ttl conversion.)<br>
<br>
d. Thanos discussed book-chapter possibilities... more to follow during next week's regular teleconference, he is outlining a draft.<br>
<br>
=========================<br>
<br>
2. *Mailing list change*.  As requested and discussed, we now have a new semantics-public mailing list.<br>
<br>
        <a href="https://www.web3d.org/mailman/listinfo/semantics-public_web3d.org" rel="noreferrer" target="_blank">https://www.web3d.org/mailman/listinfo/semantics-public_web3d.org</a><br>
<br>
Transition message:<br>
<br>
        semantics-public mailing list is now primary for X3D Semantic Web Working Group discussions<br>
        <a href="http://web3d.org/pipermail/semantics-public_web3d.org/2019-October/000001.html" rel="noreferrer" target="_blank">http://web3d.org/pipermail/semantics-public_web3d.org/2019-October/000001.html</a><br>
<br>
> Since this has been discussed and planned over the course of multiple meetings, for communications continuity and as a convenience I've taken the liberty of subscribing all of the current 11 participants there.<br>
> <br>
> In general we will use the semantics-public list for working group traffic.  We have not had any member-only information during the past year of effort. Past mail archives remain at<br>
> <br>
>       <a href="mailto:Semantics@web3d.org" target="_blank">Semantics@web3d.org</a> Archives<br>
>       <a href="http://web3d.org/mailman/private/semantics_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/private/semantics_web3d.org</a><br>
> <br>
> If you want to modify your mailing-list membership information for any reason, please do so.  Both the webmaster and I are ready to help, if needed.<br>
> <br>
>       semantics-public@web3D.org<br>
>       semantics-public -- X3D Semantic Web Working Group (public discussion)<br>
>       <a href="https://www.web3d.org/mailman/listinfo/semantics-public_web3d.org" rel="noreferrer" target="_blank">https://www.web3d.org/mailman/listinfo/semantics-public_web3d.org</a><br>
> <br>
>       semantics@web3D.org<br>
>       semantics -- X3D Semantic Web (member-only discussion)<br>
>       <a href="http://web3d.org/mailman/listinfo/semantics_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/semantics_web3d.org</a><br>
> <br>
> All questions and suggestions are welcome.  Looking forward to continuing progress together.<br>
=========================<br>
<br>
3. *X3D Example Archive Updates*<br>
<br>
* /Triple naming/<br>
<br>
As reported in last week's X3D Working Group minutes, several thousand XML-based .x3d models in the X3D Example Archives have been converted into .ttl Turtle Triples.<br>
<br>
Great work by Jakub on the X3dToTurtle.xslt conversion stylesheet!  After omitting default attribute values and adding name uniqueness, I've only had to do a few minor touchups to handle special cases in the mass unit testing.<br>
<br>
Note that the naming of triples is derived on original scene-graph structure, allowing unnamed (no DEF) nodes to be correlated in original model.  For example, in attached HelloWorld.ttl model:<br>
<br>
* Since they are singletons, :X3D :head and :Scene are always the same for a given model.<br>
<br>
* No anonymous node names are used.<br>
<br>
* :meta_1_2      means first child element under X3D (head) followed by second child element (second meta tag).<br>
<br>
* :Shape_2_2_2_1 means second child element under X3D (Scene), followed by second child element (Group), followed by second child (Transform), then first child (the Shape of interest).<br>
<br>
* :MaterialLightBlue means the node having DEF="MaterialLightBlue"<br>
<br>
* :MaterialLightBlue-USE-1 means the first node with USE="MaterialLightBlue"<br>
<br>
For example, in original .x3d and derived .ttl representations, we find<br>
<br>
/////////////////////////////////////////////////////////////<br>
  <Material DEF='MaterialLightBlue' diffuseColor='0.1 0.5 1'/><br>
  <Material USE='MaterialLightBlue'/><br>
<br>
:MaterialLightBlue a owl:NamedIndividual, x3d:Material ;<br>
   x3d:diffuseColor "0.1 0.5 1" .<br>
<br>
:MaterialLightBlue-USE-1 a owl:NamedIndividual, x3d:Material .<br>
/////////////////////////////////////////////////////////////<br>
<br>
The sequence of RDF/OWL definitions does not matter.  These numbers refer to placement in the original .x3d scene graph.<br>
<br>
Note that a USE node cannot have a corresponding DEF.  We could have the default naming convention for USE nodes, in which case it would have been named something much less descriptive, such as<br>
:Material_2_2_3_1_2_1<br>
<br>
Perhaps there is one or more relationships we want to add for USE nodes that indicates it is related to the original node, as a draft example for instance:<br>
<br>
:MaterialLightBlue-USE-1 a owl:NamedIndividual, x3d:Material;<br>
   x3d:isUseCopyOf :MaterialLightBlue; # superfluous or useful?<br>
   owl:sameAs :MaterialLightBlue .<br>
<br>
or, perhaps even better, we define in X3D ontology the following relationship:<br>
<br>
x3d:isUseCopyOf rdfs:subPropertyOf owl:sameAs.<br>
<br>
The resulting construct in a .ttl translation would then be<br>
<br>
:MaterialLightBlue-USE-1 a owl:NamedIndividual, x3d:Material;<br>
   x3d:isUseCopyOf :MaterialLightBlue .<br>
<br>
This is an improvement: we have a human-readable label, we have a formal relationship that can be reasoned over.  However a deficiency is that original scene graph structure can't necessarily be reconstructed as an X3D model.  So we either need to change label for consistency to something like<br>
::MaterialLightBlue-USE_2_2_3_1_2_1<br>
<br>
Pressing even farther, perhaps better is to simply define the parent of each element as a contained property.  This would give us *our expected change* to look like<br>
<br>
:MaterialLightBlue-USE-1 a owl:NamedIndividual, x3d:Material;<br>
   x3d:isUseCopyOf :MaterialLightBlue;<br>
# owl:sameAs :MaterialLightBlue ; # derived by reasoner<br>
   x3d:hasParent :Appearance_2_2_3_1_2 .<br>
<br>
... and so on.  Happily this also provides all of the parent/child/ancestor/descendant relationships in a scene!<br>
<br>
Here are the relationships which Jakub already wrote in X3D Ontology:<br>
<br>
###############################################<br>
<br>
# Special Properties<br>
<br>
:hasChild a owl:ObjectProperty ;<br>
   rdfs:subPropertyOf :hasDescendant ;<br>
   dc:description "X3D element (node or statement) has a child element" .<br>
<br>
:hasParent a owl:ObjectProperty ;<br>
   owl:inverseOf :hasChild;<br>
   rdfs:subPropertyOf :hasAncestor ;<br>
   dc:description "X3D element (node or statement) has a parent element" .<br>
<br>
:hasDescendant a owl:ObjectProperty ;<br>
   owl:inverseOf :hasAncestor;<br>
   dc:description "X3D element (node or statement) has descendant element" .<br>
<br>
:hasAncestor a owl:ObjectProperty , owl:TransitiveProperty ;<br>
   dc:description "X3D element (node or statement) has ancestor element" .<br>
<br>
###############################################<br>
<br>
We discussed the warning in the ontology validator... not sure why it is occurring, possibly overzealous, potentially an issue in our use of transitive properties.  Our definition seems correct so we will leave it as is.<br>
<br>
Property Analysis<br>
   Non-simple properties<br>
        hasAncestor<br>
                Explanation: 1<br>
                        Transitive: hasAncestor<br>
        hasDescendant<br>
                Explanation: 1<br>
                        Transitive: hasAncestor<br>
        hasDescendant InverseOf hasAncestor<br>
<br>
------<br>
<br>
Future TODO: figure out how to reconstruct original model from the .ttl.<br>
<br>
I will add these improvements to the X3dToTurtle.xslt conversion stylesheet, and add this design pattern description to X3D Ontology page.<br>
<br>
------<br>
<br>
* /Build log of conversions results/<br>
<br>
Build log reveals very few conversion errors when tested using a simple SPARQL query.<br>
<br>
        <a href="https://web3d.org/x3d/content/examples/build.turtle.all.log.txt" rel="noreferrer" target="_blank">https://web3d.org/x3d/content/examples/build.turtle.all.log.txt</a><br>
<br>
When a query table by Apache Jena ARQ is empty, as follows, that means the query succeeded but found no WorldInfo nodes to report results.<br>
<br>
===================================<br>
create turtle:<br>
C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\x3d\content\examples\X3dForAdvancedModeling/Buildings//ArchHalf.x3d processing with X3dToTurtle stylesheet...<br>
C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\x3d\content\examples\X3dForAdvancedModeling/Buildings//ArchHalf.ttl self-validation test:<br>
Copying 1 file to C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\x3d\content\examples\X3dForAdvancedModeling\Buildings<br>
C:\languages\java\apache-jena-3.12.0\bat\arq.bat --data C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\semantics/ontologies/X3dOntology4.0.ttl --query C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\semantics/queries/X3dHelloWorldQuery_03.rq --graph Buildings//ArchHalf.ttl<br>
-------------------------<br>
| WorldInfoNode | title |<br>
=========================<br>
-------------------------<br>
X3dToTurtle.xslt conversion of ArchHalf.x3d to ArchHalf.ttl complete.<br>
===================================<br>
<br>
===================================<br>
create turtle:<br>
C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\x3d\content\examples\X3dForAdvancedModeling/HelloWorldScenes//HelloCostaRica.x3d processing with X3dToTurtle stylesheet...<br>
C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\x3d\content\examples\X3dForAdvancedModeling/HelloWorldScenes//HelloCostaRica.ttl self-validation test:<br>
Copying 1 file to C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\x3d\content\examples\X3dForAdvancedModeling\HelloWorldScenes<br>
C:\languages\java\apache-jena-3.12.0\bat\arq.bat --data C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\semantics/ontologies/X3dOntology4.0.ttl --query C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\semantics/queries/X3dHelloWorldQuery_03.rq --graph HelloWorldScenes//HelloCostaRica.ttl<br>
----------------------------------------------------<br>
| WorldInfoNode   | title                          |<br>
====================================================<br>
| "WorldInfo_2_1" | "¡Hola Costa Rica: Pura Vida!" |<br>
----------------------------------------------------<br>
X3dToTurtle.xslt conversion of HelloCostaRica.x3d to HelloCostaRica.ttl complete.<br>
===================================<br>
<br>
Pretty simple query, and so a good combined unit test of X3D ontology, xslt model conversion into ttl, and SPARQL query.<br>
<br>
Hmmm, we should probably add more WorldInfo nodes and titles to the archive example models.<br>
<br>
Other comments and TODO suggestions?<br>
<br>
------<br>
<br>
* /Other details/<br>
<br>
X3D meeting minutes excerpt follows, exemplar screenshot again attached.<br>
<br>
        [x3d-public] X3D minutes 11 OCT 2019: Web3DUX, semantics progress, implementations status, mantis issues, texture/material, X3D-Edit<br>
        <a href="http://web3d.org/pipermail/x3d-public_web3d.org/2019-October/011347.html" rel="noreferrer" target="_blank">http://web3d.org/pipermail/x3d-public_web3d.org/2019-October/011347.html</a><br>
<br>
> 3. *X3D Semantic Web Working Group*<br>
> <br>
> Much progress.  Paper accepted to Semantic Web Pro, additional papers planned.<br>
> <br>
> [3] [x3d-public] Minutes X3D Semantic Web 7 OCT 2019: X3D Ontology improvements review, X3dToTurtle.xslt plans<br>
>       <a href="http://web3d.org/pipermail/x3d-public_web3d.org/2019-October/011324.html" rel="noreferrer" target="_blank">http://web3d.org/pipermail/x3d-public_web3d.org/2019-October/011324.html</a><br>
> <br>
> Key page reflecting steady progress:<br>
> <br>
>       X3D Ontology for Semantic Web<br>
>       <a href="https://www.web3d.org/x3d/content/semantics/semantics.html" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/semantics/semantics.html</a><br>
> <br>
> Further activity this week:<br>
> <br>
> a. /New mailing list/. semantics-public at web3D has been established.  We'll be moving most working-group traffic to that list.  If you'd like to listen or join:<br>
> <br>
>       Semantics-public -- X3D Semantics public discussion<br>
>       <a href="http://web3d.org/mailman/listinfo/semantics-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/semantics-public_web3d.org</a><br>
> <br>
> ----<br>
> <br>
> b. X3dToTurtle.xslt unit testing on X3D Examples Archives now instrumented for full unit testing of 3000+ scenes.  (Full uploads in morning.)  Available at<br>
> <br>
>       <a href="https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples</a><br>
>       Hello World .ttl Turtle source (experimental) with SPARQL query<br>
>       <a href="https://www.web3d.org/x3d/content/examples/HelloWorld.ttl" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/examples/HelloWorld.ttl</a><br>
>       <a href="https://www.web3d.org/x3d/content/examples/HelloWorld.rq.txt" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/examples/HelloWorld.rq.txt</a><br>
> <br>
> Example screenshot and alternate pattern-match success follows:<br>
> <br>
>       <a href="https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorldIndex.html" rel="noreferrer" target="_blank">https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorldIndex.html</a><br>
>       <a href="https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.ttl" rel="noreferrer" target="_blank">https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.ttl</a><br>
>       <a href="https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.rq.txt" rel="noreferrer" target="_blank">https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.rq.txt</a><br>
> <br>
> ----<br>
> <br>
> c. /Reflection/.  Discussions on this challenging topic began a year ago, and the X3D Semantic Web Working Group began at the beginning of the year.  Really impressive progress - we are now evaluating the power and expressiveness of X3D model queries.  Use cases and feedback continue to be welcome.  More to follow!  8)<br>
> <br>
>       <a href="https://www.web3d.org/working-groups/x3d-semantic-web" rel="noreferrer" target="_blank">https://www.web3d.org/working-groups/x3d-semantic-web</a><br>
> <br>
> "The X3D Semantic Web Working Group mission is to publish models to the Web using X3D in order to best gain Web interoperability and enable intelligent 3D applications, feature-based 3D model querying, and reasoning over 3D scenes."<br>
> <br>
> Motivating insights:<br>
> <br>
> * "The answer to your question is the response to the query." Jim Hendler and Dean Allemang<br>
> <br>
> * "Trying to use the Semantic Web without SPARQL is like trying to use a relational database without SQL." Tim Berners-Lee<br>
<br>
=========================<br>
<br>
4. *X3D Ontology Updates*.  Key page:<br>
<br>
        X3D Ontology for Semantic Web<br>
        <a href="https://www.web3d.org/x3d/content/semantics/semantics.html" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/semantics/semantics.html</a><br>
<br>
Lot of refinements, the queries are working well.  Much more is now possible.<br>
<br>
        <a href="https://www.web3d.org/x3d/content/semantics/semantics.html#Queries" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/semantics/semantics.html#Queries</a><br>
<br>
The Owldoc produced by Protege is interesting.<br>
<br>
        <a href="https://www.web3d.org/x3d/content/semantics/documentation/owldoc/index.html" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/semantics/documentation/owldoc/index.html</a><br>
<br>
X3dSemanticWebDevelopmentArchive.zip is now available, collecting current assets for easier download and use.<br>
<br>
        <a href="https://www.web3d.org/x3d/content/semantics/X3dSemanticWebDevelopmentArchive.zip" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/semantics/X3dSemanticWebDevelopmentArchive.zip</a><br>
<br>
More design-pattern information would be helpful describing the current rules for the ontology.<br>
<br>
=========================<br>
<br>
5. *Potential Future Work*<br>
<br>
John Carlson had a number of leading questions about next steps.  Regarding OSNAP.<br>
<br>
        <a href="http://web3d.org/pipermail/x3d-public_web3d.org/2019-October/011349.html" rel="noreferrer" target="_blank">http://web3d.org/pipermail/x3d-public_web3d.org/2019-October/011349.html</a><br>
<br>
Nicholas joined for Web3DUX call and said that we are getting closer, this will soon be possible.<br>
<br>
=========================<br>
<br>
So, looking forward:<br>
<br>
- most email traffic will be on <a href="mailto:semantics-public@web3d.org" target="_blank">semantics-public@web3d.org</a><br>
- meeting minutes and announcements will copied to <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<br>
Wow - what a lot of progress we have made together.  Pretty amazing.<br>
<br>
All feedback is welcome.  Have fun with X3D Semantic Web!  8)<br>
<br>
all the best, Don<br>
-- <br>
Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
-- <br>
semantics-public mailing list<br>
<a href="mailto:semantics-public@web3d.org" target="_blank">semantics-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/semantics-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/semantics-public_web3d.org</a><br>
</blockquote></div></div>