query-d58385d2c824b80d9acae4dec94c0f5d

rq turtle/ttl

TODO

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#>
SELECT DISTINCT ?ent ?wdtProperty1 ?val
WHERE
{ 

{
  SELECT ?wdtProperty1 ?ent
  WHERE
  {
    [] rdfs:label|skos:altLabel "date of birth"@en; 
       wikibase:directClaim ?wdtProperty1. 

    ?ent rdfs:label|skos:altLabel "Barack Obama"@en. 
  }
}  ?ent ?wdtProperty1 ?val .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?ent"):::projected v3("?val"):::projected v1("?wdtProperty1"):::projected a1((" ")) c5([sBarack Obama^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"]):::literal c2([sdate of birth^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"]):::literal subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; a1 --"skos:altLabel"--> c2 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; a1 --"rdfs:label"--> c2 end union0r <== or ==> union0l end a1 --"wikibase:directClaim"--> v1 subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v2 --"skos:altLabel"--> c5 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v2 --"rdfs:label"--> c5 end union1r <== or ==> union1l end v2 -->v1--> v3