Training:PhD Course on Computational Ontologies @ University of Bologna 2011/Creating CQs:CQs

From Odp

Jump to: navigation, search
Current revision (07:09, 9 May 2011) (view source)
 
Line 6: Line 6:
#*# What city is the capital of a certain country?
#*# What city is the capital of a certain country?
#*# In what region is a certain city located?  
#*# In what region is a certain city located?  
-
#*# In what country is a certain city located?
+
#*# In what country is a certain city or region located?
# Rome has two airports. Fiumincino airport is served by Alitalia flights, while Ciampino is served by Ryanair and Wizzair. Rome has several train stations, the main station is Termini located in the center of Rome, but there are also the Trastevere station in the west part of Rome (the Trastevere district), and Tiburtina in the south east.  
# Rome has two airports. Fiumincino airport is served by Alitalia flights, while Ciampino is served by Ryanair and Wizzair. Rome has several train stations, the main station is Termini located in the center of Rome, but there are also the Trastevere station in the west part of Rome (the Trastevere district), and Tiburtina in the south east.  
#* A city has a number of airports. An airport is served by a number of airlines. A city has a number of train stations. One station is the main station. A station is located in a district.
#* A city has a number of airports. An airport is served by a number of airlines. A city has a number of train stations. One station is the main station. A station is located in a district.

Current revision

One possible set of CQs (remember that these should reflect what the customer wants to be able to do, rather than just a translation from the scenario)...

  1. Rome is the capital of Italy, it is located in the Lazio region.
    • A city is the capital of a country. A city is located in a region.
    • CQs
      1. What city is the capital of a certain country?
      2. In what region is a certain city located?
      3. In what country is a certain city or region located?
  2. Rome has two airports. Fiumincino airport is served by Alitalia flights, while Ciampino is served by Ryanair and Wizzair. Rome has several train stations, the main station is Termini located in the center of Rome, but there are also the Trastevere station in the west part of Rome (the Trastevere district), and Tiburtina in the south east.
    • A city has a number of airports. An airport is served by a number of airlines. A city has a number of train stations. One station is the main station. A station is located in a district.
    • CQs
      1. In what city is a certain airport located?
      2. What airlines serve a specific airport?
      3. In what city is a certain train station located?
      4. Which is the main station of a certain city?
      5. In what district is a certain train station located?
      6. What are the districts of a certain city?
  3. When getting around in Rome by public transport there are buses, trams and a metro with two lines (A and B). The metro lines A and B run until 00.30, and resume at 5.30 in the morning.
    • When getting around in a city by public transport there are a number of means of public transport with a number of lines. Lines run until a certain time and resume a certain time in the morning.
    • CQs
      1. What are the means of public transport in a certain city?
      2. What lines of a certain means of public transport exist in a certain city?
      3. What are the hours of operation for a certain line?
      4. What lines are operating at a certain time in a certain city?
  4. In Rome you can stay in a hotel. Hotels have different ratings (from five to one star), and rates within a price range. Price ranges of the hotels differ depending on the time of the year that you decide to visit Rome.
    • In a city you can stay in a hotel. A hotel has a rating and a price range. The price range differs depending on the time of the year.
    • CQs
      1. In what city is a certain hotel located?
      2. What is the star rating of a certain hotel?
      3. What is the price range of a certain hotel at a certain time?
      4. What are the hotels within a certain price range at a certain time?
  5. Rome is full of sights, such as churches, monuments and museums. Popular churches are St Peters and the Pantheon, and a popular monument is the Colosseum. To enter the Colosseum there is a fee of 12 EUR for adults, a fee of 7,50 EUR for EU citizens below the age of 24 and free entrance for EU citizens below 18 years old.
    • A city has sights of different categories. To enter a sight there is a fee of a certain amount for a certain category and a certain age range.
    • CQs
      1. What are the sights of a certain city?
      2. What sights of a certain category are located in a certain city?
      3. What is the entrance fee to a certain sight for a person of a certain category within a certain age range?
  6. There are organised tours to see the sights of Rome, either on foot starting from the Pantheon or by bus leaving from the Termini station, with different starting times on different weekdays.
    • There are organized tours to see the sights of a city, by different means of transport and starting from different points in the city, at different starting times on different weekdays.
    • CQs
      1. What are the guided tours available in a certain city?
      2. What is the means of transport of a certain tour?
      3. What is the starting time of a certain tour on a certain day?
      4. What is the starting point of a certain tour?
  7. Rome also has numerous museums. Museums are generally closed on Mondays, but the Vatican Museums are instead closed on Sundays.
    • A city has museums. Museums are generally closed on a specific weekday. Specific museums are closed on a specific weekday.
    • CQs
      1. What are the museums of a certain city?
      2. What day are museums generally closed in a certain city?
      3. What day is a specific museum closed?
  8. While in Rome a visitor should take the opportunity to visit one of the many events taking place there during different periods, such as theater and opera performances, and concerts. During September and October 2009 the Teatro Roma offers two theater shows each evening.
    • While in a city a visitor should take the opportunity to visit events that take place there during different periods. Events are of different categories. During a time period a certain facility offers a specific event at certain times.
    • CQs
      1. What are the events taking place in a certain time interval in a certain city?
      2. What is the category of a specific event?
      3. What is the time period when a specific event is available?
      4. At what days and times is a certain event available?
      5. In what facility is a certain event taking place?
  9. The play in this period is the "Merchant of Venice", written by Shakespeare in 1598, given through an ensemble of well-known actors. During the second and third week of September the role of Shylock is played by Arnold Schwarzenegger as a special guest actor.
    • A certain theater event is the realization of a certain work, created by a certain author in a certain year and performed by a set of people. During a certain period of time a certain role in a theater production is played by a certain person.
    • CQs
      1. What work is presented in a certain theater event?
      2. Who created this work?
      3. In what year was this work created?
      4. Who are the persons participating in this event?
      5. What role does a certain person play in a certain production on a certain day and time?
  10. There are a number of travel guides available for Rome, many of them are available in several formats, for example as a guidebook or on a CD. Maps of Rome can also be found in paper format or in an electronic format.
    • There are a number of travel guides available for a certain city. They are available in certain formats. Maps of a city are also available in certain formats.
    • CQs
      1. What are the travel guides available for a certain city?
      2. In what editions are a certain travel guide available?
      3. What maps are available for a certain city?
      4. In what editions are a certain map available?
Personal tools
Quality Committee
Content OP publishers