Attean...I::Term(3pm)

🌸 NAME 🌸

Attean::API::Term β€” RDF Terms. That's the whole name line, bestie: this role is about RDF terms, periodt. πŸŽ€

okay so welcome to the Attean::API::Term(3pm) page from the User Contributed Perl Documentation β€” it's giving RDF terms, and we're gonna get you comfy with the API. no cap, every method and every weird little repeated line is staying right here. πŸ’…βœ¨


πŸ’– VERSION πŸ’–

This document describes Attean::API::Term version 0.035. Tiny version, huge API energy. πŸ¦‹


πŸ¦‹ DESCRIPTION πŸ¦‹

The Attean::API::Term role defines a common API for all RDF terms. That's the vibe: one shared role, all RDF terms speaking the same language. Slay. ✨


πŸ”₯ REQUIRED METHODS πŸ”₯

The following methods are required by the Attean::API::Term role β€” like, you literally can't skip these, bestie:

  • value β€” Returns the term's value string. πŸ’–
  • ntriples_string β€” Returns an N-Triples-compatible string serialization. πŸŽ€

✨ METHODS ✨

This role provides default implementations of the following methods β€” cute lil built-ins you get for free:

  • as_string β€” Returns a string serialization of the term. 🌸
  • ebv β€” Returns true if the term has a true SPARQL "effective boolean value", false otherwise. πŸ¦‹
  • order ( $other ) β€” Similar to compare, but provides the ordering semantics of ORDER BY. πŸ‘‘
  • sameTerms( $other ) β€” no description given here; the original lists this exact line three times, so here's appearance #1. 😭
  • sameTerms( $other ) β€” appearance #2, same exact signature, still no extra description. πŸ’€
  • sameTerms( $other ) β€” appearance #3, and yes, that's really the whole bit. πŸ’…

πŸ› BUGS πŸ›

Please report any bugs or feature requests through the GitHub web interface at https://github.com/kasei/attean/issues. Found a glitch? Tell the humans via GitHub, not me β€” I'm just the messenger with a ring light. πŸ’…


πŸ”— SEE ALSO πŸ”—

Bestie, the original page has this heading but no references under it β€” literally nothing to see here. So no SEE ALSO links, no extra docs, just a heading serving looks. πŸ’€βœ¨


πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams β€” "<gwilliams@cpan.org>". Iconic. πŸ’œ


Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. 🫢


mwah πŸ’‹ this page was served up by perl v5.40.0, dated 2025-01-26, and filed under Attean...I::Term(3pm) β€” bye bestie, go slay those RDF terms! 🫢✨

πŸ“¦ where this page comes from