SlideShare a Scribd company logo
1 of 11
Powered by BBC Connected Studio

Seedhack 4.0
Paul Wilton (@pwilton)
Technical Architect
Ontoba (@Ontoba1)
www.ontoba.com
Juicer Data + APIs
•
•

Approx 500k news articles – various news providers

•
•

Concept APIs - find and lookup concepts

Each article semantically annotated with DBpedia
Concepts, Events and Storylines

News APIs - query news via the semantic annotations
– use SPARQL !
API Endpoints
ROOT : /bbc.api.mashery.com/juicer-ld-api/
Accept : application/json
Common API Query Parameters :
limit = {integer} - limits number of things returned
before = {yyyy-mm-dd} - restricts by article date
after = {yyyy-mm-dd} - restricts by article date
api_key = {your mashery key}
Signup for Mashery Key
http://bbc.mashery.com/

Live Examples
http://newshack.co.uk/tech-talks/juicer-apis/
Docs
http://bbc.mashery.com/docs/read/Home
Concept APIs
Find Concepts - OpenSearch Suggestions JSON
GET /concepts/tagged?q={ text search term }

Find Concepts - filtered by class
GET /concepts/tagged?q={ text }&class={ ontology class }
Example :
GET /concepts/tagged?q=goo&class=http://dbpedia.org/ontology/Organisation

GET a Concept
GET /concepts?uri=http://dbpedia.org/resource/Larry_Page
Get Concept Occurrences
ordered my most frequent first
GET /concepts/occurrences?type={ type URI }
Example
GET /concepts/occurrences?type=http://dbpedia.org/ontology/Person
&after=2013-10-01
Get Concept Co-Occurrences
Finds concepts co-occurring with the supplied concept
ordered by most frequently occurring
GET /concepts/co-occurrences?concept={ source concept URI }&type={ type URI }

Example
GET /concepts/co-occurrences?concept=http://dbpedia.org/resource/Barack_Obama&
type=http://dbpedia.org/ontology/Person&after=2013-10-01
Search News Articles
Full Text Search for Articles:
GET /search?q={ text phrase }

Example
GET /search?q=chemical weapons&limit=20&after=2013-09-01
Semantic Query for News Articles
Use SPARQL grammar to find articles
Exploit the DBpedia ontology
GET /articles?binding=articles&where={ sparql grammar, URL encoded }
Example clause, that finds articles tagged with companies in the aerospace
industry:
?articles cwork:tag ?thing .
?thing a <http://dbpedia.org/ontology/Company> .
?thing <http://dbpedia.org/ontology/industry>
<http://dbpedia.org/resource/Aerospace> .
Live Examples
http://newshack.co.uk/tech-talks/juicer-apis/

Signup for Mashery Key
http://bbc.mashery.com/

Find me tomorrow and ask me questions !
Paul Wilton @pwilton

More Related Content

Viewers also liked

Catálogo BEEP Septiembre 2014
Catálogo BEEP Septiembre 2014Catálogo BEEP Septiembre 2014
Catálogo BEEP Septiembre 2014Beep Informática
 
Internship Report
Internship ReportInternship Report
Internship ReportTapash Paul
 
Fools day traditions in Romania, KA2
Fools day traditions in Romania, KA2Fools day traditions in Romania, KA2
Fools day traditions in Romania, KA2Jolanta Varanaviciene
 
Catálogo Ofertas BEEP Marzo 2015
Catálogo Ofertas BEEP Marzo 2015Catálogo Ofertas BEEP Marzo 2015
Catálogo Ofertas BEEP Marzo 2015Beep Informática
 
Getting the point accross
Getting the point accrossGetting the point accross
Getting the point accrossMaarten BOONEN
 
General election 2014 : Social Media campaigning on Facebook
General election 2014 : Social Media campaigning on FacebookGeneral election 2014 : Social Media campaigning on Facebook
General election 2014 : Social Media campaigning on FacebookDeboleena Panja
 
Estudio de la situación laboral y de cualificación de los RRHH del deporte de...
Estudio de la situación laboral y de cualificación de los RRHH del deporte de...Estudio de la situación laboral y de cualificación de los RRHH del deporte de...
Estudio de la situación laboral y de cualificación de los RRHH del deporte de...Irekia - EJGV
 
Navy Social Media Content Schedule for Feb. 17, 2015
Navy Social Media Content Schedule for Feb. 17, 2015Navy Social Media Content Schedule for Feb. 17, 2015
Navy Social Media Content Schedule for Feb. 17, 2015US Navy Social Media
 
19252webtoc
19252webtoc19252webtoc
19252webtocftayci
 
servidores+de+contenidos
servidores+de+contenidosservidores+de+contenidos
servidores+de+contenidosLissml
 

Viewers also liked (18)

Catálogo BEEP Septiembre 2014
Catálogo BEEP Septiembre 2014Catálogo BEEP Septiembre 2014
Catálogo BEEP Septiembre 2014
 
Internship Report
Internship ReportInternship Report
Internship Report
 
Reflexión
 Reflexión Reflexión
Reflexión
 
Catálogo BEEP Abril 2015
Catálogo BEEP Abril 2015Catálogo BEEP Abril 2015
Catálogo BEEP Abril 2015
 
Fools day traditions in Romania, KA2
Fools day traditions in Romania, KA2Fools day traditions in Romania, KA2
Fools day traditions in Romania, KA2
 
Catálogo Ofertas BEEP Marzo 2015
Catálogo Ofertas BEEP Marzo 2015Catálogo Ofertas BEEP Marzo 2015
Catálogo Ofertas BEEP Marzo 2015
 
Getting the point accross
Getting the point accrossGetting the point accross
Getting the point accross
 
General election 2014 : Social Media campaigning on Facebook
General election 2014 : Social Media campaigning on FacebookGeneral election 2014 : Social Media campaigning on Facebook
General election 2014 : Social Media campaigning on Facebook
 
Estudio de la situación laboral y de cualificación de los RRHH del deporte de...
Estudio de la situación laboral y de cualificación de los RRHH del deporte de...Estudio de la situación laboral y de cualificación de los RRHH del deporte de...
Estudio de la situación laboral y de cualificación de los RRHH del deporte de...
 
Ppt0000000
Ppt0000000Ppt0000000
Ppt0000000
 
Navy Social Media Content Schedule for Feb. 17, 2015
Navy Social Media Content Schedule for Feb. 17, 2015Navy Social Media Content Schedule for Feb. 17, 2015
Navy Social Media Content Schedule for Feb. 17, 2015
 
Coverage report - YuMi launching ceremony
Coverage report - YuMi launching ceremonyCoverage report - YuMi launching ceremony
Coverage report - YuMi launching ceremony
 
19252webtoc
19252webtoc19252webtoc
19252webtoc
 
servidores+de+contenidos
servidores+de+contenidosservidores+de+contenidos
servidores+de+contenidos
 
Jabones de avena
Jabones de avenaJabones de avena
Jabones de avena
 
GBI
GBIGBI
GBI
 
CHUENE MAB (2)_bak
CHUENE MAB (2)_bakCHUENE MAB (2)_bak
CHUENE MAB (2)_bak
 
D7
D7D7
D7
 

Similar to BBC JUICER API Presentation - for SeedHack 4.0 - BBC News Labs

Design & Deploy a data-driven Web API in 2 hours
Design & Deploy a data-driven Web API in 2 hoursDesign & Deploy a data-driven Web API in 2 hours
Design & Deploy a data-driven Web API in 2 hoursRestlet
 
Yahoo! BOSS API external 20091001
Yahoo! BOSS API external 20091001Yahoo! BOSS API external 20091001
Yahoo! BOSS API external 20091001Fred Meng
 
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
API Design Best Practices & Tech Talk : API Craft Meetup @ ApigeeAPI Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
API Design Best Practices & Tech Talk : API Craft Meetup @ ApigeeAnil Sagar
 
Y Boss External 20091017
Y Boss External 20091017Y Boss External 20091017
Y Boss External 20091017JH Lee
 
AWS User Group - Survey Results and Building APIs on AWS
AWS User Group - Survey Results and Building APIs on AWSAWS User Group - Survey Results and Building APIs on AWS
AWS User Group - Survey Results and Building APIs on AWSSebastian Krueger
 
APIs.JSON: Bootstrapping The Web of APIs
APIs.JSON: Bootstrapping The Web of APIsAPIs.JSON: Bootstrapping The Web of APIs
APIs.JSON: Bootstrapping The Web of APIs3scale
 
Getting to Grips with RESTful APIs
Getting to Grips with RESTful APIsGetting to Grips with RESTful APIs
Getting to Grips with RESTful APIsPetko Mikhailov
 
RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)Cisco DevNet
 
Piwik Analytics Platform
Piwik Analytics PlatformPiwik Analytics Platform
Piwik Analytics Platformpiwik
 
BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009Rain Ashford
 
Lisa Rogers
Lisa RogersLisa Rogers
Lisa RogersJisc
 
2013 02-apache conna-api-manager-asanka
2013 02-apache conna-api-manager-asanka2013 02-apache conna-api-manager-asanka
2013 02-apache conna-api-manager-asankaWSO2
 
Harnessing Free Content with Web Service APIs
Harnessing Free Content with Web Service APIsHarnessing Free Content with Web Service APIs
Harnessing Free Content with Web Service APIsALATechSource
 
2022 APIsecure_Securing APIs with Open Standards
2022 APIsecure_Securing APIs with Open Standards2022 APIsecure_Securing APIs with Open Standards
2022 APIsecure_Securing APIs with Open StandardsAPIsecure_ Official
 
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM Bluemix
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM BluemixDeploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM Bluemix
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM BluemixArthur De Magalhaes
 
aip_developer_overview_icar_2014
aip_developer_overview_icar_2014aip_developer_overview_icar_2014
aip_developer_overview_icar_2014Matthew Vaughn
 
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botifyapidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botifyapidays
 
API Services: Building State-of-the-Art APIs
API Services: Building State-of-the-Art APIsAPI Services: Building State-of-the-Art APIs
API Services: Building State-of-the-Art APIsApigee | Google Cloud
 

Similar to BBC JUICER API Presentation - for SeedHack 4.0 - BBC News Labs (20)

Design & Deploy a data-driven Web API in 2 hours
Design & Deploy a data-driven Web API in 2 hoursDesign & Deploy a data-driven Web API in 2 hours
Design & Deploy a data-driven Web API in 2 hours
 
Yahoo! BOSS API external 20091001
Yahoo! BOSS API external 20091001Yahoo! BOSS API external 20091001
Yahoo! BOSS API external 20091001
 
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
API Design Best Practices & Tech Talk : API Craft Meetup @ ApigeeAPI Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
 
Y Boss External 20091017
Y Boss External 20091017Y Boss External 20091017
Y Boss External 20091017
 
AWS User Group - Survey Results and Building APIs on AWS
AWS User Group - Survey Results and Building APIs on AWSAWS User Group - Survey Results and Building APIs on AWS
AWS User Group - Survey Results and Building APIs on AWS
 
APIs.JSON: Bootstrapping The Web of APIs
APIs.JSON: Bootstrapping The Web of APIsAPIs.JSON: Bootstrapping The Web of APIs
APIs.JSON: Bootstrapping The Web of APIs
 
Getting to Grips with RESTful APIs
Getting to Grips with RESTful APIsGetting to Grips with RESTful APIs
Getting to Grips with RESTful APIs
 
Webdistilled API
Webdistilled APIWebdistilled API
Webdistilled API
 
RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)
 
Piwik Analytics Platform
Piwik Analytics PlatformPiwik Analytics Platform
Piwik Analytics Platform
 
BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009
 
Lisa Rogers
Lisa RogersLisa Rogers
Lisa Rogers
 
2013 02-apache conna-api-manager-asanka
2013 02-apache conna-api-manager-asanka2013 02-apache conna-api-manager-asanka
2013 02-apache conna-api-manager-asanka
 
Harnessing Free Content with Web Service APIs
Harnessing Free Content with Web Service APIsHarnessing Free Content with Web Service APIs
Harnessing Free Content with Web Service APIs
 
2022 APIsecure_Securing APIs with Open Standards
2022 APIsecure_Securing APIs with Open Standards2022 APIsecure_Securing APIs with Open Standards
2022 APIsecure_Securing APIs with Open Standards
 
Mashing Up The Guardian
Mashing Up The GuardianMashing Up The Guardian
Mashing Up The Guardian
 
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM Bluemix
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM BluemixDeploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM Bluemix
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM Bluemix
 
aip_developer_overview_icar_2014
aip_developer_overview_icar_2014aip_developer_overview_icar_2014
aip_developer_overview_icar_2014
 
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botifyapidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
 
API Services: Building State-of-the-Art APIs
API Services: Building State-of-the-Art APIsAPI Services: Building State-of-the-Art APIs
API Services: Building State-of-the-Art APIs
 

More from BBC News Labs

"The Birth of the Newsroom of Things" for Hacks Hackers London; Linked Data i...
"The Birth of the Newsroom of Things" for Hacks Hackers London; Linked Data i..."The Birth of the Newsroom of Things" for Hacks Hackers London; Linked Data i...
"The Birth of the Newsroom of Things" for Hacks Hackers London; Linked Data i...BBC News Labs
 
Rapid Prototyping - a good idea for Startups - battling the human condition
Rapid Prototyping - a good idea for Startups - battling the human conditionRapid Prototyping - a good idea for Startups - battling the human condition
Rapid Prototyping - a good idea for Startups - battling the human conditionBBC News Labs
 
Fusion Lightening Talks - BBC News Labs - Matt Shearer on Innovation in Large...
Fusion Lightening Talks - BBC News Labs - Matt Shearer on Innovation in Large...Fusion Lightening Talks - BBC News Labs - Matt Shearer on Innovation in Large...
Fusion Lightening Talks - BBC News Labs - Matt Shearer on Innovation in Large...BBC News Labs
 
News Archive - BBC News Labs presentation on Storylines, Topics & Tags
News Archive - BBC News Labs presentation on Storylines, Topics & TagsNews Archive - BBC News Labs presentation on Storylines, Topics & Tags
News Archive - BBC News Labs presentation on Storylines, Topics & TagsBBC News Labs
 
Storyline - for #newsHACK 2013 - Jeremy Tarling
Storyline - for #newsHACK 2013 - Jeremy TarlingStoryline - for #newsHACK 2013 - Jeremy Tarling
Storyline - for #newsHACK 2013 - Jeremy TarlingBBC News Labs
 
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"BBC News Labs
 
BBC News Labs at ISKO Conference, UCL, London - July 2013
BBC News Labs at ISKO Conference, UCL, London - July 2013BBC News Labs at ISKO Conference, UCL, London - July 2013
BBC News Labs at ISKO Conference, UCL, London - July 2013BBC News Labs
 

More from BBC News Labs (7)

"The Birth of the Newsroom of Things" for Hacks Hackers London; Linked Data i...
"The Birth of the Newsroom of Things" for Hacks Hackers London; Linked Data i..."The Birth of the Newsroom of Things" for Hacks Hackers London; Linked Data i...
"The Birth of the Newsroom of Things" for Hacks Hackers London; Linked Data i...
 
Rapid Prototyping - a good idea for Startups - battling the human condition
Rapid Prototyping - a good idea for Startups - battling the human conditionRapid Prototyping - a good idea for Startups - battling the human condition
Rapid Prototyping - a good idea for Startups - battling the human condition
 
Fusion Lightening Talks - BBC News Labs - Matt Shearer on Innovation in Large...
Fusion Lightening Talks - BBC News Labs - Matt Shearer on Innovation in Large...Fusion Lightening Talks - BBC News Labs - Matt Shearer on Innovation in Large...
Fusion Lightening Talks - BBC News Labs - Matt Shearer on Innovation in Large...
 
News Archive - BBC News Labs presentation on Storylines, Topics & Tags
News Archive - BBC News Labs presentation on Storylines, Topics & TagsNews Archive - BBC News Labs presentation on Storylines, Topics & Tags
News Archive - BBC News Labs presentation on Storylines, Topics & Tags
 
Storyline - for #newsHACK 2013 - Jeremy Tarling
Storyline - for #newsHACK 2013 - Jeremy TarlingStoryline - for #newsHACK 2013 - Jeremy Tarling
Storyline - for #newsHACK 2013 - Jeremy Tarling
 
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
 
BBC News Labs at ISKO Conference, UCL, London - July 2013
BBC News Labs at ISKO Conference, UCL, London - July 2013BBC News Labs at ISKO Conference, UCL, London - July 2013
BBC News Labs at ISKO Conference, UCL, London - July 2013
 

Recently uploaded

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

BBC JUICER API Presentation - for SeedHack 4.0 - BBC News Labs

  • 1. Powered by BBC Connected Studio Seedhack 4.0
  • 2. Paul Wilton (@pwilton) Technical Architect Ontoba (@Ontoba1) www.ontoba.com
  • 3. Juicer Data + APIs • • Approx 500k news articles – various news providers • • Concept APIs - find and lookup concepts Each article semantically annotated with DBpedia Concepts, Events and Storylines News APIs - query news via the semantic annotations – use SPARQL !
  • 4. API Endpoints ROOT : /bbc.api.mashery.com/juicer-ld-api/ Accept : application/json Common API Query Parameters : limit = {integer} - limits number of things returned before = {yyyy-mm-dd} - restricts by article date after = {yyyy-mm-dd} - restricts by article date api_key = {your mashery key}
  • 5. Signup for Mashery Key http://bbc.mashery.com/ Live Examples http://newshack.co.uk/tech-talks/juicer-apis/ Docs http://bbc.mashery.com/docs/read/Home
  • 6. Concept APIs Find Concepts - OpenSearch Suggestions JSON GET /concepts/tagged?q={ text search term } Find Concepts - filtered by class GET /concepts/tagged?q={ text }&class={ ontology class } Example : GET /concepts/tagged?q=goo&class=http://dbpedia.org/ontology/Organisation GET a Concept GET /concepts?uri=http://dbpedia.org/resource/Larry_Page
  • 7. Get Concept Occurrences ordered my most frequent first GET /concepts/occurrences?type={ type URI } Example GET /concepts/occurrences?type=http://dbpedia.org/ontology/Person &after=2013-10-01
  • 8. Get Concept Co-Occurrences Finds concepts co-occurring with the supplied concept ordered by most frequently occurring GET /concepts/co-occurrences?concept={ source concept URI }&type={ type URI } Example GET /concepts/co-occurrences?concept=http://dbpedia.org/resource/Barack_Obama& type=http://dbpedia.org/ontology/Person&after=2013-10-01
  • 9. Search News Articles Full Text Search for Articles: GET /search?q={ text phrase } Example GET /search?q=chemical weapons&limit=20&after=2013-09-01
  • 10. Semantic Query for News Articles Use SPARQL grammar to find articles Exploit the DBpedia ontology GET /articles?binding=articles&where={ sparql grammar, URL encoded } Example clause, that finds articles tagged with companies in the aerospace industry: ?articles cwork:tag ?thing . ?thing a <http://dbpedia.org/ontology/Company> . ?thing <http://dbpedia.org/ontology/industry> <http://dbpedia.org/resource/Aerospace> .
  • 11. Live Examples http://newshack.co.uk/tech-talks/juicer-apis/ Signup for Mashery Key http://bbc.mashery.com/ Find me tomorrow and ask me questions ! Paul Wilton @pwilton