Example queries for RVO ontology:

Copy and Paste those prefixes in your SPARQL Endpoint:

Explore Links Between Variables

Explore Links Between Variables
# Questions SPARQL
G1.1 What are the variables which are linked to a certain variable V1? SELECT DISTINCT ?v1Label ?v2Lable
WHERE { ?variable rdf:type analytics:LinkedVariables.
?variable analytics:firstVariable ?v1.
?v1 rdfs:label ?v1Label.
?variable analytics:secondVariable ?v2.
?v2 rdfs:label ?v2Lable. }
G1.2 What are the variables which have a causal impact in V1? SELECT DISTINCT ?causeVar ?effectVar
WHERE { ?variable rdf:type analytics:LinkedVariables.
?variable analytics:firstVariable ?v1.
?v1 rdfs:label ?effectVar.
?variable analytics:secondVariable ?v2.
?v2 rdfs:label ?causeVar.
?variable analytics:linkType analytics:Causal. }
G1.3 What type of links exist between two variables?
What are the possibilities for links between two variables?
SELECT DISTINCT ?linkType
WHERE { ?linkType rdfs:subClassOf analytics:LinkType. }
G1.4 What is the origin of the links between two variables? SELECT DISTINCT ?v1Lable ?v2Lable ?origin
WHERE { ?variable rdf:type analytics:LinkedVariables.
?variable analytics:firstVariable ?v1.
?v1 rdfs:label ?v1Lable.
?variable analytics:secondVariable ?v2.
?v2 rdfs:label ?v2Lable.
?variable analytics:origin ?origin. }
G1.5 What are the variables which are hypothetically linked to variables V1? SELECT DISTINCT ?causeVar ?effectVar
WHERE { ?variable rdf:type analytics:LinkedVariables.
?variable analytics:firstVariable ?v1.
?v1 rdfs:label ?effectVar.
?variable analytics:secondVariable ?v2.
?v2 rdfs:label ?causeVar.
?variable analytics:linkType analytics:InvestigativeCausal. }
G1.6 Who is the author of the academic reference which establishes a causal link between V1 and V2? SELECT DISTINCT ?causeVar ?effectVar ?paperTitle ?author ?firstName ?lastName
WHERE { ?variable rdf:type analytics:LinkedVariables.
?variable analytics:firstVariable ?v1.
?v1 rdfs:label ?effectVar.
?variable analytics:secondVariable ?v2.
?v2 rdfs:label ?causeVar.
?variable analytics:origin ?origin.
?origin analytics:referenceOfOrigin ?ref.
?ref rdf:type fabio:ResearchPaper.
?ref frbr:realization ?expression.
?expression dcterms:title ?paperTitle.
?ref dcterms:creator ?author.
?author foaf:givenName ?firstName.
?author foaf:familyName ?lastName. }
G1.7 What is the statitical learning model which links between variable V1 and V2? SELECT DISTINCT ?causeVar ?effectVar ?modelName
WHERE { ?variable rdf:type analytics:LinkedVariables.
?variable analytics:firstVariable ?v1.
?v1 rdfs:label ?effectVar.
?variable analytics:secondVariable ?v2.
?v2 rdfs:label ?causeVar.
?variable analytics:origin ?origin.
?origin analytics:referenceOfOrigin ?ref.
?ref rdf:type analytics:StatisticalModel.
?ref rdfs:label ?modelName }
G1.8 What is the formula (mathematical model) which link between variable V1 and V2? SELECT DISTINCT ?causeVar ?effectVar ?modelName
WHERE { ?variable rdf:type analytics:LinkedVariables.
?variable analytics:firstVariable ?v1.
?v1 rdfs:label ?effectVar.
?variable analytics:secondVariable ?v2.
?v2 rdfs:label ?causeVar.
?variable analytics:origin ?origin.
?origin analytics:referenceOfOrigin ?ref.
?ref rdf:type analytics:MathematicalModel.
?ref rdfs:label ?modelName }
G1.9 Who are the people who established the link between V1 and V2? SELECT DISTINCT ?causeVar ?effectVar ?expertName
WHERE { ?variable rdf:type analytics:LinkedVariables.
?variable analytics:firstVariable ?v1.
?v1 rdfs:label ?effectVar.
?variable analytics:secondVariable ?v2.
?v2 rdfs:label ?causeVar.
?variable analytics:origin ?origin.
?origin analytics:referenceOfOrigin ?ref.
?ref rdf:type foaf:Person.
?ref rdfs:label ?expertName }
G1.10 What is the value of the coefficeint in the causal relationship between V1 and V2? SELECT DISTINCT ?causeVar ?effectVar ?coefficient
WHERE { ?variable rdf:type analytics:LinkedVariables.
?variable analytics:firstVariable ?v1.
?v1 rdfs:label ?effectVar.
?variable analytics:secondVariable ?v2.
?v2 rdfs:label ?causeVar.
?variable analytics:linkType analytics:Causal.
?variable analytics:coefficients ?coefficient }
G1.11 What is (are) the measure(s) for a certain variable? SELECT DISTINCT ?varLable ?measureLabel
WHERE { ?variable rdf:type analytics:Variable.
?variable rdfs:label ?varLable.
?variable analytics:measuredBy ?measure.
?measure rdfs:label ?measureLabel }


Explore Links Between Variable and Measure

Explore Links Between Variable and Measure
# Questions SPARQL
G2.1 Which dataset contains the measure for a certain variables? SELECT DISTINCT ?variable ?measure ?dataset
WHERE { ?variable rdf:type analytics:Variable.
?variable analytics:measuredBy ?measure.
?dataStructure analytics:containMeasure ?measure.
?dataset qb:structure ?dataStructure.
?dataset rdf:type qb:Dataset. }
G2.2 What is the reference (person/paper) which created a certain dataset? SELECT DISTINCT ?dataset ?paperTitle ?firstName ?lastName
WHERE { ?dataset rdf:type analytics:Dataset.
?variable analytics:origin ?origin.
?origin analytics:referenceOfOrigin ?ref.
OPTIONAL{ ?ref rdf:type fabio:ResearchPaper.
?ref frbr:realization ?expression.
?expression dcterms:title ?paperTitle.}
OPTIONAL{ ?ref rdf:type foaf:Person.
?ref foaf:givenName ?firstName.
?ref foaf:familyName ?lastName.}
}
G2.3 What type of links exist between two variables?
What are the possibilities for links between two variables?
SELECT DISTINCT ?linkType
WHERE { ?linkType rdfs:subClassOf analytics:LinkType. }


Explore Concepts

Explore Concepts
# Questions SPARQL
G3.1 Whats is (are) the concepts (s) which a certain variable represents? SELECT DISTINCT ?concept ?variable
WHERE { ?var rdf:type analytics:Variable.
?var rdfs:label ?variable.
?var analytics:operationalize ?concept. }
G3.2 What is the meaning for a certain concepts linked to a variable? SELECT DISTINCT ?variable ?concept ?description
WHERE { ?var rdf:type analytics:Variable.
?var rdfs:label ?variable.
?var analytics:operationalize ?concept.
?concept rdfs:comment ?description. }
G3.3 Which reference has created a certain variable as the metric for concept C1?
What are the possibilities for links between two variables?
SELECT DISTINCT ?concept ?variable ?paperTitle
WHERE { ?var rdf:type analytics:Variable.
?var rdfs:label ?variable.
?var analytics:operationalize ?concept.
?var analytics:origin ?origin.
?origin analytics:referenceOfOrigin ?ref.
?ref rdf:type fabio:ResearchPaper.
?ref frbr:realization ?expression.
?expression dcterms:title ?paperTitle. }