Can you write a SPARQL query to find the past colleges of all secretaries of the treasury?
Here is a SPARQL query that you can use to find the past colleges of all secretaries of the Treasury:

```PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dbo: <http://dbpedia.org/ontology/>

SELECT ?secretary ?name ?college
WHERE {
  ?secretary a dbo:OfficeHolder ;
            dbo:office dbo:Secretary_of_the_Treasury ;
            foaf:name ?name ;
            dbo:almaMater ?college .
}
```

This query uses the prefixes for RDF, FOAF, and DBpedia Ontology. The query selects the resources of secretaries of the Treasury, their names, and their alma maters (colleges). The dbo:OfficeHolder class is used to find resources that have held a specific office, and dbo:Secretary_of_the_Treasury is used to find resources that have held the office of the Secretary of the Treasury. foaf:name is used to get the name of the resource, and dbo:almaMater is used to get the college they attended.
Thanks!
You are most welcome. Anything else I can assist you with today?