query-a6790d30440d4375db25ba31f8b40dfa
Businesses related to software that are followed by another company
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#>
#defaultView:Graph
SELECT DISTINCT ?item ?itemLabel ?se ?seLabel ("00FFFF" AS ?rgb) WHERE {
?item wdt:P156 ?se.
?item (wdt:P31/wdt:P279*) wd:Q4830453.
{?item wdt:P452 wd:Q880371}
UNION {?item wdt:P1056 wd:Q7397}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v3("?rgb")
v2("?se"):::projected
a1((" "))
c8(["wd:Q7397"]):::iri
c10(["bd:serviceParam"]):::iri
c6(["wd:Q880371"]):::iri
c4(["wd:Q4830453"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P156"--> v2
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c4
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P1056"--> c8
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P452"--> c6
end
union0r <== or ==> union0l
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end
bind0[/"'00FFFF'"/]
bind0 --as--o v3