@prefix :        <https://www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/MovingBody.ttl#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema:  <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix x3d:     <https://www.web3d.org/specifications/x3d-4.0.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.0#> .

:X3D a owl:NamedIndividual, x3do:X3D ;
  x3do:hasHead :head ;
  x3do:hasScene :Scene ;
  x3do:profile 'Immersive' ;
  x3do:version '3.2' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.2.xsd' .
:head a owl:NamedIndividual, x3do:head ;
  x3do:hasParent :X3D ;
  x3do:hasComponent :component_1_1 ;
  x3do:hasMeta :meta_1_2, :meta_1_3, :meta_1_4, :meta_1_5, :meta_1_6, :meta_1_7, :meta_1_8, :meta_1_9, :meta_1_10, :meta_1_11, :meta_1_12, :meta_1_13, :meta_1_14, :meta_1_15, :meta_1_16 .
:component_1_1 a owl:NamedIndividual, x3do:component ;
  x3do:hasParent :head ;
  x3do:level 2 ;
  x3do:name 'RigidBodyPhysics' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'MovingBody.x3d' ;
  x3do:name 'title' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Example scene for RigidBodyPhysics component' ;
  x3do:name 'description' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Alan Hudson and Justin Couch' ;
  x3do:name 'creator' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman' ;
  x3do:name 'translator' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '1 January 2008' ;
  x3do:name 'created' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '26 December 2008' ;
  x3do:name 'translated' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '4 February 2024' ;
  x3do:name 'modified' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.xj3d.org/extensions/index.html#Physics' ;
  x3do:name 'reference' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'originals/moving_body.x3dv' ;
  x3do:name 'reference' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/specifications/ISO-IEC-FDIS-19775-1.2-X3D-AbstractSpecification/Part01/components/rigid_physics.html' ;
  x3do:name 'reference' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'under development' ;
  x3do:name 'warning' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/MovingBody.x3d' ;
  x3do:name 'identifier' .
:meta_1_14 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_15 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Xj3D converter, http://www.xj3d.org' ;
  x3do:name 'generator' .
:meta_1_16 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "MovingBody.x3d" .
:meta dcterms:description "Example scene for RigidBodyPhysics component" .
:meta dcterms:creator "Alan Hudson and Justin Couch" .
:meta dcterms:translator "Don Brutzman" .
:meta dcterms:created "1 January 2008" .
:meta dcterms:translated "26 December 2008" .
:meta dcterms:modified "4 February 2024" .
:meta dcterms:reference "http://www.xj3d.org/extensions/index.html#Physics" .
:meta dcterms:reference "originals/moving_body.x3dv" .
:meta dcterms:reference "https://www.web3d.org/x3d/specifications/ISO-IEC-FDIS-19775-1.2-X3D-AbstractSpecification/Part01/components/rigid_physics.html" .
:meta dcterms:warning "under development" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/MovingBody.x3d" .
:meta dcterms:generator "X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:generator "Xj3D converter, http://www.xj3d.org" .
:meta dcterms:license "../../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Group_2_2, :BODY-COLLECTION, :COLLISION-OUTPUT, :TS, :PI ;
  x3do:hasROUTE :ROUTE_2_7, :ROUTE_2_8, :ROUTE_2_9 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'MovingBody.x3d' .
:Group_2_2 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :SPHERE-GEOM-1, :SPHERE-GEOM-2 .
:SPHERE-GEOM-1 a owl:NamedIndividual, x3do:CollidableShape ;
  x3do:hasParent :Group_2_2 ;
  x3do:hasShape :Shape_2_2_1_1 ;
  x3do:DEF 'SPHERE-GEOM-1' .
:Shape_2_2_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :SPHERE-GEOM-1 ;
  x3do:hasAppearance :Appearance_2_2_1_1_1 ;
  x3do:hasGeometry :Sphere_2_2_1_1_2 .
:Appearance_2_2_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_2_1_1 ;
  x3do:hasMaterial :Material_2_2_1_1_1_1 .
:Material_2_2_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_2_1_1_1 ;
  x3do:emissiveColor ( 1.0 0.0 0.0 ) .
:Sphere_2_2_1_1_2 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_2_1_1 ;
  x3do:radius 0.2 .
:SPHERE-GEOM-2 a owl:NamedIndividual, x3do:CollidableShape ;
  x3do:hasParent :Group_2_2 ;
  x3do:hasShape :Shape_2_2_2_1 ;
  x3do:DEF 'SPHERE-GEOM-2' .
:Shape_2_2_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :SPHERE-GEOM-2 ;
  x3do:hasAppearance :Appearance_2_2_2_1_1 ;
  x3do:hasGeometry :Sphere_2_2_2_1_2 .
:Appearance_2_2_2_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_2_2_1 ;
  x3do:hasMaterial :Material_2_2_2_1_1_1 .
:Material_2_2_2_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_2_2_1_1 ;
  x3do:emissiveColor ( 0.0 0.0 1.0 ) .
:Sphere_2_2_2_1_2 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_2_2_1 ;
  x3do:radius 0.2 .
:BODY-COLLECTION a owl:NamedIndividual, x3do:RigidBodyCollection ;
  x3do:hasParent :Scene ;
  x3do:hasBodies :BODY-1, :BODY-2 ;
  x3do:DEF 'BODY-COLLECTION' .
:BODY-1 a owl:NamedIndividual, x3do:RigidBody ;
  x3do:hasParent :BODY-COLLECTION ;
  x3do:hasGeometry :SPHERE-GEOM-1-USE-1 ;
  x3do:DEF 'BODY-1' ;
  x3do:linearVelocity ( 0.1 0.0 0.0 ) ;
  x3do:mass 0.1 ;
  x3do:position ( -0.5 0.0 0.0 ) .
:SPHERE-GEOM-1-USE-1 a owl:NamedIndividual, x3do:CollidableShape ;
  x3do:hasParent :BODY-1 ;
  owl:sameAs :SPHERE-GEOM-1 . # DEF matching this USE
:BODY-2 a owl:NamedIndividual, x3do:RigidBody ;
  x3do:hasParent :BODY-COLLECTION ;
  x3do:hasGeometry :SPHERE-GEOM-2-USE-1 ;
  x3do:DEF 'BODY-2' ;
  x3do:angularDampingFactor 0 ;
  x3do:mass 0.1 ;
  x3do:useGlobalGravity false .
:SPHERE-GEOM-2-USE-1 a owl:NamedIndividual, x3do:CollidableShape ;
  x3do:hasParent :BODY-2 ;
  owl:sameAs :SPHERE-GEOM-2 . # DEF matching this USE
:COLLISION-OUTPUT a owl:NamedIndividual, x3do:CollisionSensor ;
  x3do:hasParent :Scene ;
  x3do:hasCollider :COLLISION-GROUP ;
  x3do:DEF 'COLLISION-OUTPUT' .
:COLLISION-GROUP a owl:NamedIndividual, x3do:CollisionCollection ;
  x3do:hasParent :COLLISION-OUTPUT ;
  x3do:hasCollidables :SPHERE-GEOM-1-USE-2, :SPHERE-GEOM-2-USE-2 ;
  x3do:DEF 'COLLISION-GROUP' ;
  x3do:bounce 1.0 ;
  x3do:minBounceSpeed 1.0 .
:SPHERE-GEOM-1-USE-2 a owl:NamedIndividual, x3do:CollidableShape ;
  x3do:hasParent :COLLISION-GROUP ;
  owl:sameAs :SPHERE-GEOM-1 . # DEF matching this USE
:SPHERE-GEOM-2-USE-2 a owl:NamedIndividual, x3do:CollidableShape ;
  x3do:hasParent :COLLISION-GROUP ;
  owl:sameAs :SPHERE-GEOM-2 . # DEF matching this USE
:TS a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'TS' ;
  x3do:cycleInterval '10.0' ;
  x3do:loop true .
:PI a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :Scene ;
  x3do:DEF 'PI' ;
  x3do:key ( 0.0 0.25 0.5 0.75 1.0 ) ;
  x3do:keyValue ( -1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 -1.0 0.0 -1.0 0.0 0.0 ) .
:ROUTE_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'contacts' ;
  x3do:fromNode 'COLLISION-OUTPUT' ;
  x3do:toField 'set_contacts' ;
  x3do:toNode 'BODY-COLLECTION' .
:ROUTE_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'TS' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'PI' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'PI' ;
  x3do:toField 'position' ;
  x3do:toNode 'BODY-1' .
