0

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
WHERE
{
  ?item wd:P2892.
}

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

How can I fix this error?

logi-kal
  • 7,107
  • 6
  • 31
  • 43
Sean
  • 2,890
  • 8
  • 36
  • 78

1 Answers1

0
SELECT ?item WHERE {   
    ?item wdt:P2892 ?cui.
}
Matthias Winkelmann
  • 15,870
  • 7
  • 64
  • 76