How to get individuals data property value in sparql
问题 Hi i am in new to ontologies. I have developed a restaurant ontology by Protege software. But I badly need a SPARQL query that finds property values for all individuals of a class. I want to get a result like: Angels_n_Gypsies House #30, Rd No. 19/A, Dhaka 1213, Bangladesh 回答1: Just follow the property values... SELECT ?rname ?lname WHERE { ?inst a :Popular_restaurant . ?inst :restaurant_name ?rname . ?inst :Location_name ?lname . } But that's just the end result. A way to understand SPARQL