ivci:nuva_sparql_queries

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ivci:nuva_sparql_queries [2023/09/03 13:54] – created fkaagivci:nuva_sparql_queries [2024/12/02 11:48] (current) fkaag
Line 1: Line 1:
 ====== NUVA SPARQL Queries ====== ====== NUVA SPARQL Queries ======
-These can be run against the [[https://smt.esante.gouv.fr/sparql/|SPARQL Query engine]]+These can be run against the [[https://graph.ivci.org/sparql|SPARQL Query engine]]
  
 <code> <code>
Line 6: Line 6:
 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
 PREFIX skos: <http://www.w3.org/2004/02/skos/core#>  PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
-PREFIX nuva: <http://data.esante.gouv.fr/NUVA#>  +PREFIX nuva: <http://ivci.org/NUVA#>  
-PREFIX nuvs: <http://data.esante.gouv.fr/NUVA/nuvs#> +PREFIX nuvs: <http://ivci.org/NUVA/nuvs#> 
-SELECT ?vac ?vl FROM <http://data.esante.gouv.fr/graph/terminologie-nuva> WHERE { +SELECT ?vac ?vl WHERE { 
  ?dis rdfs:subClassOf nuva:Disease .  ?dis rdfs:subClassOf nuva:Disease .
  ?dis rdfs:label "Smallpox-Monkeypox"@en .  ?dis rdfs:label "Smallpox-Monkeypox"@en .
Line 22: Line 22:
 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
 PREFIX skos: <http://www.w3.org/2004/02/skos/core#>  PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
-PREFIX nuva: <http://data.esante.gouv.fr/NUVA#>  +PREFIX nuva: <http://ivci.org/NUVA#>  
-PREFIX nuvs: <http://data.esante.gouv.fr/NUVA/nuvs#> +PREFIX nuvs: <http://ivci.org/NUVA/nuvs#> 
-SELECT ?vac ?vl FROM <http://data.esante.gouv.fr/graph/terminologie-nuva> WHERE {+SELECT ?vac ?vl WHERE {
     ?val1 skos:altLabel 'd'@en .     ?val1 skos:altLabel 'd'@en .
     ?val2 skos:altLabel 'T'@en .     ?val2 skos:altLabel 'T'@en .
Line 43: Line 43:
 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
 PREFIX skos: <http://www.w3.org/2004/02/skos/core#>  PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
-PREFIX nuva: <http://data.esante.gouv.fr/NUVA#>  +PREFIX nuva: <http://ivci.org/NUVA#>  
-PREFIX nuvs: <http://data.esante.gouv.fr/NUVA/nuvs#> +PREFIX nuvs: <http://ivci.org/NUVA/nuvs#> 
-SELECT ?vac ?vl ?cnk FROM <http://data.esante.gouv.fr/graph/terminologie-nuva> WHERE { +SELECT ?vac ?vl ?cnk WHERE { 
  ?vac skos:exactMatch nuva:CIS-65017887 .  ?vac skos:exactMatch nuva:CIS-65017887 .
  ?vac rdfs:label ?vl .  ?vac rdfs:label ?vl .
Line 57: Line 57:
 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
 PREFIX skos: <http://www.w3.org/2004/02/skos/core#>  PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
-PREFIX nuva: <http://data.esante.gouv.fr/NUVA#>  +PREFIX nuva: <http://ivci.org/NUVA#>  
-PREFIX nuvs: <http://data.esante.gouv.fr/NUVA/nuvs#> +PREFIX nuvs: <http://ivci.org/NUVA/nuvs#> 
-SELECT DISTINCT ?vac ?lvac FROM <http://data.esante.gouv.fr/graph/terminologie-nuva> WHERE { +SELECT DISTINCT ?vac ?lvac WHERE { 
  ?vac rdfs:subClassOf nuva:Vaccine .   ?vac rdfs:subClassOf nuva:Vaccine . 
  ?vac rdfs:label ?lvac FILTER (lang(?lvac)='fr'||lang(?lvac)='').   ?vac rdfs:label ?lvac FILTER (lang(?lvac)='fr'||lang(?lvac)=''). 
Line 75: Line 75:
 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
 PREFIX skos: <http://www.w3.org/2004/02/skos/core#>  PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
-PREFIX nuva: <http://data.esante.gouv.fr/NUVA#>  +PREFIX nuva: <http://ivci.org/NUVA#>  
-PREFIX nuvs: <http://data.esante.gouv.fr/NUVA/nuvs#> +PREFIX nuvs: <http://ivci.org/NUVA/nuvs#> 
-SELECT ?vac ?lvac FROM <http://data.esante.gouv.fr/graph/terminologie-nuva> WHERE { +SELECT ?vac ?lvac WHERE { 
  ?rvac rdfs:label "BOOSTRIX" .  ?rvac rdfs:label "BOOSTRIX" .
  ?vac rdfs:subClassOf nuva:Vaccine .   ?vac rdfs:subClassOf nuva:Vaccine . 
Line 98: Line 98:
 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
 PREFIX skos: <http://www.w3.org/2004/02/skos/core#>  PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
-PREFIX nuva: <http://data.esante.gouv.fr/NUVA#>  +PREFIX nuva: <http://ivci.org/NUVA#>  
-PREFIX nuvs: <http://data.esante.gouv.fr/NUVA/nuvs#> +PREFIX nuvs: <http://ivci.org/NUVA/nuvs#> 
-SELECT ?vac ?lvac ?atc FROM <http://data.esante.gouv.fr/graph/terminologie-nuva> WHERE { +SELECT ?vac ?lvac ?atc WHERE { 
  ?rvac rdfs:label "BOOSTRIX" .  ?rvac rdfs:label "BOOSTRIX" .
  ?vac rdfs:subClassOf nuva:Vaccine .   ?vac rdfs:subClassOf nuva:Vaccine . 
  • ivci/nuva_sparql_queries.1693749256.txt.gz
  • Last modified: 2023/09/03 13:54
  • by fkaag