peterjohnlawrence / com.inova8.odata2sparql.v4

Part of the overall odata2sparql solution, this odata2sparql.v4 module containing the olingo4 dependencies. In other words specifically for odata v4
http://inova8.com/bg_inova8.com/offerings/odata2sparql/
Apache License 2.0
5 stars 5 forks source link

Malformed SPARQL when expand includes operation and/or dependent entitySet #66

Closed peterjohnlawrence closed 6 years ago

peterjohnlawrence commented 6 years ago

http://localhost:8080/odata2sparql.v4/NW2/Employee?$expand=managesOrder($select=shipCity,shipViaNotation,freight,requiredDate,label,shipName,shipPostalCode,shipCountry,subjectId,shipAddress,customerNotation,regionDescription,orderDate,shippedDate,employeeNotation,employee,orderRegion,shipVia,customer,hasOrderDetail,order_customer_Order,order_orderSummary,Order_Summary_of_Sales_by_Years)

http://localhost:8080/odata2sparql.v4/NW2/Employee('NWD~Employee-1')/managesOrder?$expand=employee($select=lastName,employeeCountry,extension,hireDate,notes,territoryNotation,homePhone,photo,test_property,employeeCity,label,title,titleOfCourtesy,employeeAddress,birthDate,subjectId,firstName,employeePostalCode,regionDescription,reportsToNotation,territory,reportsTo,employeeRegion,managesEmployee,managesOrder)&$top=10 Error: org.apache.olingo.commons.api.edm.EdmException: Failed to locate property:territory

http://localhost:8080/odata2sparql.v4/NW2/Order('NWD~Order-11071')?$expand=employee($select=territory)