
#     ██████
#   ███░░░░███
#  ███    ░░███ █████ ███ █████  ██████  ████████  █████ ████ █████████████
# ░███     ░███░░███ ░███░░███  ███░░███░░███░░███░░███ ░███ ░░███░░███░░███
# ░███   ██░███ ░███ ░███ ░███ ░███ ░███ ░███ ░░░  ░███ ░███  ░███ ░███ ░███
# ░░███ ░░████  ░░███████████  ░███ ░███ ░███      ░███ ░███  ░███ ░███ ░███
#  ░░░██████░██  ░░████░████   ░░██████  █████     ░░████████ █████░███ █████
#    ░░░░░░ ░░    ░░░░ ░░░░     ░░░░░░  ░░░░░       ░░░░░░░░ ░░░░░ ░░░ ░░░░░

# Semantic description of Qworum as an organisation.
# Written in RDF/Turtle.

BASE <https://qworum.net/data/org.ttl>

PREFIX : <#>

PREFIX org: <http://www.w3.org/ns/org#>              # https://www.w3.org/TR/vocab-org/ 
PREFIX time: <http://www.w3.org/2006/time#> 
PREFIX sd: <https://w3id.org/okn/o/sd#>              # Software Description Ontology
PREFIX cocoon: <https://w3id.org/cocoon/v1.0#>       # Vocabulary in Cloud Computing Services

PREFIX schema: <https://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>            # https://en.wikipedia.org/wiki/FOAF 
PREFIX prov: <http://www.w3.org/ns/prov#>            # https://www.w3.org/TR/prov-o/
PREFIX dcterms: <http://purl.org/dc/terms/>          # https://www.dublincore.org/specifications/dublin-core/dcmi-terms/
PREFIX cc: <http://creativecommons.org/ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> # https://www.w3.org/TR/rdf-schema/
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
PREFIX qrmm: <https://vocab.qworum.net/multi.ttl#>

[] qrmm:begin [].

# -- Document metadata --------------------------------------------------
<org.ttl>
  a foaf:Document;
  dcterms:description 'Organisation description.'@en;
  foaf:maker :DoğaArmangil;
  foaf:primaryTopic :id;
  cc:license <license/content.ttl#non-commercial>;
  
  a schema:CreativeWork;
  schema:encodingFormat
    'text/turtle',
    <https://www.iana.org/assignments/media-types/text/turtle>.


# -- Organisation --------------------------------------------------
:id
  a org:Organization;
  org:purpose    
    'Qworum is a provider of enterprise infrastructure software, with the overarching goal of making the web a fully fledged platform for applications.'@en;
  org:Site <locations.ttl#geneva>;

  a sd:Organization; # sd:Organization rdfs:subClassOf schema:Organization 
  schema:url <https://qworum.net>;
  schema:email 'info@qworum.net';
  schema:logo :logo, :logo-ascii-art.


# -- Media --------------------------------------------------
:logo
  a schema:ImageObject;
  schema:contentUrl <https://qworum.net/assets/images/Qworum-logo.svg>;
  schema:encodingFormat 'image/svg+xml';

  a prov:Entity;
  prov:wasAttributedTo :id.

:logo-ascii-art
  a schema:ImageObject;
  schema:contentUrl <https://qworum.net/assets/images/Qworum-logo.ascii>;
  schema:encodingFormat 
    'text/vnd.ascii-art', 
    <https://www.iana.org/assignments/media-types/text/vnd.ascii-art>;

  a prov:Entity;
  prov:wasGeneratedBy [
    # The ASCII Art Archive provides an online image conversion service, which was used here.
    a prov:Activity;
    prov:used :logo;
    prov:wasAssociatedWith :DoğaArmangil, :ascii-art-archive
  ];
  prov:wasDerivedFrom :portrait;
  prov:wasAttributedTo :id.

:ascii-art-archive
  a prov:Agent, schema:Organization;
  schema:sameAs <https://www.asciiart.eu/image-to-ascii>.


# -- Well-known roles -----------------------------------------------------------
:CEO
  a org:Role;
  rdfs:label
    'CEO'@en,
    'Vorstandsvorsitzender'@de,
    'İcra kurulu başkanı'@tr,
    'Directeur général'@fr.

:CTO
  a org:Role;
  rdfs:label
    'CTO'@en,
    'Technischer Direktor'@de,
    'Baş teknoloji sorumlusu'@tr,
    'Directeur technique'@fr.


# -- Posts -----------------------------------------------------------
:post1
  a org:Membership, schema:EmployeeRole;
  org:role         :CEO;
  org:organization :id;
  org:member       :DoğaArmangil;
  org:memberDuring :postInterval1.

:post2
  a org:Membership, schema:EmployeeRole;
  org:role         :CTO;
  org:organization :id;
  org:member       :DoğaArmangil;
  org:memberDuring :postInterval1.

:postInterval1
  a time:Interval; 
  time:hasBeginning [
    a time:Instant;
    # The time vocabulary now requires dates with timezones:
    # https://www.data2type.de/xml-xslt-xslfo/xml-schema/datentypen-referenz/xs-date
    time:inXSDDateTimeStamp '2022-01-22T00:00:00+01:00'^^xsd:dateTime
  ].


# -- Persons -----------------------------------------------------------
:DoğaArmangil
  a foaf:Person, schema:Person, sd:Person;
  schema:sameAs <DoğaArmangil.ttl#id>.


# -- PaaS -----------------------------------------------------------
:paas
  a cocoon:PaaS;
  cocoon:hasProvider :id;
  cocoon:hasServiceLevelAgreement [schema:sameAs <https://qworum.net/docs/legal/terms-of-service/>];
  cocoon:inJurisdiction <locations.ttl#geneva>;
  rdfs:seeAlso <https://qworum.net/en/plans/>.


# -- Software -----------------------------------------------------------
:browser-extension
  a sd:Software;
  sd:copyrightHolder :id;
  sd:author :DoğaArmangil;
  sd:programmingLanguage 'JavaScript';
  sd:hasAssumption 'This browser extension conforms to the "Manifest 3" extension specification.'@en;
  sd:hasDownloadURL 
    <https://chromewebstore.google.com/detail/qworum-the-service-web/leaofcglebjeebmnmlapbnfbjgfiaokg?hl=en>.

:javascript-module-for-web-pages
  a sd:Software;
  sd:copyrightHolder :id;
  sd:author :DoğaArmangil;
  sd:license <license/software.ttl#apache2>;
  sd:programmingLanguage 'JavaScript';
  sd:softwareRequirements 'Runs in any modern browser that has the Qworum browser extension activated.'@en;
  sd:hasDocumentation <https://qworum.net/docs/qworum-for-web-pages/latest/>;
  sd:readme <https://github.com/doga/qworum-for-web-pages/blob/master/README.md>;
  sd:hasSourceCode <https://github.com/doga/qworum-for-web-pages/>;
  sd:hasExample
    <https://github.com/doga/qworum-demo>,
    <https://github.com/doga/qworum-netlify-template>;
  sd:hasDownloadURL 
    <https://esm.sh/@qworum/qworum-for-web-pages>,
    <https://github.com/doga/qworum-for-web-pages/>.

#:vs-code-extension
#  a sd:Software;
#  sd:copyrightHolder :id;
#  sd:author :DoğaArmangil;
#  sd:license <license/software.ttl#apache2>;
#  sd:programmingLanguage 'JavaScript';
#  sd:softwareRequirements 'This is a Visual Studio Code extension.'@en;
#  sd:readme <https://github.com/doga/vscode-qworum/blob/master/README.md>;
#  sd:hasSourceCode <https://github.com/doga/vscode-qworum>;
#  sd:hasDownloadURL <https://marketplace.visualstudio.com/items?itemName=qworum.qworum>.

[] qrmm:end [].
