Bill Duncan
Bill Duncan
There was bug in my code above. Below is an updated version for those who are interested: ``` from SPARQLWrapper import SPARQLWrapper, SPARQLWrapper2, JSON, JSONLD, CSV, TSV, N3, RDF, RDFXML,...
@dayures Thanks for these pointers! I will make use these!
@dayures I was looking at this notebook: https://github.com/SuLab/sparql_to_pandas/blob/master/SPARQL_pandas.ipynb A straightforward approach for putting the SPARQL results into a data frame is: ``` df = pds.DataFrame(result['results']['bindings']) df.applymap(lambda x: x['value']) ```
@dhimmel Good question! I didn't consider that :) I've been handling data type coercion on the client slide. Do the results from SPARQLWrapper include data type information? I forget ......
Thanks @white-gecko That is a simpler solution!
Sites in BFO are immaterial entities. LTER sites sound like physical entities to me. But maybe I am misunderstanding?
Yes. The site is the region of space. There has been some debate about how to best represent these kinds of situations. Consider, for instance, cities and states. Are these...
@smrgeoinfo A [BFO site](http://www.ontobee.org/ontology/BFO?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000029) is necessarily bounded by a material entity. So, an `observational site` would/could make sense as a subclass. We just need to work out what the right...
@smrgeoinfo Nice catch on the `editor note` regarding `spatial regions` and `process`! In that case, I think the correct definition would be: ``` - spatial region - contains process some...
Here is a definition for [observing process](https://www.ebi.ac.uk/ols/ontologies/bco/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBCO_0000003&viewMode=All&siblings=false) to consider: ``` A process in which a person or machine sees or detects a material entity and selects it as worthy of...