Prints a tree showing all parent classes of class in the ontology. The class can be provided in shorthand or longhand (see --get-shorthand and --get-longhand for details). For example:
$ tracker sparql -t nmo:MMSMessage
ROOT
+-- rdfs:Resource (C)
| +-- nie:InformationElement (C)
| | +-- nfo:Document (C)
| | | +-- nfo:TextDocument (C)
| | | | `-- nmo:Message (C)
| | | | | +-- nmo:PhoneMessage (C)
| | | | | | `-- nmo:MMSMessage (C)
If no class is given, the entire tree is shown.
The --search command line option can be used to highlight parts of the tree you're looking for. The search is case insensitive.
The --properties command line option can be used to show properties for each class displayed, for example:
$ tracker sparql -t nfo:FileDataObject -p
ROOT
+-- rdfs:Resource (C)
| --> http://purl.org/dc/elements/1.1/contributor (P)
| --> http://purl.org/dc/elements/1.1/coverage (P)
| --> http://purl.org/dc/elements/1.1/creator (P)
| --> http://purl.org/dc/elements/1.1/date (P)
| --> http://purl.org/dc/elements/1.1/description (P)
| --> http://purl.org/dc/elements/1.1/format (P)
| --> http://purl.org/dc/elements/1.1/identifier (P)
| --> http://purl.org/dc/elements/1.1/language (P)
| --> http://purl.org/dc/elements/1.1/publisher (P)
| --> http://purl.org/dc/elements/1.1/relation (P)
| --> http://purl.org/dc/elements/1.1/rights (P)
| --> http://purl.org/dc/elements/1.1/source (P)
| --> http://purl.org/dc/elements/1.1/subject (P)
| --> http://purl.org/dc/elements/1.1/title (P)
| --> http://purl.org/dc/elements/1.1/type (P)
| --> nao:deprecated (P)
| --> nao:hasTag (P)
| --> nao:identifier (P)
| --> nao:isRelated (P)
| --> nao:lastModified (P)
| --> nao:numericRating (P)
| --> rdf:type (P)
| --> rdfs:comment (P)
| --> rdfs:label (P)
| --> tracker:added (P)
| --> tracker:damaged (P)
| --> tracker:modified (P)
| +-- nie:DataObject (C)
| | --> nfo:belongsToContainer (P)
| | --> nie:byteSize (P)
| | --> nie:created (P)
| | --> nie:dataSource (P)
| | --> nie:interpretedAs (P)
| | --> nie:isPartOf (P)
| | --> nie:lastRefreshed (P)
| | --> nie:url (P)
| | --> tracker:available (P)
| | +-- nfo:FileDataObject (C)
| | | --> nfo:fileCreated (P)
| | | --> nfo:fileLastAccessed (P)
| | | --> nfo:fileLastModified (P)
| | | --> nfo:fileName (P)
| | | --> nfo:fileOwner (P)
| | | --> nfo:fileSize (P)
| | | --> nfo:hasHash (P)
| | | --> nfo:permissions (P)