Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the verbgen results #18

Merged
merged 1 commit into from Aug 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 30 additions & 0 deletions SwiftSparql/Classes/verbgen/vlueprint.swift
Expand Up @@ -351,6 +351,16 @@ public extension TripleBuilder where State: TripleBuilderStateRDFTypeBoundType,
return appended(verb: RdfsSchema.verb("label"), value: [.var(v)])
}

/// Twitterアカウント
func vlueprintTwitterAccount(is v: GraphTerm) -> TripleBuilder<State> {
return appended(verb: VlueprintSchema.verb("twitterAccount"), value: [.varOrTerm(.term(v))])
}

/// Twitterアカウント
func vlueprintTwitterAccount(is v: Var) -> TripleBuilder<State> {
return appended(verb: VlueprintSchema.verb("twitterAccount"), value: [.var(v)])
}

/// よみ(IME)
func vlueprintYomi(is v: GraphTerm) -> TripleBuilder<State> {
return appended(verb: VlueprintSchema.verb("yomi"), value: [.varOrTerm(.term(v))])
Expand All @@ -360,4 +370,24 @@ public extension TripleBuilder where State: TripleBuilderStateRDFTypeBoundType,
func vlueprintYomi(is v: Var) -> TripleBuilder<State> {
return appended(verb: VlueprintSchema.verb("yomi"), value: [.var(v)])
}

/// YoutubeチャンネルID: チャンネルURLに関しては省略します
func vlueprintYoutubeChannelId(is v: GraphTerm) -> TripleBuilder<State> {
return appended(verb: VlueprintSchema.verb("youtubeChannelId"), value: [.varOrTerm(.term(v))])
}

/// YoutubeチャンネルID: チャンネルURLに関しては省略します
func vlueprintYoutubeChannelId(is v: Var) -> TripleBuilder<State> {
return appended(verb: VlueprintSchema.verb("youtubeChannelId"), value: [.var(v)])
}

/// Youtubeチャンネル名
func vlueprintYoutubeChannelName(is v: GraphTerm) -> TripleBuilder<State> {
return appended(verb: VlueprintSchema.verb("youtubeChannelName"), value: [.varOrTerm(.term(v))])
}

/// Youtubeチャンネル名
func vlueprintYoutubeChannelName(is v: Var) -> TripleBuilder<State> {
return appended(verb: VlueprintSchema.verb("youtubeChannelName"), value: [.var(v)])
}
}