query-3923ecbc57e5a2fabe172d8a7893fb0f
TODO git protocol but don't end with .git
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?string ?rank {
?item p:P1324 [
pq:P2700 wd:Q186055; ps:P1324 ?string; wikibase:rank ?rank
] .
FILTER ( !STRENDS( STR( ?string ), ".git" ) ) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
}
Query found at
- https://www.wikidata.org/wiki/User:Thibaut120094/SPARQL
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2017/01
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v2("?rank"):::projected
v1("?string"):::projected
a1((" "))
c3(["wd:Q186055"]):::iri
c8(["bd:serviceParam"]):::iri
c10(["en"]):::literal
f0[["not ends-with(str(?string),'.git')"]]
f0 --> v1
a1 --"p:qualifier/P2700"--> c3
a1 --"p:statement/P1324"--> v1
a1 --"wikibase:rank"--> v2
v3 --"p:P1324"--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end