How to

How to use it

  1. Select the ontologies from which you want to extract patterns.
    1. Patterns Info
      • Type: the patterns are going to be created from the type of the terms.
      • Name: the patterns are going to be created from the name of the terms.
      • Both: created from both.
    2. Flatten Info
      • Yes: the collections are going to be flattened.
      • No: the collections are not going to be flattened.
  2. Select patterns options:
    1. Name, Type or both:
      • Name: Ontology elements in the patterns represent specific classes and properties names. For example:

        Fragmento de codigo owl en serializacion turtle

        Example with Name and Not flatten selected

        |s4bldg:BuildingSpace
        |rdfs:subClassOf
        | |owl:Restriction
        | | |owl:allValuesFrom
        | | | |owl:Class
        | | | | |owl:unionOf
        | | | | | |rdf:List
        | | | | | | |rdf:first
        | | | | | | | |s4bldg:Building
        | | | | | | |rdf:rest
        | | | | | | | |rdf:List
        | | | | | | | | |rdf:first
        | | | | | | | | | |s4bldg:BuildingSpace
        | | | | | | | | |rdf:rest
        | | | | | | | | | |rdf:nil
        | | |owl:onProperty
        | | | |s4bldg:isSpaceOf
      • Type: Ontology elements in the patterns are generalized according to the OWL elements used, that is, no specific classes or properties are used, but OWL skeletons like:
        | owl:Class
        |   |rdfs:subClassOf
        |   |  |owl:Restriction
        |   |  |  |owl:onProperty
        |   |  |  |  |owl:DatatypeProperty, owl:FunctionalProperty
        |   |  |owl:someValuesFrom
        |   |  |  |rdfs:Datatype
    2. Flatten or not:
      1. Flatten: If there are collections of classes or individuals in the pattern it is not included the full collection.

        Fragmento de codigo owl en serializacion turtle

        Example with Type and Not flatten selected

        | owl:Class
        |rdfs:subClassOf
        | |owl:Restriction
        | | |owl:allValuesFrom
        | | | |owl:Class
        | | | | |owl:unionOf
        | | | | | |rdf:List
        | | | | | | |rdf:first
        | | | | | | | |owl:Class
        | | | | | | |rdf:rest
        | | | | | | | |rdf:List
        | | | | | | | | |rdf:first
        | | | | | | | | | |owl:Class
        | | | | | | | | |rdf:rest
        | | | | | | | | | |rdf:nil
        | | |owl:onProperty
        | | | |owl:ObjectProperty, owl:TransitiveProperty

        Example with Type and flatten selected

        |owl:Class
        |rdfs:subClassOf
        | |owl:Restriction
        | | |owl:allValuesFrom
        | | | |owl:Class
        | | | | |owl:unionOf
        | | |owl:onProperty
        | | | |owl:ObjectProperty, owl:TransitiveProperty

Output

Tengo que ver el output final y definir esto en detalle

  1. “Data” folder. This folder contains the files:
    • A
    • B
    • C
  2. “flatten” folder (if selected): This folder contains the files:
    • A
    • B
    • C
  3. “not_flatten” folder (if selected): This folder contains the files:
    • A
    • B
    • C
  4. HTML folder This folder contains the files:
    • A
    • B
    • C