@prefix :      <https://w3id.org/survey-ontology#> .
@prefix dcmi-terms: <http://dublincore.org/documents/dcmi-terms/> .
@prefix ns:    <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix core:  <http://purl.org/vocab/frbr/core#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix terms: <http://purl.org/dc/terms/> .
@prefix vann:  <http://purl.org/vocab/vann/> .
@prefix wot:   <http://xmlns.com/wot/0.1/> .
@prefix prov:  <http://www.w3.org/ns/prov#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix dc:    <http://purl.org/dc/elements/1.1/> .

:hasStatus  a        owl:DatatypeProperty ;
        rdfs:domain  :SurveyProcedure ;
        rdfs:label   "has status" ;
        rdfs:range   xsd:string .

:ClosedAnswer  a         owl:Class ;
        rdfs:label       "Closed Answer" ;
        rdfs:subClassOf  :Answer .

:completedFor  a     owl:ObjectProperty ;
        rdfs:domain  :SurveyCompletionTask ;
        rdfs:label   "completed for" ;
        rdfs:range   :SurveyTarget .

:Talk   a                owl:Class ;
        rdfs:label       "Talk" ;
        rdfs:subClassOf  :SurveyElement .

:Slider  a          :QuestionVisualization , owl:NamedIndividual ;
        rdfs:label  "Slider" .

:Emoji  a           :QuestionVisualization , owl:NamedIndividual ;
        rdfs:label  "Emoji" .

<http://w3id.org/rv-ontology#Variable>
        a       owl:Class .

:MultipleChoiceQuestion
        a                owl:Class ;
        rdfs:label       "Multiple Choice Question" ;
        rdfs:subClassOf  :ClosedQuestion .

terms:license  a  owl:AnnotationProperty .

:SingleInputQuestion  a  owl:Class ;
        rdfs:label       "Single Input Question" ;
        rdfs:subClassOf  :OpenQuestion .

:hasOrderNumber  a   owl:DatatypeProperty ;
        rdfs:domain  :ClosedAnswer ;
        rdfs:label   "has order number" ;
        rdfs:range   xsd:integer .

dc:subject  a   owl:AnnotationProperty .

vann:preferredNamespaceUri
        a       owl:AnnotationProperty .

:hasAnswer  a        owl:ObjectProperty ;
        rdfs:domain  :CompletedQuestion ;
        rdfs:label   "has answer" ;
        rdfs:range   :Answer .

:SurveyDataSet  a        owl:Class ;
        rdfs:label       "Survey Dataset" ;
        rdfs:subClassOf  <http://purl.org/wf4ever/ro#Resource> , <http://purl.org/linked-data/cube#DataSet> .

:startsWith  a       owl:ObjectProperty ;
        rdfs:domain  :SurveyProcedure ;
        rdfs:label   "starts with" ;
        rdfs:range   :SurveyElement .

:LatentVariable  a       owl:Class ;
        rdfs:label       "Latent Variable" ;
        rdfs:subClassOf  <http://w3id.org/rv-ontology#Variable> .

foaf:homepage  a  owl:AnnotationProperty .

:hasLatentVariable  a  owl:ObjectProperty ;
        rdfs:domain  :Question ;
        rdfs:label   "has latent variable" ;
        rdfs:range   :LatentVariable .

:hasLink  a          owl:DatatypeProperty ;
        rdfs:domain  :Talk ;
        rdfs:label   "has link" ;
        rdfs:range   xsd:anyURI .

:ClosedQuestion  a       owl:Class ;
        rdfs:label       "Closed Question" ;
        rdfs:subClassOf  :Question .

:Scale  a           :QuestionVisualization , owl:NamedIndividual ;
        rdfs:label  "Scale" .

:MutipleInputQuestion
        a                owl:Class ;
        rdfs:label       "Multiple Input Question" ;
        rdfs:subClassOf  :OpenQuestion .

:leadsTo  a          owl:ObjectProperty ;
        rdfs:domain  :SurveyElement ;
        rdfs:label   "leads to" ;
        rdfs:range   :SurveyElement .

:CompletedQuestion  a    owl:Class ;
        rdfs:label       "Completed Question" ;
        rdfs:subClassOf  prov:Entity , <http://purl.org/wf4ever/wfdesc#Output> , <http://purl.org/linked-data/cube#Observation> .

dc:creator  a   owl:AnnotationProperty .

:CheckboxQuestion  a     owl:Class ;
        rdfs:label       "Checkbox Question" ;
        rdfs:subClassOf  :ClosedQuestion .

:Survey  a               owl:Class ;
        rdfs:label       "Survey" ;
        rdfs:subClassOf  <http://purl.org/wf4ever/ro#ResearchObject> .

:Question  a              owl:Class ;
        rdfs:label        "Question" ;
        rdfs:subClassOf   :SurveyElement ;
        owl:disjointWith  :Talk .

:Participant  a          owl:Class ;
        rdfs:label       "Participant" ;
        rdfs:subClassOf  prov:Agent .

:SurveyProcedure  a      owl:Class ;
        rdfs:label       "Survey Procedure" ;
        rdfs:subClassOf  <http://purl.org/wf4ever/wfdesc#Process> , <http://purl.org/wf4ever/ro#Resource> .

:SurveyElement  a        owl:Class ;
        rdfs:label       "Survey Element" ;
        rdfs:subClassOf  owl:Thing .

:       a                              owl:NamedIndividual , owl:Ontology ;
        rdfs:comment                   "Ontology for surveys based on the Coney data model."@en ;
        rdfs:label                     "Survey Ontology"@en ;
        dc:contributor                 "Work on the Survey Ontology and Coney (https://survey.actionproject.eu/coney/) was partially supported by the ACTION project (grant agreement number 824603), co-funded by the European Commission under the Horizon 2020 Framework Programme."@en ;
        dc:creator                     "Irene Celino"@en , "Mario Scrocca"@en , "Damiano Scandolari"@en , "Gloria Re Calegari"@en ;
        dc:rights                      "The Survey Ontology is available under the Creative Commons Attribution 3.0 Unported license; see http://creativecommons.org/licenses/by/3.0/. In a nutshell, you are free to copy, distribute and transmit the work; to remix/adapt the work (e.g. to import the ontology and create specializations of its elements), as long as you attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). Proper Attribution: Simply include the statement \"This work is based on the Survey Ontology, developed by the Knowledge Technologies group at Cefriel, Milan\" and link back to https://w3id.org/survey-ontology"@en ;
        dc:subject                     "Survey, Question, Answer, Variable"@en ;
        dc:title                       "The Survey Ontology"@en ;
        terms:license                  <http://creativecommons.org/licenses/by/3.0/> ;
        vann:preferredNamespacePrefix  "sur" ;
        vann:preferredNamespaceUri     "https://w3id.org/survey-ontology#" ;
        owl:imports                    <http://purl.org/wf4ever/ro#> , <http://purl.org/wf4ever/wfdesc#> , <http://w3id.org/rv-ontology#> , <http://purl.org/linked-data/cube#> , prov: , <http://purl.org/wf4ever/wfprov#> ;
        owl:versionInfo                "V 1.0, Release 2020"@en ;
        foaf:homepage                  <https://w3id.org/survey-ontology> .

:hasTitle  a         owl:DatatypeProperty ;
        rdfs:domain  :SurveyProcedure ;
        rdfs:label   "has title" ;
        rdfs:range   xsd:string .

:hasValue  a         owl:DatatypeProperty ;
        rdfs:domain  :ClosedAnswer ;
        rdfs:label   "has value" ;
        rdfs:range   xsd:float .

:SurveyCompletionTask
        a                owl:Class ;
        rdfs:label       "Survey Completion Task" ;
        rdfs:subClassOf  <http://purl.org/wf4ever/wfprov#ProcessRun> .

:answeredIn  a       owl:ObjectProperty ;
        rdfs:domain  :CompletedQuestion ;
        rdfs:label   "answered in" ;
        rdfs:range   :SurveyCompletionTask .

:Dropdown  a        :QuestionVisualization , owl:NamedIndividual ;
        rdfs:label  "Dropdown" .

:SurveyTarget  a         owl:Class ;
        rdfs:label       "Survey Target" ;
        rdfs:subClassOf  owl:Thing .

:OpenQuestion  a         owl:Class ;
        rdfs:label       "Open Question" ;
        rdfs:subClassOf  :Question .

:CompletedSurvey  a      owl:Class ;
        rdfs:label       "Completed Survey" ;
        rdfs:subClassOf  <http://purl.org/wf4ever/wfprov#Artifact> , <http://purl.org/linked-data/cube#Slice> .

:hasText  a          owl:DatatypeProperty ;
        rdfs:domain  :SurveyElement ;
        rdfs:label   "has text" ;
        rdfs:range   xsd:string .

:completesQuestion  a  owl:ObjectProperty ;
        rdfs:domain  :CompletedQuestion ;
        rdfs:label   "completes question" ;
        rdfs:range   :Question .

:inSurveyProcedure  a  owl:ObjectProperty ;
        rdfs:domain  :SurveyElement ;
        rdfs:label   "in survey procedure" ;
        rdfs:range   :SurveyProcedure .

:sessionId  a        owl:DatatypeProperty ;
        rdfs:domain  :SurveyCompletionTask ;
        rdfs:label   "session id" ;
        rdfs:range   xsd:string .

:OpenAnswer  a           owl:Class ;
        rdfs:label       "Open Answer" ;
        rdfs:subClassOf  :Answer .

vann:preferredNamespacePrefix
        a       owl:AnnotationProperty .

:QuestionVisualization
        a                owl:Class ;
        rdfs:label       "Question Visualization" ;
        rdfs:subClassOf  owl:Thing .

:hasPoints  a        owl:DatatypeProperty ;
        rdfs:domain  :ClosedAnswer ;
        rdfs:label   "has points" ;
        rdfs:range   xsd:float .

<http://w3id.org/rv-ontology#Model>
        a                owl:Class ;
        rdfs:subClassOf  <http://purl.org/wf4ever/ro#Resource> .

:hasCompletionTimestamp
        a            owl:DatatypeProperty ;
        rdfs:domain  :CompletedQuestion ;
        rdfs:label   "has completion timestamp" ;
        rdfs:range   xsd:dateTime .

:Option  a          :QuestionVisualization , owl:NamedIndividual ;
        rdfs:label  "Option" .

:hasVisualization  a  owl:ObjectProperty ;
        rdfs:domain  :MultipleChoiceQuestion ;
        rdfs:label   "has visualization" ;
        rdfs:range   :QuestionVisualization .

:hasAnswerText  a    owl:DatatypeProperty ;
        rdfs:domain  :CompletedQuestion ;
        rdfs:label   "has answer text" ;
        rdfs:range   xsd:string .

dc:contributor  a  owl:AnnotationProperty .

:participantId  a    owl:DatatypeProperty ;
        rdfs:domain  :Participant ;
        rdfs:label   "participant id" ;
        rdfs:range   xsd:string .

<https://w3id.org/survey-ontology>
        a       owl:NamedIndividual .

:ObservableVariable  a   owl:Class ;
        rdfs:label       "Observable Variable" ;
        rdfs:subClassOf  <http://w3id.org/rv-ontology#Variable> .

:hasObservableVariable
        a            owl:ObjectProperty ;
        rdfs:domain  :Question ;
        rdfs:label   "has observable variable" ;
        rdfs:range   :ObservableVariable .

dc:rights  a    owl:AnnotationProperty .

dc:title  a     owl:AnnotationProperty .

:Answer  a                owl:Class ;
        rdfs:label        "Answer" ;
        rdfs:subClassOf   :SurveyElement ;
        owl:disjointWith  :Talk , :Question .
