Skip to content

Commit

Permalink
Rename Igbo data queries SPARQL files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekikereabasi-Nk committed Oct 19, 2024
1 parent c7d0f7a commit d69ba6b
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 78 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# Igbo adjective and their corresponding grammatical features.
# Igbo (Q33578) adjective (Q34698) and their corresponding grammatical features.
# Enter this query at https://query.wikidata.org/

SELECT
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,69 @@
# tool: scribe-data
# All Igbo (Q33578) adverbs and the given forms.
# Enter this query at https://query.wikidata.org/.
# Igbo (Q33578) adverbs (Q380057) and their corresponding grammatical features.
# Enter this query at https://query.wikidata.org/

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
?adverb

?adverbialPhrase
?pastParticiple
?synonym
?adverbial
?determiner
?futureTense
?noun
WHERE {
?lexeme dct:language wd:Q33578 ;
wikibase:lexicalCategory wd:Q380057 ;
wikibase:lemma ?adverb .
wikibase:lexicalCategory wd:Q380057 ;
wikibase:lemma ?adverb .

# MARK: Adverbial phrases
OPTIONAL {
?lexeme ontolex:lexicalForm ?adverbialPhraseForm .
?adverbialPhraseForm ontolex:representation ?adverbialPhrase ;
wikibase:grammaticalFeature wd:Q3734650 .
}

# MARK: Past participles
OPTIONAL {
?lexeme ontolex:lexicalForm ?pastParticipleForm .
?pastParticipleForm ontolex:representation ?pastParticiple ;
wikibase:grammaticalFeature wd:Q12717679 .
}

# MARK: Synonyms
OPTIONAL {
?lexeme ontolex:lexicalForm ?synonymForm .
?synonymForm ontolex:representation ?synonym ;
wikibase:grammaticalFeature wd:Q42106 .
}

# MARK: Adverbials
OPTIONAL {
?lexeme ontolex:lexicalForm ?adverbialForm .
?adverbialForm ontolex:representation ?adverbial ;
wikibase:grammaticalFeature wd:Q380012.
}

# MARK: Determiners
OPTIONAL {
?lexeme ontolex:lexicalForm ?determinerForm .
?determinerForm ontolex:representation ?determiner ;
wikibase:grammaticalFeature wd:Q576271 .
}

# MARK: Future tense forms
OPTIONAL {
?lexeme ontolex:lexicalForm ?futureTenseForm .
?futureTenseForm ontolex:representation ?futureTense ;
wikibase:grammaticalFeature wd:Q501405 .
}

# MARK: Nouns
OPTIONAL {
?lexeme ontolex:lexicalForm ?nounForm .
?nounForm ontolex:representation ?noun ;
wikibase:grammaticalFeature wd:Q1084 .
}

}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# Igbo nouns and their grammatical features.
# Igbo (Q33578) nouns (Q1084) and their grammatical features.
# Enter this query at https://query.wikidata.org/

SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# Igbo nouns and their corresponding grammatical features.
# Igbo (Q33578) nouns (Q1084) and their corresponding grammatical features.
# Enter this query at https://query.wikidata.org/

SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# Igbo preposition and their corresponding grammatical features.
# Igbo (Q33578) preposition (Q4833830) and their corresponding grammatical features.
# Enter this query at https://query.wikidata.org/

SELECT
Expand Down

0 comments on commit d69ba6b

Please sign in to comment.