Get Thing¶
Screencast (Asciinema)¶
List¶
Get the list of all available Thing (Template) IRIs, using the special enola:/
IRI:
$ ./enola get --load "models/**.ttl" enola:/
@prefix enola: <https://enola.dev/> .
<enola:/> enola:thing-iri-list <https://www.vorburger.ch/michael_vorburger_portrait_in_bay_of_roses_spain_with_bad_lighting.jpg>,
<file:///home/runner/work/enola/enola/models/example.org/astronomy.ttl>, <file:///home/runner/work/enola/enola/models/example.org/greeting1.ttl>,
<file:///home/runner/work/enola/enola/models/example.org/greeting2.ttl>, <file:///home/runner/work/enola/enola/models/example.org/greeting3.ttl>,
<file:///home/runner/work/enola/enola/models/example.org/greetingN.ttl>, <file:///home/runner/work/enola/enola/models/schema.org/properties.ttl>,
<file:///home/runner/work/enola/enola/models/www.w3.org/rdf-schema.ttl>, <file:///home/runner/work/enola/enola/models/www.w3.org/xml-schema.ttl>,
<file:///home/runner/work/enola/enola/models/enola.dev/mediaTypes.ttl>, <file:///home/runner/work/enola/enola/models/enola.dev/namespaces.ttl>,
<file:///home/runner/work/enola/enola/models/enola.dev/datatypes.ttl>, <file:///home/runner/work/enola/enola/models/enola.dev/docs-root.ttl>,
<file:///home/runner/work/enola/enola/models/enola.dev/licenses.ttl>, <file:///home/runner/work/enola/enola/models/schema.org/emojis.ttl>,
<file:///home/runner/work/enola/enola/models/www.w3.org/emojis.ttl>, <file:///home/runner/work/enola/enola/models/enola.dev/binary.ttl>,
<http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty>, <file:///home/runner/work/enola/enola/models/enola.dev/enola.ttl>,
<file:///home/runner/work/enola/enola/models/enola.dev/files.ttl>, <file:///home/runner/work/enola/enola/models/enola.dev/linux.ttl>,
<file:///home/runner/work/enola/enola/models/enola.dev/other.ttl>, <file:///home/runner/work/enola/enola/models/purl.org/emojis.ttl>,
<file:///home/runner/work/enola/enola/models/enola.dev/java.ttl>, <file:///home/runner/work/enola/enola/models/enola.dev/yaml.ttl>,
<file:///home/runner/work/enola/enola/models/www.w3.org/owl.ttl>, <file:///home/runner/work/enola/enola/models/www.w3.org/rdf.ttl>,
<file:///home/vorburger/git/github.com/enola-dev/enola/docs/>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#CompoundLiteral>,
<file:///home/runner/work/enola/enola/models/enola.dev.ttl>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral>,
<http://www.w3.org/2002/07/owl#InverseFunctionalProperty>, <http://www.w3.org/2002/07/owl#NegativePropertyAssertion>,
<https://en.m.wikipedia.org/wiki/Datalog#Datalog_engines>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>, <http://www.w3.org/2002/07/owl#maxQualifiedCardinality>,
<http://www.w3.org/2002/07/owl#minQualifiedCardinality>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#direction>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate>,
<http://www.w3.org/2002/07/owl#backwardCompatibleWith>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#language>, <http://www.w3.org/2001/XMLSchema#nonNegativeInteger>,
<http://www.w3.org/2001/XMLSchema#nonPositiveInteger>, <http://www.w3.org/2002/07/owl#AllDisjointProperties>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject>, <http://www.w3.org/2000/01/rdf-schema#subPropertyOf>,
<http://www.w3.org/2001/XMLSchema#yearMonthDuration>, <http://www.w3.org/2002/07/owl#bottomObjectProperty>,
<http://www.w3.org/2002/07/owl#datatypeComplementOf>, <http://www.w3.org/2002/07/owl#propertyDisjointWith>,
<http://www.w3.org/2002/07/owl#qualifiedCardinality>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#object>,
<http://www.w3.org/2001/XMLSchema#normalizedString>, <http://www.w3.org/2002/07/owl#IrreflexiveProperty>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#first>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#value>,
<http://www.w3.org/2000/01/rdf-schema#isDefinedBy>, <http://www.w3.org/2001/XMLSchema#dayTimeDuration>,
<http://www.w3.org/2001/XMLSchema#negativeInteger>, <http://www.w3.org/2001/XMLSchema#positiveInteger>,
<http://www.w3.org/2002/07/owl#AllDisjointClasses>, <http://www.w3.org/2002/07/owl#AnnotationProperty>,
<http://www.w3.org/2002/07/owl#AsymmetricProperty>, <http://www.w3.org/2002/07/owl#DeprecatedProperty>,
<http://www.w3.org/2002/07/owl#FunctionalProperty>, <http://www.w3.org/2002/07/owl#TransitiveProperty>,
<http://www.w3.org/2002/07/owl#bottomDataProperty>, <http://www.w3.org/2002/07/owl#equivalentProperty>,
<http://www.w3.org/2002/07/owl#propertyChainAxiom>, <https://docs.enola.dev/concepts/other/#inference>,
<https://enola.dev/file/localhost/tmp/example.txt>, <https://jena.apache.org/documentation/inference/>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#List>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>, <http://www.w3.org/2000/01/rdf-schema#subClassOf>,
<http://www.w3.org/2002/07/owl#ReflexiveProperty>, <http://www.w3.org/2002/07/owl#SymmetricProperty>,
<http://www.w3.org/2002/07/owl#annotatedProperty>, <http://www.w3.org/2002/07/owl#assertionProperty>,
<http://www.w3.org/2002/07/owl#topObjectProperty>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq>,
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>, <http://www.w3.org/2000/01/rdf-schema#Container>,
<http://www.w3.org/2001/XMLSchema#dateTimeStamp>, <http://www.w3.org/2001/XMLSchema#unsignedShort>,
<http://www.w3.org/2002/07/owl#DatatypeProperty>, <http://www.w3.org/2002/07/owl#OntologyProperty>,
<http://www.w3.org/2002/07/owl#incompatibleWith>, <http://www.w3.org/2002/07/owl#sourceIndividual>,
<http://www.w3.org/2002/07/owl#targetIndividual>, <http://www.w3.org/2002/07/owl#withRestrictions>,
<https://docs.enola.dev/concepts/other/#datalog>, <http://www.w3.org/2000/01/rdf-schema#Datatype>,
<http://www.w3.org/2000/01/rdf-schema#Resource>, <http://www.w3.org/2001/XMLSchema#base64Binary>,
<http://www.w3.org/2001/XMLSchema#unsignedByte>, <http://www.w3.org/2001/XMLSchema#unsignedLong>,
<http://www.w3.org/2002/07/owl#DeprecatedClass>, <http://www.w3.org/2002/07/owl#NamedIndividual>,
<http://www.w3.org/2002/07/owl#annotatedSource>, <http://www.w3.org/2002/07/owl#annotatedTarget>,
<http://www.w3.org/2002/07/owl#disjointUnionOf>, <http://www.w3.org/2002/07/owl#distinctMembers>,
<http://www.w3.org/2002/07/owl#equivalentClass>, <http://www.w3.org/2002/07/owl#topDataProperty>,
<file:///home/runner/work/enola/enola/models/>, <http://www.w3.org/2000/01/rdf-schema#Literal>,
<http://www.w3.org/2000/01/rdf-schema#comment>, <http://www.w3.org/2000/01/rdf-schema#seeAlso>,
<http://www.w3.org/2001/XMLSchema#unsignedInt>, <http://www.w3.org/2002/07/owl#ObjectProperty>,
<http://www.w3.org/2002/07/owl#intersectionOf>, <http://www.w3.org/2002/07/owl#maxCardinality>,
<http://www.w3.org/2002/07/owl#minCardinality>, <http://www.w3.org/2002/07/owl#someValuesFrom>,
<https://docs.enola.dev/concepts/other/#store>, <https://enola.dev/mediaType/application/json>,
<http://purl.org/dc/elements/1.1/description>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#>,
<http://www.w3.org/2000/01/rdf-schema#domain>, <http://www.w3.org/2000/01/rdf-schema#member>,
<http://www.w3.org/2001/XMLSchema#gYearMonth>, <http://www.w3.org/2002/07/owl#allValuesFrom>,
<http://www.w3.org/2002/07/owl#differentFrom>, <https://docs.enola.dev/concepts/other/#cncf>,
<https://docs.enola.dev/concepts/other/#java>, <https://enola.dev/mediaType/application/xml>,
<http://www.w3.org/2000/01/rdf-schema#Class>, <http://www.w3.org/2000/01/rdf-schema#label>,
<http://www.w3.org/2000/01/rdf-schema#range>, <http://www.w3.org/2001/XMLSchema#gMonthDay>,
<http://www.w3.org/2001/XMLSchema#hexBinary>, <http://www.w3.org/2002/07/owl#AllDifferent>,
<http://www.w3.org/2002/07/owl#complementOf>, <http://www.w3.org/2002/07/owl#disjointWith>,
<http://www.w3.org/2002/07/owl#onProperties>, <http://www.w3.org/2002/07/owl#priorVersion>,
<http://www.w3.org/2001/XMLSchema#dateTime>, <http://www.w3.org/2001/XMLSchema#duration>,
<http://www.w3.org/2001/XMLSchema#language>, <http://www.w3.org/2002/07/owl#Restriction>,
<http://www.w3.org/2002/07/owl#cardinality>, <http://www.w3.org/2002/07/owl#onDataRange>,
<http://www.w3.org/2002/07/owl#targetValue>, <http://www.w3.org/2002/07/owl#versionInfo>,
<https://docs.enola.dev/concepts/other/#go>, enola:LocalhostRootFilesystem, <http://purl.org/dc/elements/1.1/language>,
<http://www.w3.org/2001/XMLSchema#NMTOKEN>, <http://www.w3.org/2001/XMLSchema#boolean>,
<http://www.w3.org/2001/XMLSchema#decimal>, <http://www.w3.org/2001/XMLSchema#integer>,
<http://www.w3.org/2002/07/owl#Annotation>, <http://www.w3.org/2002/07/owl#deprecated>,
<http://www.w3.org/2002/07/owl#onDatatype>, <http://www.w3.org/2002/07/owl#onProperty>,
<http://www.w3.org/2002/07/owl#versionIRI>, <http://www.w3.org/2001/XMLSchema#NCName>,
<http://www.w3.org/2001/XMLSchema#anyURI>, <http://www.w3.org/2001/XMLSchema#double>,
<http://www.w3.org/2001/XMLSchema#gMonth>, <http://www.w3.org/2001/XMLSchema#string>,
<http://www.w3.org/2002/07/owl#DataRange>, <http://www.w3.org/2002/07/owl#inverseOf>,
<https://harvardpl.github.io/AbcDatalog/>, <https://multiformats.io/multibaseBinary>,
<http://www.w3.org/2001/XMLSchema#float>, <http://www.w3.org/2001/XMLSchema#gYear>,
<http://www.w3.org/2001/XMLSchema#short>, <http://www.w3.org/2001/XMLSchema#token>,
<http://www.w3.org/2002/07/owl#Ontology>, <http://www.w3.org/2002/07/owl#hasValue>,
<https://enola.dev/mediaType/image/jpeg>, <https://enola.dev/mediaType/text/plain>,
<https://github.com/kevinawalsh/datalog>, <http://purl.org/dc/elements/1.1/title>,
<http://www.w3.org/2000/01/rdf-schema#>, <http://www.w3.org/2001/XMLSchema#Name>,
<http://www.w3.org/2001/XMLSchema#byte>, <http://www.w3.org/2001/XMLSchema#date>,
<http://www.w3.org/2001/XMLSchema#gDay>, <http://www.w3.org/2001/XMLSchema#long>,
<http://www.w3.org/2001/XMLSchema#time>, <http://www.w3.org/2002/07/owl#Nothing>,
<http://www.w3.org/2002/07/owl#hasSelf>, <http://www.w3.org/2002/07/owl#imports>,
<http://www.w3.org/2002/07/owl#members>, <http://www.w3.org/2002/07/owl#onClass>,
<http://www.w3.org/2002/07/owl#unionOf>, <https://enola.dev/mediaType/text/html>,
<http://purl.org/dc/elements/1.1/date>, <http://www.w3.org/2001/XMLSchema#int>, <http://www.w3.org/2002/07/owl#hasKey>,
<http://www.w3.org/2002/07/owl#sameAs>, <https://enola.dev/mediaType/text/xml>, <https://www.w3.org/submissions/SWRL/>,
<http://www.w3.org/2002/07/owl#Axiom>, <http://www.w3.org/2002/07/owl#Class>, <http://www.w3.org/2002/07/owl#Thing>,
<http://www.w3.org/2002/07/owl#oneOf>, <https://github.com/wernsey/Jatalog>, <http://www.w3.org/2001/XMLSchema#>,
enola:SoftwareWithURL, enola:content-as-text, enola:MediaTypeModel, enola:TikaMediaTypes,
enola:TimeIntervaled, enola:fileExtensions, <https://enola.dev/linux/ontology>, <https://enola.dev/yaml/shorthand>,
<https://github.com/google/mangle>, <https://www.oxfordsemantic.tech/>, <https://enola.dev/java/module/%7BFQN%7D>,
enola:labelProperty, <https://enola.dev/linux/Machine>, enola:subDatatypeOf, enola:thingTemplate,
<https://souffle-lang.github.io/>, <http://www.w3.org/2002/07/owl#>, <https://enola.dev#organization>,
enola:UnknownClass, enola:fileOntology, enola:parentFolder, <https://example.org/Salutation>,
<https://schema.org/description>, <https://schema.org/urlTemplate>, <https://enola.dev/java/type/%7BFQN%7D>,
<http://www.w3.org/2002/07/owl>, enola:IRITemplate, enola:Proprietary, enola:description,
enola:iriTemplate, <https://enola.dev/java/module>, <https://example.org/greeting1>,
<https://example.org/greeting2>, <https://example.org/greeting3>, <https://schema.org/identifier>,
<http://ns.adobe.com/pdf/1.3/>, enola:Filesystem, enola:Namespaces, enola:OpenSource,
enola:filesystem, enola:modifiedAt, enola:namespaces, enola:properties, enola:text-color,
<https://example.org/MilkyWay>, <https://example.org/NGC-4486>, <https://example.org/NGC-4501>,
<https://example.org/greeting>, <https://example.org/greet/%7BNUMBER%7D>, <https://enola.dev#vorburger>,
enola:MediaType, enola:createdAt, enola:deletedAt, enola:inverseOf, <https://enola.dev/java/name>,
<https://enola.dev/java/type>, enola:mediaType, enola:startedAt, enola:timestamp,
enola:wikipedia, <https://enola.dev/file/%7BFILESYSTEM%7D/%7BPATH%7D>, <https://enola.dev#software>,
enola:Embedded, enola:Hardware, enola:Software, enola:children, enola:datatype, enola:wikidata,
<https://enola.dev/yaml/uri>, enola:License, enola:endedAt, enola:example, enola:seeAlso,
<https://example.org/Virgo>, <https://example.org/terra>, <https://example.org/world>,
<https://open-metadata.org>, <https://schema.org/sameAs>, enola:Folder, enola:Format,
enola:binary, enola:origin, enola:parent, enola:prefix, <https://schema.org/email>,
<https://schema.org/image>, <https://www.vorburger.ch>, <https://docs.enola.dev/>,
enola:Event, enola:color, enola:emoji, <https://enola.dev/java/>, enola:label, <https://example.org/Sun>,
<https://schema.org/name>, <https://www.datomic.com>, enola:File, enola:Java, enola:UUID,
enola:path, enola:size, enola:text, <https://nubank.com.br/>, <https://schema.org/URL>,
<https://schema.org/url>, enola:GKG, enola:doc, enola:gkg, enola:olo, enola:rfc, <https://backstage.io>,
enola:ID, <https://enola.dev/>, <https://flix.dev>, <enola:/inline>, <fs:localhost>,
<enola:/> .
Get 🐢¶
Get something from a loaded 🐢 Turtle resource, e.g. from the enola.dev/enola.ttl model:
$ ./enola get --load models/enola.dev/enola.ttl https://enola.dev/emoji
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix enola: <https://enola.dev/> .
enola:emoji a rdf:Property;
enola:emoji "😃";
enola:origin <file:///home/runner/work/enola/enola/models/enola.dev/enola.ttl>;
schema:name "Emoji";
schema:description "Emoji 😃 of a Thing, from Unicode or <a href='https://www.nerdfonts.com'>Nerdfonts</a>.";
rdfs:range <http://www.w3.org/2001/XMLSchema#string> .
Note that get
supports various formats.
PS: The fetch
command does something related.