Skip to content

Instantly share code, notes, and snippets.

@gajus
Created April 26, 2018 21:50
Show Gist options
  • Save gajus/96e033ef4fcbd08587dad60057884d6f to your computer and use it in GitHub Desktop.
Save gajus/96e033ef4fcbd08587dad60057884d6f to your computer and use it in GitHub Desktop.
SELECT
?ROTEN_TOMATOES_ID
?METACRITIC_ID
WHERE
{
?item wdt:P345 "${movieRecord.imdbId}" .
OPTIONAL {
?item wdt:P1258 ?ROTEN_TOMATOES_ID .
?item wdt:P1712 ?METACRITIC_ID .
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment