[
  {"type":"Keyword","value":"let"},
  {"type":"Text","value":"\n  "},
  {"type":"Name","value":"GetLabel"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"="},
  {"type":"Text","value":" "},
  {"type":"Punctuation","value":"("},
  {"type":"Name","value":"subject"},
  {"type":"Text","value":" "},
  {"type":"Keyword","value":"as"},
  {"type":"Text","value":" "},
  {"type":"Name","value":"text"},
  {"type":"Punctuation","value":")"},
  {"type":"Text","value":" "},
  {"type":"Keyword","value":"as"},
  {"type":"Text","value":" "},
  {"type":"Name","value":"nullable"},
  {"type":"Text","value":" "},
  {"type":"Name","value":"table"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"=\u003e"},
  {"type":"Text","value":"\n    "},
  {"type":"Keyword","value":"let"},
  {"type":"Text","value":" \n      "},
  {"type":"CommentSingle","value":"// Request Ntriples from the LDF Service\n"},
  {"type":"Text","value":"      "},
  {"type":"Name","value":"Options"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"="},
  {"type":"Text","value":" "},
  {"type":"Punctuation","value":"["},
  {"type":"Name","value":"Headers"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"="},
  {"type":"Text","value":" "},
  {"type":"Punctuation","value":"["},
  {"type":"Name","value":"#\"Accept\""},
  {"type":"Operator","value":"="},
  {"type":"LiteralString","value":"\"text/csv\""},
  {"type":"Punctuation","value":"]]"},
  {"type":"Operator","value":","},
  {"type":"Text","value":"\n      "},
  {"type":"Name","value":"FixedSubject"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"="},
  {"type":"Text","value":" "},
  {"type":"Keyword","value":"if"},
  {"type":"Text","value":" "},
  {"type":"Name","value":"Text.At"},
  {"type":"Punctuation","value":"("},
  {"type":"Name","value":"subject"},
  {"type":"Operator","value":","},
  {"type":"LiteralNumberInteger","value":"0"},
  {"type":"Punctuation","value":")"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"\u003c\u003e"},
  {"type":"Text","value":" "},
  {"type":"LiteralString","value":"\"\u003c\""},
  {"type":"Text","value":" "},
  {"type":"Keyword","value":"then"},
  {"type":"Text","value":" "},
  {"type":"Name","value":"Text.Combine"},
  {"type":"Punctuation","value":"({"},
  {"type":"LiteralString","value":"\"\u003c\""},
  {"type":"Operator","value":","},
  {"type":"Name","value":"subject"},
  {"type":"Operator","value":","},
  {"type":"LiteralString","value":"\"\u003e\""},
  {"type":"Punctuation","value":"})"},
  {"type":"Text","value":" "},
  {"type":"Keyword","value":"else"},
  {"type":"Text","value":" "},
  {"type":"Name","value":"subject"},
  {"type":"Operator","value":","},
  {"type":"Text","value":"\n      "},
  {"type":"Name","value":"Query"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"="},
  {"type":"Text","value":" "},
  {"type":"Name","value":"Text.Combine"},
  {"type":"Punctuation","value":"({"},
  {"type":"LiteralString","value":"\"SELECT ?label WHERE {\n        SERVICE wikibase:label {\n        bd:serviceParam wikibase:language \"\"en\"\" .\n        \""},
  {"type":"Operator","value":","},
  {"type":"Name","value":"FixedSubject"},
  {"type":"Operator","value":","},
  {"type":"LiteralString","value":"\" \u003chttp://www.w3.org/2000/01/rdf-schema#label\u003e ?label\n        }\n      }\""},
  {"type":"Punctuation","value":"})"},
  {"type":"Operator","value":","},
  {"type":"Text","value":"\n      "},
  {"type":"CommentMultiline","value":"/* this is a multiline comment, see https://docs.microsoft.com/en-us/powerquery-m/comments\n      */"},
  {"type":"Text","value":"\n      "},
  {"type":"Name","value":"url"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"="},
  {"type":"Text","value":" "},
  {"type":"Name","value":"Text.Combine"},
  {"type":"Punctuation","value":"({"},
  {"type":"LiteralString","value":"\"https://query.wikidata.org/sparql?\""},
  {"type":"Operator","value":","},
  {"type":"Name","value":"Uri.BuildQueryString"},
  {"type":"Punctuation","value":"(["},
  {"type":"Name","value":"query"},
  {"type":"Operator","value":"="},
  {"type":"Name","value":"Query"},
  {"type":"Punctuation","value":"])})"},
  {"type":"Operator","value":","},
  {"type":"Text","value":"\n      "},
  {"type":"Name","value":"data"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"="},
  {"type":"Text","value":" "},
  {"type":"Name","value":"Csv.Document"},
  {"type":"Punctuation","value":"("},
  {"type":"Name","value":"Web.Contents"},
  {"type":"Punctuation","value":"("},
  {"type":"Name","value":"url"},
  {"type":"Operator","value":","},
  {"type":"Name","value":"Options"},
  {"type":"Punctuation","value":"))"},
  {"type":"Operator","value":","},
  {"type":"Text","value":"\n      "},
  {"type":"Name","value":"promoted"},
  {"type":"Text","value":" "},
  {"type":"Operator","value":"="},
  {"type":"Text","value":" "},
  {"type":"Name","value":"Table.PromoteHeaders"},
  {"type":"Punctuation","value":"("},
  {"type":"Name","value":"data"},
  {"type":"Operator","value":","},
  {"type":"Text","value":" "},
  {"type":"Punctuation","value":"["},
  {"type":"Name","value":"PromoteAllScalars"},
  {"type":"Operator","value":"="},
  {"type":"Keyword","value":"true"},
  {"type":"Punctuation","value":"])"},
  {"type":"Text","value":"\n    "},
  {"type":"Keyword","value":"in"},
  {"type":"Text","value":" \n      "},
  {"type":"Name","value":"promoted"},
  {"type":"Text","value":" \n"},
  {"type":"Keyword","value":"in"},
  {"type":"Text","value":"\n  "},
  {"type":"Name","value":"GetLabel"},
  {"type":"Text","value":" "}
]