Guideline to use SETL General Information: Development Language: Java. Database Used: PostgreSQL version 9.6.
MAPPING: Direct Mapping: Direct mapping can be used to convert all data form database to RDF without any customization. Steps:
- Click direct mapping button.
- Provide DB URL, DB Username and Password; then hit Connect button.
- Provide Base URL and hit Convert. Base URL must end with a ‘/’.
- RDF of the DB will be shown.
- To save the RDF in a file, click on Save button and select Directory.
R2RML Mapping: R2RML mapping can be used to convert database data to RDF in a customized manner. Steps:
- Click R2RML button.
- Provide DB URL, DB Username and Password; then hit Connect button.
- Provide Base URL. Base URL must end with a ‘/’.
- Name of all tables in the database is shown in the left of the window.
- Click on a table name to customize.
- Change the column properties as necessary and hit on Save Changes.
- Click on Proceed.
- Summary of the mapping will be shown. To change the mapping properties go to previous window by clicking Back button. Click Confirm to generate the R2RML mapping file. R2RML file is shown in the window.
- To immediately transform the data to RDF, click on Transform; RDF can be saved to file from there in N-triple format.
- For further transformation, save the mapping file by clicking on the save button.
TRANSFORM: CSV: This option can be used to convert CSV file data to its semantic RDF version in Turtle format. Steps:
- Click direct CSV button.
- Select a CSV file by hitting on Select button.
- Provide a base URL and click on Convert button.
- RDF equivalent of the CSV file will be shown in Turtle format; Hit Save to save in file.
RML Mapping: Transformation from previously generated or user defined RML file can be done using this menu. Steps:
- Click RML button.
- Provide DB URL, DB Username and Password; then hit Connect button.
- Load an RML file by clicking on Load button.
- RDF generated form DB data using the provided mapping will be shown.
- To edit the RDF, click on edit button.
- Click on Save button to save RDF in file.
TRANSFORM: CSV: This option can be used to convert CSV file data to its semantic RDF version in Turtle format. Steps:
- Click direct CSV button.
- Select a CSV file by hitting on Select button.
- Provide a base URL and click on Convert button.
- RDF equivalent of the CSV file will be shown in Turtle format; Hit Save to save in file.
RETREIVE: SPARQL Endpoint: This menu can be used to retrieve data from RDF file using SPARQL query. Steps:
- Click SPQARQL Endpoint button.
- Load an RDF file by clicking on Load button.
- Type SPARQL query in the query box and hit Run button.
- The result of query will be shown in the window.
LINKING: DBPedia: Our system can be used to link local data with DBpedia. Steps:
- Open File button prompts the user to choose file and opens the RDF file.
- Extracts Objects From File button extracts the objects from RDF file.
- Select object Combo Box shows the extracted objects and allows user to select the desired object for matching.
- As soon as user selects an object from file, a list will appear which will allow user to select the desired properties for matching with DBpedia object. User can select multiple properties by holding ctrl button and with mouse click. Double click in the list item will allow the user to edit the property at one’s whim.
- View Graph From File button will show the selected properties and their values of the selected object from file graphically.
- Select Key Property button will show the previously selected properties and allow the user to select a key property from the selected properties for fetching object from DBpedia. Double click in the list item will allow the user to edit the property at one’s whim.
- Enter Max. Hits textbox will take any number from user and fetch that number of results from DBpedia.
- Fetch Data From DBpedia will fetch the results from DBpedia based on the key property’s value and max. Hit number.
- All results from DBpedia will appear in the dropdown list next to the Fetch Data From DBpedia button. When user selects an item from ;ist, the matching process between the selected DBpedia object and file object starts and the result will be shown in the screen. If the values don’t match, a message of “We are not sure about them” will be printed and if they match, a new property will be added to that object and will be showed at the end of matching process.
- View Graph From Web button will show the properties and their values graphically of the selected object from Web.