LOD:KCAP analysis/PathDescription

From STLab

Jump to: navigation, search

The table below indicates how to draw a table for describing paths to the aim of analyzing LOD patterns. A path is described through an ordered list of properties, which are used in the triple sequences that instantiate the path. Each property is associated to a position in the path, a subject type, and an object type. Hence, we define a path as composed by a number of elements equal to its length. A path has (i) a length, given by the number of properties that compose it, (ii) a number of occurrences, which is the number of its instances in the analysed dataset.

The ontology to use for describing the dataset summarized in this table can be downloaded at http://ontologydesignpatterns.org/ont/lod-analysis-path.owl (prefix path:)

In order to retrieve paths of a certain length we can use sparql queries. For example, for retrieving all paths of length 3, the query is the following:

  SELECT DISTINCT ?type1 ?p1 ?type2 ?p2 ?type3 ?p3 ?type4
  WHERE { ?x ?p1 ?y . ?y ?p2 ?z . ?z ?p3 ?w .
  ?x a ?type1 . ?y a ?type2 . ?z a ?type3 . ?w a ?type4 .}


Name of the column Explanation Associated semantic entity
Length The length of the path, which is the number of properties composing the path. path:Path, path:hasLength
Properties The ordered list of properties composing the path. For example, a path of length 3 could be (linkedmdb:cinematographer, linkedmdb:performance, linkedmdb:film_character) path:Path, path:hasPathElement, path:hasProperty (domain path:PathElement), path:hasPosition (domain path:PathElement)
Types The actual types use in the triples (in the respective order) as they are observed in the path occurrences, in the respective order. E.g. (linkedmdb:film, foaf:Person, linkedmdb:film, linkedmdb:performance, linkedmdb:film_character) path:Path, path:hasPathElement, path:hasPathSubjectType (domain path:PathElement), path:hasPathObjectType (domain path:PathElement)
Number of path occurrences The number of instances of that path retrieved in the analysed dataset. path:PathOccurrencesInDataset, path:hasPath, path:inDataset, path:Dataset, path:hasNumberOfOccurrences
Content Pattern One or more existing content patterns that can be matched to some extent to the observed path e.g. because they include it. path:Path, path:mapsToContentPattern, path:ContentPattern
Comments Useful remarks to the interpretation of the analysis. path:remarks
Personal tools