query-ca9ab0cdfd17c7a4a8603b80ef9600ce

rq turtle/ttl

articles scientifiques non associés à une publication, possédant "GRB" dans leur libellé et dont l'identifiant NASA ADS, unique identifiant externe de l'élément, contient les lettres "GCN". SELECT ?item ?label WHERE { ?item wdt:P31 wd:Q13442814 ; wikibase:identifiers 1; rdfs:label ?label ; wdt:P819 ?ads. MINUS{?item wdt:P1433 ?dans .} FILTER(LANG(?label) = "en") FILTER(STRSTARTS(?label, "GRB")). bind(STR(?ads) as ?string) FILTER(CONTAINS(?string, "GCN")). }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#articles scientifiques non associés à une publication, possédant "GRB" dans leur libellé et dont l'identifiant NASA ADS, unique identifiant externe de l'élément, contient les lettres "GCN".
SELECT ?item ?label
WHERE {
  ?item wdt:P31 wd:Q13442814 ;
        wikibase:identifiers 1;
        rdfs:label ?label ;
        wdt:P819 ?ads.
  MINUS{?item wdt:P1433 ?dans .}
  FILTER(LANG(?label) = "en")
  FILTER(STRSTARTS(?label, "GRB")).
  bind(STR(?ads) as ?string)
  FILTER(CONTAINS(?string, "GCN")).
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?ads") v5("?dans") v3("?item"):::projected v2("?label"):::projected v6("?string") c7(["1^^xsd:integer"]):::literal c5(["wd:Q13442814"]):::iri f0[["contains(?string,'GCN')"]] f0 --> v6 f1[["starts-with(?label,'GRB')"]] f1 --> v2 f2[["?label = 'en'"]] f2 --> v2 v3 --"wdt:P31"--> c5 v3 --"wikibase:identifiers"--> c7 v3 --"rdfs:label"--> v2 v3 --"wdt:P819"--> v4 subgraph minus3["MINUS"] style minus3 stroke-width:6px,fill:pink,stroke:red; v3 --"wdt:P1433"--> v5 end bind4[/"str(?ads)"/] v4 --o bind4 bind4 --as--o v6