query-c2a07e5f897382a9c5e57344735e2747

rq turtle/ttl

Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10 Whose birthday is today? SELECT ?humanLabel (YEAR(?date) as ?year) WHERE { BIND(MONTH(NOW()) AS ?nowMonth) BIND(DAY(NOW()) AS ?nowDay)

?human wdt:P31 wd:Q5.
?human wdt:P569 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
}

} LIMIT 10

Use at

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#>
#Whose birthday is today?
SELECT ?humanLabel (YEAR(?date) as ?year)
WHERE
{
    BIND(MONTH(NOW()) AS ?nowMonth)
    BIND(DAY(NOW()) AS ?nowDay)

    ?human wdt:P31 wd:Q5.
    ?human wdt:P569 ?date .
    FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
    SERVICE wikibase:label {
        bd:serviceParam wikibase:language "en" .
    }
}
LIMIT 10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?date"):::projected v4("?human") v4("?nowDay") v4("?nowMonth") v5("?year") c5(["bd:serviceParam"]):::iri c2(["wd:Q5"]):::iri c7(["en"]):::literal f0[["month-from-dateTime(?date) = ?nowMonthday-from-dateTime(?date) = ?nowDay"]] f0 --> v1 f0 --> v4 f0 --> v4 bind1[/"month-from-dateTime(NOW())"/] bind1 --as--o v4 bind2[/"day-from-dateTime(NOW())"/] bind2 --as--o v4 v4 --"wdt:P31"--> c2 v4 --"wdt:P569"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind3[/"year-from-dateTime(?date)"/] v1 --o bind3 bind3 --as--o v5