query-90d930ee88ce3627c14ec5668d1e08f5
PNSMurthyRotideypoc41352SixTwoEight
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 psn: <http://www.wikidata.org/prop/statement/value-normalized/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?star (?radius / 695700000 AS ?solar_radius)
WHERE
{
?star wdt:P31 / wdt:P279* wd:Q523.
?star p:P2120 / psn:P2120 / wikibase:quantityAmount ?radius. # Normalized radius in meter
FILTER (?radius >= 300 * 695700000) # Radius >= 300 solar radius
}
limit 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?radius"):::projected
v3("?solar_radius")
v2("?star"):::projected
a1((" "))
a2((" "))
a3((" "))
c5(["wd:Q523"]):::iri
f0[["?radius >= '300^^xsd:integer' * '695700000^^xsd:integer'"]]
f0 --> v1
v2 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c5
v2 --"p:P2120"--> a2
a2 --"p:statement/value-normalized/P2120"--> a3
a3 --"wikibase:quantityAmount"--> v1
bind1[/"?radius / '695700000^^xsd:integer'"/]
v1 --o bind1
bind1 --as--o v3