How to search
The BCNROC (Barcelona City Council Open Knowledge Repository) is divided into communities that contain different types of documents.
Each community may contain an unlimited number of subcommunities and collections. The
collections actually contain the documents. Where appropriate, a document can be in more than one
collection.
The BCNROC is by default in the language that the browser has configured, but it can be changed in the drop-down menu located at the top of the page.
The repository can be consulted in different ways:
- by Community and index (Browse)
- by Simple search
- by Advanced search
- by Faceted browsing (Discover)
- by Specific image repository (Image search)
Community and index
by Community: This presents all the community icons in alphabetic order. By clicking on one of them, you can hierarchically consult the subcommunities and collections that are inside it until you find all the documents in the collection you have selected. You can limit the documents in each collection through the Faceted browsing options (Discover) located on the right of the screen and with the ‘Discover’ option.
Simple search
To perform a simple search, just write the term(s) you are searching in the box and click on the magnifying glass.
The search will take you to the results page. The results are organised by relevance, and 50 results are displayed per page. The system offers the option of changing the order and number of results per page.
Search options
You can limit basic searches using a series of operators:
- Inverted commas (“ ”) to search for an exact phrase.
- Boolean operators (in upper-case) to limit the search:
- AND to find results that include all the terms.
- OR to find results that include any of the terms, either alone or in combination.
- NOT to exclude the written terms after this operator. These must be in inverted commas. Example: "Women" NOT "Science"
- Truncation: To get results that contain words from the same lexical family, that is, with the same root. For example, if you search the root cultur*, you may get back documents with words like culture, cultural, culturally, culturelle and others. The truncation can also be put before the root, such as *pact: pact, impact, etc.
Search example
To retrieve documents on loneliness in childhood, you could perform the search “loneliness AND childhood”.
Search fields
This allows you to search while delimiting a specific field:
This enables you to search a complete text, a community or a specific collection in the Municipal Gazette or by municipal facility.
Full text search:
This searches terms inside documents.
Search example
If you search for organic food, it will retrieve all the documents that include these terms from both the description fields and inside the documents. If you add “ ” around the terms, it will retrieve the exact phrase.
Search in communities/collections
This enables you to search the terms in a specific community or collection.
Search example
If you search by the term citizen participation and select the Reports community and the Miscellaneous reports and studies collection, it will retrieve all the reports on this subject.
Municipal Gazette search
This allows you to search the term(s) only in the ‘Barcelona Municipal Gazette’. It includes results from both the magazine and the current publication, and they are updated daily.
Search example
If you look for the term night watchmen, it will retrieve all the documents that include this term.
Search by facility
This enables you to search by management offices, departments, independent bodies, consortia, foundations, public business entities and trading companies in which the city is a majority shareholder.
It allows you to retrieve all the documents made by the facility, but also, as from the 2023-2027 term of office, it retrieves documents that indicate the functions of the department (even if they are not the author). The search takes into account changes made to the name of the institution over time.
Search example
If you select the Manager’s Office for Urban Ecology, it will retrieve all the documents from the body or wich describe its functions (as from the 2023-2027 term of office), including the documents from this office’s previous name.
The clear option enables you to begin a new search. The last search performed is saved on the right side of the screen.
A simple search allows you to limit and refine the results using filters. The filters can be found on the left side of the screen. To use them, select the ones you're interested in and click on Apply filters.
For each filter, BCNROC displays the five values with the most documents. You can see the other values in alphabetical order by clicking on the ‘All’ option:
You can filter using the following criteria:
- Subject matter: This allows you to select documents on a specific subject.
- Time coverage: This indicates the period of time to which the content of a document refers. It should not be confused with the year of publication. That is, if you select 2015, the system will show documents like L’estat de la ciutat 2015, which was published in 2016 but has information from 2015.
- Type of document: This allows you to select a specific type of document, like monographs, magazines and yearbooks, posters, etc.
- Geographic coverage: This enables you to select documents that deal with a specific geographical location, such as streets, squares, gardens, neighbourhoods, etc.
- Author: This enables you to select documents by a specific author. It contains both individual authors and departments, companies, etc.
- Publication date: Based on this criterion, you can retrieve documents issued on a given date or during a specific time span. For example, if you want documents published between January 2019 and April 2020, select the month, the year and day in the calendar for the initial publication date (1 January 2019) and the final publication date (30 April 2020). This should not be confused with the time coverage of a document, or with its approval or creation date.
- Approval/creation date: This refers to the period of time after which the content of certain documents, such as decrees, byelaws, regulations and others, are valid, or to when a document was created.
- Language: You can select documents according to the language of your choice, as long as this option is available.
- Terms of use: This enables you to filter the results according to the possible ways a document may be used (copy, distribution, exhibition, making derivative works, etc.). Check the different types of Creative Commons licences and their features by clicking here.
- Validity (rules and plans): This criterion allows you to filter rules or plans according to whether or not they are currently valid, that is, whether or not their content is still in force.
- Type of content: This enables you to select the type of content in a document according to whether it is text, image, moving image (videos) or others.
- Type of municipal entity: This filter allows you to select documents created by a specific type of municipal entity, such as consortia, districts, independent bodies, trading companies, etc.
- Government term of office: This enables you to select documents from the actions of a government during different four-year terms of municipal government:
- Agreements, minutes and agendas of Government Bodies
- Budgets and Accounts
- General reports
- Government Body Agreements
- Government measures
- Institutional statements
- Institutional videos
- Mayoral Decrees
- Mayoral documents
- Press kits and releases
- Reports (submitted to governing bodies)
- Strategic plans
- Twinning Agreements
- Working documents
- Agreements, minutes and agendas of Government Bodies
Advanced search
Click on Advanced search to access it.
Write the word(s) you want to search with one space between them and click on Go. BCNROC will look for the metadata and the complete texts of text documents, those that contain the word or a combination of both, and will provide you with a list of all the documents that contain the words you have written.
The results are presented in order of relevance, and 10 results are displayed per page. The system offers the option of changing the order and number of results per page.
The first box lets you limit the search to a community. However, if you want the search to be made in the repository’s entire contents, leave the box in its default position which is All BCNROC.
The second box lets you enter a word or combine several words, using Boolean operators if you want. Then click the blue Go button and the system will search your concepts in the metadata and the complete text of the documents.
If you want to specify in which metadata field you want to search for the word(s) you have put in the second box, you can refine your search by clicking on the Show filters button on the right.
A third box will open where you can select whether you want to filter by author, title, subject matter, content type, etc., and then select the coincidence options Equal, Contains, etc.
To complete the search, click the blue Add button.
The advanced search can also be made using Faceted browsing (Discover option).
Search advice:
By default, the search retrieves plurals, verb tenses, accents, etc. to increase the number of documents resulting from an inquiry.
Truncation: Use of an asterisk (*) after the stem of a word in the search displays all the words that start with this stem.
- Example: may* will also display mayor, mayor's office and mayoress.
Exact phrase: Use inverted commas to search for an exact phrase.
- Example: “Administrative agreements”
Boolean search: Use Boolean operators to find documents containing more than one term. The operators must always be entered in capital letters.
- AND limits the search by locating documents that contain the combined terms under this operator.
- Example: policy AND economy will display all the documents containing both words.
- OR extends the search by locating documents that contain any of the combined terms. Important: If you search for more than one term and you do not enter any Boolean operator, the system will use OR by default. You can also use the + symbol leaving a space between it and the search words.
- Example: policy OR economy will display all the documents containing at least one of the two words or both of them. policy + economy will display the same result.
- NOT limits the search by excluding any words written after it.
- Example: parks NOT amusement will display the documents containing the work ‘parks’ but not any documents containing the word ‘amusement’.
We recommend you use brackets to group search terms together and combine them with several Boolean operators.
- Example: (government measure OR plan) AND (culture)
Geographic search: Streets are ordered alphabetically by their name and NOT under Barcelona.
- Examples:
- Can Clos, camí
- Corts Catalanes, gran via
- Corts, travessera
- Drassanes, av.
- Diamant, pl.
- Til·lers, pg.
- Xuclà, c.
Neighbourhoods are ordered alphabetically by their name: Example: Poblenou (Barcelona : neighbourhood)
Districts are NOT entered directly; they are found under the letter B for Barcelona, followed by the district by numerical order. Examples:
- Barcelona. District 1. Ciutat Vella
- Barcelona. District 2. Eixample
- Barcelona. District 3. Sants-Montjuïc
Faceted browsing
The Discover function allows you to search and browse all the content of the repository by facet or category and gives the number of documents that include that category.
It is a very useful guided search option for refining searches by limiting them by author, data, etc.
You will generally find Discover categories on a right-side toolbar on the screen but if you enter a community you will see them in the lower part.
Note that faceted searches cannot be used for finding images from the specific image repository. However, you can refine an image search with Discover if you start your search from the Simple and Advanced search boxes.
2. If you choose the Advanced search box and enter the word energy, 7,350 documents will appear.
Then, if you select the word Barcelona Activa, S.A. from the author section in Discover, you will see it automatically entered in the search boxes and the number of documents found will drop to 163. Notice how the facets have changed again according to the new contents found.
Every time you choose a facet from the side toolbar, a filter will be added to the search box. Filters can be eliminated by clicking the blue button with a cross in it.
Image search
You can search images according to their descriptive metadata. There are several search options:
By community and index (Browse option), choosing the community Images. You will then only search these contents. There, you will be able to limit the results of a search with Discover facets. Check out how to search by community and index
By simple search, entering the word(s) directly in the upper right box of the browser toolbar. Note, however, that under this option the system will search your concept throughout the entire BCNROC, so besides images you can also find other types of documents. You can always select the Images community to exclude other document types. Find out how Simple searches work.
By advanced search, clicking the magnifying-glass icon on the right of the browser toolbar. Choose the Images community from the first search box, and you can then exclude the other types of documents. Check out how Advanced searches work.
By image, clicking on the image repository’s special search engine on the lower part of the BCNROC’s home page. You will not be able to use the option for limiting Discover facets here, but you can search using the Boolean operators ‘AND’, ‘OR’ and ‘NOT’.
Image search tips
- By default, the search retrieves plurals, verb tenses, accents, etc. to increase the number of documents resulting from an inquiry.
- Truncation: Use of an asterisk (*) after the stem of a word in the search displays all the words that start with this stem.
Example: may* will also display mayor, mayor's office and mayoress.
- Exact phrase: Use inverted commas to search for an exact phrase.
Example: “Magic Fountain”
- Boolean search: Use Boolean operators to find images containing more than one term. The operators must always be entered in capital letters.
- AND limits the search by locating photos containing both terms. Example: fountains AND parks will retrieve images with park fountains.
- OR extends the search by locating the images that contain any of the combined terms. Important: If you search for more than one term and you do not enter any Boolean operator, the system will use OR by default. Example: fountains OR parks will display all the images containing at least one of the two words.
NOT limits the search by excluding any words written after it. Example: parks NOT amusement will retrieve the images of parks, except amusement parks.
We recommend you use brackets to group search terms together and combine them with several Boolean operators. Example: (parks AND Labyrinth) AND fountains to exclude fountains from Barcelona’s other parks.
- Geographic search:
- Streets are ordered alphabetically by their name and NOT under Barcelona.
Examples:
- Can Clos, camí
- Corts Catalanes, gran via
- Corts, travessera
- Drassanes, av.
- Diamant, pl.
- Til·lers, pg.
- Xuclà, c.
Neighbourhoods are ordered alphabetically by their name:
Example: Poblenou (Barcelona : neighbourhood)
Districts are NOT entered directly; they are found under the letter B for Barcelona, followed by the district by numerical order.
Examples:
- Barcelona. District 1. Ciutat VellaBarcelona. District 2. Eixample
- Barcelona. District 3. Sants-Montjuïc
Displaying the results of a search
By default, the results are presented in order of relevance and can be re-ordered according to several criteria, by publication date and by title, and in ascending or descending order. You can also select the number of results to be displayed per page.
1. Click on the title of the documents found.
2. Display the basic metadata. You can choose to see more metadata associated with the document by clicking on the blue button at the bottom of the screen where it says Show the full Dublin Core record.
From the basic metadata, you can click on some of the fields written in blue to find other documents with the same author, subject matter, geographical coverage and collection.
As for photo and video documents, you can see a small window on the right next to the basic metadata that shows the images.
3. To access the document, click on the blue button at the top of the screen on the left that says PDF or the button that says TXT.
Depending on the document type (text or still or moving image), you will find the documents in several formats. For example, you can download text documents in PDF format, although you can also find them in .txt format so you can easily reuse their content.
You can also access the document’s user statistics from this screen by clicking on the blue button that bears a graphic sketched at the bottom of the screen.
Displaying photos from the image repository
If you are searching images from BCNROC’s general search box, they are displayed according to the above-mentioned specifications.
However, if you are only searching photos or other still images from the image repository, you will have two display options: thumbnails or browsing.
Thumbnails:
Browsing:
You can browse forwards or backwards from here for all the images found in the search by using the blue back and next buttons.