@prefix lsqv: . @prefix cogs: . @prefix dct: . @prefix owl: . @prefix prov: . @prefix rdf: . @prefix rdfs: . @prefix sd: . @prefix skos: . @prefix spin: . @prefix void: . @prefix xsd: . lsqv: a owl:Ontology ; rdfs:label "The Linked SPARQL Queries Vocabulary"@en ; dct:creator ; dct:modified "2021-07-07"^^xsd:date . lsqv:Query a rdfs:Class , owl:Class ; rdfs:label "Query"@en ; rdfs:comment "A query unique in a particular log that may have multiple executions in that log"@en . lsqv:QueryExec a rdfs:Class , owl:Class ; rdfs:label "Query Execution"@en ; rdfs:comment "An execution of a query or a sub-query"@en . lsqv:LocalExec a rdfs:Class , owl:Class ; rdfs:subClassOf lsqv:QueryExec ; rdfs:label "Local Execution"@en ; rdfs:comment "An execution of a query in a local/controlled setting"@en . lsqv:RemoteExec a rdfs:Class , owl:Class ; rdfs:subClassOf lsqv:QueryExec ; rdfs:label "Remote Execution"@en ; rdfs:comment "An execution of a query over the remote endpoint (e.g., as recorded in a remote log)"@en . lsqv:BgpExec a rdfs:Class , owl:Class ; rdfs:subClassOf lsqv:QueryExec ; rdfs:label "BGP Execution"@en ; rdfs:comment "An execution of a query encoding a basic graph pattern"@en . lsqv:BgpVarExec a rdfs:Class , owl:Class ; rdfs:subClassOf lsqv:QueryExec ; rdfs:label "BGP Variable Execution"@en ; rdfs:comment "An execution of a query encoding a sub-basic graph pattern sharing a common (join) variable"@en . lsqv:TpInBgpExec a rdfs:Class , owl:Class ; rdfs:subClassOf lsqv:QueryExec ; rdfs:label "TP in BGP Execution"@en ; rdfs:comment "An execution of a query encoding a triple pattern within a basic graph pattern"@en . lsqv:TpExec a rdfs:Class , owl:Class ; rdfs:subClassOf lsqv:BgpVarExec ; rdfs:label "TP Execution"@en ; rdfs:comment "An execution of a query encoding a triple pattern (i.e., a basic graph pattern with one triple pattern)"@en . lsqv:BenchmarkRun a rdfs:Class , owl:Class ; rdfs:subClassOf prov:Activity ; rdfs:label "Benchmark Run"@en ; rdfs:comment "A sequence of local executions of queries"@en . lsqv:StructuralFeatures a rdfs:Class , owl:Class ; rdfs:label "Structural Features"@en ; rdfs:comment "A description of the static/structural features of a query"@en . lsqv:Bgp a rdfs:Class , owl:Class ; rdfs:label "Basic graph pattern"@en ; rdfs:comment "A basic graph pattern"@en . lsqv:Tp a rdfs:Class , owl:Class ; rdfs:label "Triple pattern"@en ; rdfs:comment "A triple pattern"@en . lsqv:TpInBgp a rdfs:Class , owl:Class ; rdfs:label "Triple pattern in a basic graph pattern"@en ; rdfs:comment "A triple pattern in the context of a specific basic graph pattern"@en . lsqv:Vertex a rdfs:Class , owl:Class ; rdfs:label "Basic graph pattern vertex"@en ; rdfs:comment "A vertex in a basic graph pattern"@en . lsqv:Edge a rdfs:Class , owl:Class ; rdfs:label "Basic graph pattern (hyper)edge"@en ; rdfs:comment "A (hyper)edge in a basic graph pattern"@en . lsqv:hasSpin a rdf:Property , owl:ObjectProperty ; rdfs:label "has spin query"@en ; rdfs:comment "relates a query in a log to its SPIN representation"@en ; rdfs:domain lsqv:Query ; rdfs:range spin:Query . lsqv:hasExec a rdf:Property , owl:ObjectProperty ; rdfs:label "has execution"@en ; rdfs:comment "relates a query (possibly a sub-query or query element) to its execution"@en ; rdfs:range lsqv:QueryExec . lsqv:hasSubBgpExec a rdf:Property , owl:ObjectProperty ; rdfs:label "has sub-basic graph pattern execution"@en ; rdfs:comment "relates a basic graph pattern to the execution of one of it sub-basic graph patterns"@en ; rdfs:range lsqv:BgpExec . lsqv:hasRemoteExec a rdf:Property , owl:ObjectProperty ; rdfs:label "has remote execution"@en ; rdfs:comment "relates a query (possibly a sub-query or query element) to its remote execution"@en ; rdfs:subPropertyOf lsqv:hasExec ; rdfs:range lsqv:RemoteExec . lsqv:hasLocalExec a rdf:Property , owl:ObjectProperty ; rdfs:label "has local execution"@en ; rdfs:comment "relates a query (possibly a sub-query or query element) to its local execution"@en ; rdfs:subPropertyOf lsqv:hasExec ; rdfs:range lsqv:LocalExec . lsqv:hasBgp a rdf:Property , owl:ObjectProperty ; rdfs:label "has basic graph pattern"@en ; rdfs:comment "contains a (complete) basic graph pattern"@en ; rdfs:range lsqv:Bgp . lsqv:hasSubBgp a rdf:Property , owl:ObjectProperty ; rdfs:label "has sub-basic graph pattern"@en ; rdfs:comment "contains a sub-basic graph pattern"@en ; rdfs:range lsqv:Bgp . lsqv:hasTp a rdf:Property , owl:ObjectProperty ; rdfs:label "has triple pattern"@en ; rdfs:comment "contains a triple pattern"@en ; rdfs:range lsqv:Tp . lsqv:hasTpInBgp a rdf:Property , owl:ObjectProperty ; rdfs:label "has triple pattern in a basic graph pattern"@en ; rdfs:comment "contains a triple pattern within a basic graph pattern"@en ; rdfs:range lsqv:TpInBgp . lsqv:extensionQuery a rdf:Property , owl:ObjectProperty ; rdfs:label "extension query"@en ; rdfs:comment "denotes a wrapper query that returns the same results as a pattern (e.g., wrapping SELECT * WHERE { ... })"@en ; rdfs:range lsqv:Query . lsqv:hasBgpNode a rdf:Property , owl:ObjectProperty ; rdfs:label "has basic graph pattern node (or vertex)"@en ; rdfs:comment "denotes a vertex within a basic graph pattern"@en ; rdfs:range lsqv:Vertex . lsqv:hasEdge a rdf:Property , owl:ObjectProperty ; rdfs:label "has basic graph pattern (hyper)edge"@en ; rdfs:comment "denotes a (hyper)edge within a basic graph pattern"@en ; rdfs:range lsqv:Edge . lsqv:in a rdf:Property , owl:ObjectProperty ; rdfs:label "inward edge"@en ; rdfs:comment "denotes an inward (hyper)edge for this vertex (aka. node)"@en ; rdfs:domain lsqv:Vertex ; rdfs:range lsqv:Edge . lsqv:out a rdf:Property , owl:ObjectProperty ; rdfs:label "outward edge"@en ; rdfs:comment "denotes an outward (hyper)edge for this vertex (aka. node)"@en ; rdfs:domain lsqv:Vertex ; rdfs:range lsqv:Edge . lsqv:proxyFor a rdf:Property , owl:ObjectProperty ; rdfs:label "proxy for"@en ; rdfs:comment "denotes the term forming a vertex (aka. node)"@en ; rdfs:domain lsqv:Vertex . lsqv:hasStructuralFeatures a rdf:Property , owl:ObjectProperty ; rdfs:label "has structural features"@en ; rdfs:comment "relates a query to its structural (aka. static) features"@en ; rdfs:domain lsqv:Query ; rdfs:range lsqv:StructuralFeatures . lsqv:dataset a rdf:Property , owl:ObjectProperty ; rdfs:label "execution dataset"@en ; rdfs:comment "the VoID dataset on which a given query execution was run"@en ; rdfs:domain lsqv:QueryExec ; rdfs:range void:Dataset . lsqv:service a rdf:Property , owl:ObjectProperty ; rdfs:label "execution service"@en ; rdfs:comment "the SPARQL service on which a given query execution was run"@en ; rdfs:domain lsqv:QueryExec ; rdfs:range sd:Service . lsqv:endpoint a rdf:Property , owl:ObjectProperty ; rdfs:label "execution endpoint"@en ; rdfs:comment "the endpoint on which a given query execution was run"@en ; rdfs:domain lsqv:QueryExec ; rdfs:range cogs:Endpoint ; owl:propertyChainAxiom ( lsqv:dataset void:sparqlEndpoint ) , ( lsqv:service sd:endpoint ) . lsqv:usesFeature a rdf:Property , owl:ObjectProperty ; rdfs:label "uses feature"@en ; rdfs:comment "links structural features of a query to individual SPARQL features used" ; rdfs:domain lsqv:StructuralFeatures ; rdfs:range sd:Feature . lsqv:text a rdf:Property , owl:DatatypeProperty ; rdfs:label "text"@en ; rdfs:comment "textual expression in SPARQL syntax" ; rdfs:range xsd:string . lsqv:hash a rdf:Property , owl:DatatypeProperty ; rdfs:label "hash"@en ; rdfs:comment "a hash of the text" ; rdfs:range xsd:string . lsqv:hostHash a rdf:Property , owl:DatatypeProperty ; rdfs:label "host hash"@en ; rdfs:comment "a hash of the hostname or IP" ; rdfs:range xsd:string . lsqv:countingDuration a rdf:Property , owl:DatatypeProperty ; rdfs:label "counting duration"@en ; rdfs:comment "the duration taken to count results" ; rdfs:range xsd:decimal . lsqv:countingDuration a rdf:Property , owl:DatatypeProperty ; rdfs:label "counting duration (s)"@en ; rdfs:comment "the duration taken to count results in seconds" ; rdfs:range xsd:decimal . lsqv:evalDuration a rdf:Property , owl:DatatypeProperty ; rdfs:label "evaluation duration (s)"@en ; rdfs:comment "the duration taken to evaluate/execute the query in seconds" ; rdfs:range xsd:decimal . lsqv:resultCount a rdf:Property , owl:DatatypeProperty ; rdfs:label "result count"@en ; rdfs:comment "the number of results generated by an execution"@en ; rdfs:range xsd:integer . lsqv:serializedResult a rdf:Property , owl:DatatypeProperty ; rdfs:label "serialized result"@en ; rdfs:comment "the results generated by an execution serialized in JSON format"@en ; rdfs:range xsd:string . lsqv:joinVertexCount a rdf:Property , owl:DatatypeProperty ; rdfs:label "join vertex count"@en ; rdfs:comment "the number of vertices (aka. nodes) involved in a join"@en ; rdfs:range xsd:integer . lsqv:joinVertexDegreeMean a rdf:Property , owl:DatatypeProperty ; rdfs:label "join vertex degree mean"@en ; rdfs:comment "the average degree of vertices (aka. nodes) involved in a join"@en ; rdfs:range xsd:decimal . lsqv:joinVertexDegreeMedian a rdf:Property , owl:DatatypeProperty ; rdfs:label "join vertex degree median"@en ; rdfs:comment "the median degree of vertices (aka. nodes) involved in a join"@en ; rdfs:range xsd:integer . lsqv:joinVertexDegreeMax a rdf:Property , owl:DatatypeProperty ; rdfs:label "join vertex degree max"@en ; rdfs:comment "the maximum degree of a single vertex (aka. node) involved in a join"@en ; rdfs:range xsd:integer . lsqv:joinVertexDegreeMin a rdf:Property , owl:DatatypeProperty ; rdfs:label "join vertex degree min"@en ; rdfs:comment "the minimum degree of a single vertex (aka. node) involved in a join"@en ; rdfs:range xsd:integer . lsqv:projectVarCount a rdf:Property , owl:DatatypeProperty ; rdfs:label "projected variable count"@en ; rdfs:comment "the number of projected variables for a query" ; rdfs:range xsd:integer . lsqv:tpCount a rdf:Property , owl:DatatypeProperty ; rdfs:label "triple pattern count"@en ; rdfs:comment "the number of triple patterns contained in a query" ; rdfs:range xsd:integer . lsqv:tpInBgpCountMean a rdf:Property , owl:DatatypeProperty ; rdfs:label "mean count of triple patterns per basic graph pattern"@en ; rdfs:comment "the average number of triple patterns contained in each basic graph pattern" ; rdfs:range xsd:decimal . lsqv:tpInBgpCountMedian a rdf:Property , owl:DatatypeProperty ; rdfs:label "median count of triple patterns per basic graph pattern"@en ; rdfs:comment "the median number of triple patterns contained in each basic graph pattern" ; rdfs:range xsd:integer . lsqv:tpInBgpCountMax a rdf:Property , owl:DatatypeProperty ; rdfs:label "max count of triple patterns in basic graph pattern"@en ; rdfs:comment "the maximum number of triple patterns contained in a single basic graph pattern" ; rdfs:range xsd:integer . lsqv:tpInBgpCountMin a rdf:Property , owl:DatatypeProperty ; rdfs:label "minimum count of triple patterns in basic graph patterns"@en ; rdfs:comment "the minimum number of triple patterns contained in each basic graph pattern" ; rdfs:range xsd:integer . lsqv:tpToBgpRatio a rdf:Property , owl:DatatypeProperty ; rdfs:label "triple pattern to basic graph pattern ratio"@en ; rdfs:comment "the ratio of the number of results for the triple pattern versus the number of results for the basic graph pattern containing it" ; rdfs:range xsd:decimal . lsqv:tpToGraphRatio a rdf:Property , owl:DatatypeProperty ; rdfs:label "triple pattern to graph ratio"@en ; rdfs:comment "the ratio of the number of results returned by the triple pattern versus the number of triples in the graph (i.e., selectivity)" ; rdfs:range xsd:decimal . lsqv:bgpRestrictedTpSel a rdf:Property , owl:DatatypeProperty ; rdfs:label "basic graph pattern-restricted triple pattern selectivity"@en ; rdfs:comment "the ratio of results for the triple pattern that are compatible with the results for the basic graph pattern versus all results for the triple pattern" ; rdfs:range xsd:decimal . lsqv:tpSelJoinVarRestricted a rdf:Property , owl:DatatypeProperty ; rdfs:label "join variable-restricted triple pattern selectivity"@en ; rdfs:comment "the ratio of results for the triple pattern that are compatible with the results produced by a join versus all results for the triple pattern" ; rdfs:range xsd:decimal .