How to query Wikidata using SPARQL for a specific property?

I'm using the Wikidata Query Service to try and get all instances within Wikidata that contain a UMLS CUI (Property P2892).

I've tried doing

SELECT ?item
  ?item wd:P2892.

But am getting the error Query is malformed: Encountered " "." ". "" at line 3, column 17.

How can I fix this error?