Method: Tripod::SparqlQuery#as_first_query_str
- Defined in:
- lib/tripod/sparql_query.rb
#as_first_query_str ⇒ Object
65 66 67 68 69 70 71 72 73 |
# File 'lib/tripod/sparql_query.rb', line 65 def as_first_query_str check_subqueryable! first_query = "SELECT * { #{self.body} } LIMIT 1" first_query = "#{self.prefixes} #{first_query}" if self.prefixes # just returns the string representing the 'first' query for this query. first_query end |