SPARQL Query Editor
About
Tables
Namespace Prefixes
Inference Rules
Macros
RDF Views
Conductor
Permalink
Extensions:
cxml
save to dav
sponge
User:
SPARQL
Default Data Set Name (Graph IRI)
Query Text
# What are the organizations in the KG that are categorized as a Public University in Wikidata? PREFIX nfdicore: <https://nfdi.fiz-karlsruhe.de/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX mwo: <http://purls.helmholtz-metadaten.de/mwo/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> PREFIX wd: <http://www.wikidata.org/entity/> SELECT DISTINCT ?organisation ?organisationlabel ?wikidataorganisation WHERE { ?organisation rdf:type nfdicore:Organization . # Get the entities of type nfdicore:Organization ?organisation rdfs:label ?organisationlabel . # Get the label of the organizations ?organisation owl:sameAs ?wikidataorganisation . # Get the equivalent Wikidata entity SERVICE <https://query.wikidata.org/sparql> { ?wikidataorganisation wdt:P31/wdt:P279* wd:Q875538 . # Check if the Wikidata entity is categorized as a Public University } }
Results Format
Auto
HTML
HTML (Basic Browsing Links)
Spreadsheet
XML
JSON
Javascript
Turtle
RDF/XML
N-Triples
CSV
TSV
Execution timeout
milliseconds
Options
Strict checking of void variables
Log debug info at the end of output (has no effect on some queries and output formats)
Generate SPARQL compilation report (instead of executing the query)