freebase/scripts/extract-freebase-schema.rb
# Return set of raw lines from the query (probably don't want to use this function directly)
Return set of raw lines from the query (probably don't want to use this function directly)
Return set of raw lines from the query ( probably don ' t want to use this function directly )
def makeQuery(query)
  queryUrl = URI::encode("PREFIX fb: <http://rdf.freebase.com/ns/> #{query}")
  `curl -s '#{$endpoint}?query=#{queryUrl}'`.split(/\n/)
end
def makeQuery ( query ) queryUrl = URI :: encode ( "PREFIX fb: <http://rdf.freebase.com/ns/> #{query}" ) ` curl -s ' #{ $endpoint } ?query= #{ queryUrl } ' ` . split ( / \n / ) end
Return set of raw lines from the query (probably don't want to use this function directly)
Return set of raw lines from the query ( probably don ' t want to use this function directly )
#puts query
query
<not_specific>