When you query a data source, you access data using some kind of application programming interface (API) to a given data source. E.g. you can make structured requests for e.g. Wikipedia through the Wikidata service.