WolfgangFahl / snapquery

Frontend to Introduce Named Queries and Named Query Middleware to wikidata
Apache License 2.0
4 stars 1 forks source link

add parameter for command line #21

Closed WolfgangFahl closed 2 months ago

WolfgangFahl commented 2 months ago
snapquery --namespace scholia -qn author_list-of-publications --params q=Q80 --limit 2
[
  {
    "authors": "Christian Bizer, Tom Heath, Tim Berners-Lee",
    "authorsUrl": "../authors/Q17744291,Q17744272,Q80",
    "date": "2023-07-07",
    "type": "chapter",
    "venue": "http://www.wikidata.org/entity/Q125750044",
    "venueLabel": "Linking the World\u2019s Information",
    "work": "http://www.wikidata.org/entity/Q125750037",
    "workLabel": "Linked Data - The Story So Far"
  },
  {
    "authors": "Christoph Lange, Amy Guy, Sarven Capadisli, S\u00f6ren Auer, Tim Berners-Lee",
    "authorsUrl": "../authors/Q30276490,Q30086138,Q30078591,Q27453085,Q80",
    "date": "2017-01-01",
    "pages": 17.0,
    "type": "scholarly article",
    "venue": "http://www.wikidata.org/entity/Q30092087",
    "venueLabel": "The Semantic Web: 14th International Conference, ESWC 2017, Portoro\u017e, Slovenia, May 28 \u2013 June 1, 2017, Proceedings, Part I",
    "work": "http://www.wikidata.org/entity/Q30096408",
    "workLabel": "Linked Data Notifications: A Resource-Centric Communication Protocol"
  }
]