I'm trying to map the content of a relational database to RDF using D2RQ.
To generate-mapping I'm using Command Prompt. I’m trying to access the SQL Server database but I’m getting the error:
Database Connection to jdbc:sqlserver://servername;databaseName=.. failed. Login failed for user 'XYZ'.
I’ve checked the SQL error log:
- Error: 18456, Severity: 14, State: 5.
- Login failed for user 'NT Service\ReportServer'. Reason: Could not find a login matching the name provided. [CLIENT:192.168.29.1]
While in SQL Server i can open the database with this user.
Connection properties on SQL Server: see Connection Properties on SQL Server

My team lead, pointed out the issue. As I could not find the issue/solution here, posting it for others.
I knew I could not use windows authentication, so I was trying to use SQL Server Authentication, this was the problem.
To access SSMS as a different user - When opening SSMS from your PC; Shift + right click > ‘Run as Different User’ enter ID ‘Admin1’ + password, proceed as normal.