query-698a86b10294f45a4b468cf0c4bd51b9
Propertiesinstance of (P31)subclass of (P279)Free Software Directory entry (P2537)Debian stable package (P3442)Fedora package (P3463)Ubuntu package (P3473)Gentoo package (P3499)Arch Linux package (P3454)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?software ?softwareLabel ?deb ?fed ?gen ?arch WHERE {
?software (wdt:P31/wdt:P279*) wd:Q7397.
?software wdt:P2537 ?entry.
OPTIONAL {?software wdt:P3442 ?deb.}
OPTIONAL {?software wdt:P3463 ?fed.}
OPTIONAL {?software wdt:P3473 ?ubu.}
OPTIONAL {?software wdt:P3499 ?gen.}
OPTIONAL {?software wdt:P3454 ?arch.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?arch"):::projected
v3("?deb"):::projected
v2("?entry")
v4("?fed"):::projected
v6("?gen"):::projected
v1("?software"):::projected
v5("?ubu")
a1((" "))
c13(["en"]):::literal
c3(["wd:Q7397"]):::iri
c11(["bd:serviceParam"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P2537"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P3442".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P3463".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P3473".-> v5
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P3499".-> v6
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P3454".-> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end