@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sl:    <http://www.semanlink.net/2001/00/semanlink-schema#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix tag:   <http://www.semanlink.net/tag/> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix dc:    <http://purl.org/dc/elements/1.1/> .

tag:j_y_etais  a        sl:Tag ;
        skos:prefLabel  "J'y étais" .

<http://www.semanlink.net/doc/2023/08/omar_khattab_sur_x_%F0%9F%9A%A8announc>
        dc:title         "Omar Khattab sur X : \"Announcing 𝗗𝗦𝗣y...\"" ;
        sl:creationDate  "2023-08-24" ;
        sl:tag           tag:tweet , tag:omar_khattab , tag:dsp_demonstrate_search_predict .

tag:prompted_models  a  sl:Tag ;
        skos:prefLabel  "Prompting/In-context learning" .

tag:prompts  a          sl:Tag ;
        skos:prefLabel  "Prompts" .

tag:named_entity_recognition
        a               sl:Tag ;
        skos:prefLabel  "Named Entity Recognition" .

<http://www.semanlink.net/doc/2023/09/inside_dspy_the_new_language_m>
        dc:title         "Inside DSPy: The New Language Model Programming Framework You Need… – Towards AI" ;
        sl:creationDate  "2023-09-06" ;
        sl:tag           tag:dsp_demonstrate_search_predict .

<http://www.semanlink.net/doc/2024/03/intro_to_dspy_goodbye_promptin>
        dc:title         "Intro to DSPy: Goodbye Prompting, Hello Programming! | by Leonie Monigatti | Feb, 2024 | Towards Data Science" ;
        sl:creationDate  "2024-03-01" ;
        sl:tag           tag:dsp_demonstrate_search_predict .

<http://www.semanlink.net/doc/2023/06/jerry_liu_sur_twitter_the_ds>
        dc:title         "Jerry Liu sur Twitter : \"The DSP project carries a lot of insights for improving RAG...\"" ;
        sl:comment       "> - value of few-shot ex’s\r\n> - declarative modules\r\n> - compile an optimized system with distilled LM’s" ;
        sl:creationDate  "2023-06-18" ;
        sl:tag           tag:tweet , tag:retrieval_augmented_generation , tag:omar_khattab , tag:jerry_liu , tag:j_y_etais , tag:dsp_demonstrate_search_predict , tag:webinar .

<http://www.semanlink.net/doc/2023/06/2212_14024_demonstrate_search>
        dc:title         "[2212.14024] Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP" ;
        sl:creationDate  "2023-06-23" ;
        sl:tag           tag:omar_khattab , tag:dsp_demonstrate_search_predict , tag:arxiv_doc .

tag:sample_code  a      sl:Tag ;
        skos:prefLabel  "Sample code" .

tag:retrieval_augmented_generation
        a               sl:Tag ;
        skos:prefLabel  "RAG" .

tag:twitter_thread  a   sl:Tag ;
        skos:prefLabel  "Twitter thread" .

tag:colbert  a          sl:Tag ;
        skos:prefLabel  "ColBERT" .

tag:nlp_stanford  a     sl:Tag ;
        skos:prefLabel  "NLP@Stanford" .

tag:cheat_sheet  a      sl:Tag ;
        skos:prefLabel  "Cheat sheet" .

tag:omar_khattab  a     sl:Tag ;
        skos:prefLabel  "Omar Khattab" .

<http://www.semanlink.net/doc/2024/03/dspy_cheatsheet_%7C_dspy>
        dc:title         "DSPy Cheatsheet | DSPy" ;
        sl:creationDate  "2024-03-30" ;
        sl:tag           tag:dsp_demonstrate_search_predict , tag:cheat_sheet .

<http://www.semanlink.net/doc/2024/01/omar_khattab_sur_x_a_cool_th>
        dc:title         "Omar Khattab sur X : \"...Let's use 30 lines of DSPy—without any hand-written prompts or any calls to OpenAI ($0)—to teach...\"" ;
        sl:creationDate  "2024-01-01" ;
        sl:tag           tag:twitter_thread , tag:sample_code , tag:prompts , tag:omar_khattab , tag:dsp_demonstrate_search_predict .

tag:retrieval_augmented_lm
        a               sl:Tag ;
        skos:prefLabel  "Retrieval augmented LM" .

tag:langchain  a        sl:Tag ;
        skos:prefLabel  "LangChain" .

tag:arxiv_doc  a        sl:Tag ;
        skos:prefLabel  "Arxiv Doc" .

<http://www.semanlink.net/doc/2023/05/langchain_retrieval_webinar_y>
        dc:title         "LangChain Retrieval Webinar - YouTube" ;
        sl:comment       "[ColBERT](tag:colbert) retrieval model and the [DSP](doc:2023/02/stanfordnlp_dsp_𝗗𝗦𝗣_demons) programming model" ;
        sl:creationDate  "2023-05-27" ;
        sl:tag           tag:youtube_video , tag:webinar , tag:omar_khattab , tag:langchain , tag:dsp_demonstrate_search_predict , tag:colbert .

tag:mistral  a          sl:Tag ;
        skos:prefLabel  "Mistral" .

tag:weaviate  a         sl:Tag ;
        skos:prefLabel  "Weaviate" .

tag:retriever_reader  a  sl:Tag ;
        skos:prefLabel  "Retriever-Reader" .

<http://www.semanlink.net/doc/2024/03/krista_opsahl_ong_sur_x_got_>
        dc:title         "Krista Opsahl-Ong sur X : \"Got a pipeline with **multiple prompts**, like a DSPy program? ... Introducing MIPRO, a Multi-prompt Instruction Proposal Optimizer....\"" ;
        sl:creationDate  "2024-03-09" ;
        sl:tag           tag:twitter_thread , tag:dsp_demonstrate_search_predict .

tag:knowledge_intensive_nlp_tasks
        a               sl:Tag ;
        skos:prefLabel  "Knowledge-Intensive NLP Tasks" .

tag:retrieval_augmented_in_context_learning
        a               sl:Tag ;
        skos:prefLabel  "Retrieval-augmented in-context learning" .

tag:dsp_demonstrate_search_predict
        a                 sl:Tag ;
        rdfs:isDefinedBy  tag:dsp_demonstrate_search_predict.n3 ;
        skos:broader      tag:retrieval_augmented_lm , tag:retrieval_augmented_in_context_learning , tag:omar_khattab , tag:lm_search ;
        skos:prefLabel    "DSPy (Demonstrate-Search-Predict)" ;
        foaf:page         tag:dsp_demonstrate_search_predict.html .

<http://www.semanlink.net/doc/2024/03/leonie_sur_x_what%E2%80%99s_the_deal>
        dc:title         "Leonie sur X : \"Ollama allows you to run open source LLMs LOCALLY...\"" ;
        sl:comment       "Ollama: good name, anyway" ;
        sl:creationDate  "2024-03-30" ;
        sl:tag           tag:weaviate , tag:open_source_llm , tag:mistral , tag:dsp_demonstrate_search_predict .

tag:lm_search  a        sl:Tag ;
        skos:prefLabel  "LM + Search" .

tag:jerry_liu  a        sl:Tag ;
        skos:prefLabel  "Jerry Liu" .

tag:webinar  a          sl:Tag ;
        skos:prefLabel  "Webinar" .

tag:nlp_based_ir  a     sl:Tag ;
        skos:prefLabel  "NLP based IR" .

tag:tweet  a            sl:Tag ;
        skos:prefLabel  "Tweet" .

tag:youtube_video  a    sl:Tag ;
        skos:prefLabel  "YouTube video" .

tag:github_project  a   sl:Tag ;
        skos:prefLabel  "GitHub project" .

tag:open_source_llm  a  sl:Tag ;
        skos:prefLabel  "Open-source LLM" .

<http://www.semanlink.net/doc/2024/04/ner_using_dspy>
        dc:title         "NER using DSPy" ;
        sl:creationDate  "2024-04-12" ;
        sl:tag           tag:named_entity_recognition , tag:dsp_demonstrate_search_predict .

<http://www.semanlink.net/doc/2023/02/stanfordnlp_dsp_%F0%9D%97%97%F0%9D%97%A6%F0%9D%97%A3_demons>
        dc:title         "stanfordnlp/dspy: 𝗗𝗦𝗣: Demonstrate-Search-Predict. A framework for composing retrieval and language models for knowledge-intensive NLP." ;
        sl:comment       "(initially called DSP, rebranded as DSPy)\r\n\r\n> The DSP framework provides a programming abstraction for building grounded AI systems. In a few lines of code, a DSP program expresses rich interactions between retrieval models (RMs) and language models (LMs) to tackle difficult knowledge-intensive NLP tasks (e.g., complex question answering or conversational search).\r\n\r\n> DSP discourages [\"prompt engineering\"](tag:prompted_models), which we view much the same way as hyperparameter tuning in traditional ML\r\n\r\n[@matei_zaharia](https://twitter.com/matei_zaharia/status/1626705622585716737?s=20):\r\n>Who are the World Cup champions? I knew ChatGPT would get it wrong when it launched, but it's surprising that  all the new search+LLM engines do too.\r\n>\r\n> **Combining retrieval+LMs won't just be a matter of prompting**. That's why we've been building tools like DSP at Stanford to do it. " ;
        sl:creationDate  "2023-02-18" ;
        sl:tag           tag:prompted_models , tag:lm_search , tag:github_project , tag:dsp_demonstrate_search_predict , tag:knowledge_intensive_nlp_tasks , tag:nlp_stanford , tag:retriever_reader , tag:nlp_based_ir , tag:omar_khattab .
