query-95717bf7f61c5af8e6ad6ae4a37c6fd9
title: Papers about OSI-compatibly licensed software with a GitHub repo SELECT * WHERE {
?item wdt:P1324 ?sourcecode . FILTER CONTAINS(LCASE(STR(?sourcecode)), "github") ?item wdt:P275 ?license . ?license ?p wd:Q1156659 . ?license rdfs:label ?licenseLabel . FILTER(LANG(?licenseLabel) = "en"). ?work wdt:P921 ?item ; wdt:P1476 ?title . }
Use at
- https://query.wikidata.org/sparql
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#>
#title: Papers about OSI-compatibly licensed software with a GitHub repo
SELECT * WHERE {
?item wdt:P1324 ?sourcecode .
FILTER CONTAINS(LCASE(STR(?sourcecode)), "github")
?item wdt:P275 ?license .
?license ?p wd:Q1156659 .
?license rdfs:label ?licenseLabel .
FILTER(LANG(?licenseLabel) = "en").
?work wdt:P921 ?item ;
wdt:P1476 ?title .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v4("?license"):::projected
v1("?licenseLabel"):::projected
v5("?p"):::projected
v2("?sourcecode"):::projected
v7("?title"):::projected
v6("?work"):::projected
c5(["wd:Q1156659"]):::iri
f0[["?licenseLabel = 'en'"]]
f0 --> v1
f1[["contains(lower-case(str(?sourcecode)),'github')"]]
f1 --> v2
v3 --"wdt:P1324"--> v2
v3 --"wdt:P275"--> v4
v4 -->v5--> c5
v4 --"rdfs:label"--> v1
v6 --"wdt:P921"--> v3
v6 --"wdt:P1476"--> v7