query-f41e1e84d493ffec60d7b02ef9d631dd

rq turtle/ttl

StoyanDim

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?s ?sLabel ?property ?propertyLabel ?o ?oLabel
WHERE
{
  ?s rdfs:label | skos:altLabel "optimization"@en . # Look for both labels and aliases
  ?s ?p ?o .
  ?property wikibase:directClaim ?p .
  MINUS { ?property wikibase:propertyType wikibase:ExternalId . } # Remode external identifiers from the result
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?s

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?o"):::projected v2("?p") v4("?property"):::projected v1("?s"):::projected c8(["bd:serviceParam"]):::iri c2([soptimization^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"]):::literal c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wikibase:ExternalId"]):::iri subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"skos:altLabel"--> c2 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"rdfs:label"--> c2 end union0r <== or ==> union0l end v1 -->v2--> v3 v4 --"wikibase:directClaim"--> v2 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v4 --"wikibase:propertyType"--> c6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end