Be the first to like this
The purpose of this project is to find and recommend all museums which are located in the user’s city and contain the user’s preferred artist and artistic period. The program takes as an input from the user his or her current location, one preferred artist and one preferred artistic period.
If the given artist does not belong to the given artistic period, there are two possible types of recommendations:
The best recommendation represents one or more museums which contain both the preferred artist and the artists belonging to the preferred artistic period. If no such museums are found in the user’s city, then the second best recommendation generates museums in that city, that either contain the preferred artist’s work or museums that only contain works from the preferred artistic period.
The program is implemented in Java and it queries Dbpedia, using two queries. First, the user is asked to enter the location, artist and period with the help of a scanner. Then, there are two queries which use this input in order to find museums that match the user’s profile and are located in the given city. For the first query, the artist and period are intersected, in order to find museums that contain both. If there are no results for this query, the second one is run, which contains a union, finding museums that either contain the artist or the period.
Finally, the resource page of the matched museums is printed on the screen. In parallel, a set of triples is exported into a file, using the Museum Recommender Ontology. For each type of recommendation, the ontology specifies whether the match is generated based on an intersection or a union.