Re: [rdflib-dev] SPARQLWrapper: how to interpolate python variables in query

2022-01-08 Thread Robert Alexander
gt;> >>> >>> >>> >>> >>> Marijane White, M.S.L.I.S. >>> >>> Data and Research Engagement Librarian, Assistant Professor >>> >>> Oregon Health & Science University Library >>> >>>

Re: [rdflib-dev] SPARQLWrapper: how to interpolate python variables in query

2022-01-08 Thread Gunnar Aastrand Grimnes
gt; >> *Marijane White, M.S.L.I.S.* >> >> Data and Research Engagement Librarian, Assistant Professor >> >> Oregon Health & Science University Library >> >> >> >> *Email:* whi...@ohsu.edu >> >> *ORCiD:* https://orcid.org/-0001-5059

Re: [rdflib-dev] SPARQLWrapper: how to interpolate python variables in query

2022-01-07 Thread Nicholas Car
gt; Oregon Health & Science University Library > > > > *Email:* whi...@ohsu.edu > > *ORCiD:* https://orcid.org/-0001-5059-4132 > > > > > > *From: * on behalf of Robert Alexander < > gogone...@gmail.com> > *Reply-To: *"rdflib-dev@googlegro

Re: [rdflib-dev] SPARQLWrapper: how to interpolate python variables in query

2022-01-07 Thread Marijane White
Subject: [EXTERNAL] [rdflib-dev] SPARQLWrapper: how to interpolate python variables in query Dear friends, I am a beginner so please bear with me. I find the """ """ style of writing the queries in my code very readable but I am not able to introduce a variabl

[rdflib-dev] SPARQLWrapper: how to interpolate python variables in query

2022-01-07 Thread Robert Alexander
Dear friends, I am a beginner so please bear with me. I find the """ """ style of writing the queries in my code very readable but I am not able to introduce a variable in it. For example: sparql.setQuery(""" select distinct ?id ?eurovoc where { ?atto a ocd:aic . ?atto dc:identifier ?id . ?atto o