make code public
This commit is contained in:
parent
9d8b93db26
commit
6ba92064bb
26 changed files with 1744 additions and 0 deletions
94
templates/questionsSplitA/count_question.json
Normal file
94
templates/questionsSplitA/count_question.json
Normal file
|
@ -0,0 +1,94 @@
|
|||
[
|
||||
{
|
||||
"name":"Count-Other objects",
|
||||
"text": [
|
||||
"How many other things are in the image?",
|
||||
"What is the count of other things [in the image]?",
|
||||
"What is the number of other things [in the image]?"
|
||||
],
|
||||
"constraints":[],
|
||||
"type":"count",
|
||||
"label":"count-other",
|
||||
"inputs":0
|
||||
},
|
||||
{
|
||||
"name":"Count-All Group Immediate",
|
||||
"text": [
|
||||
"How many [things in the group]?",
|
||||
"What number [of things in the group]?",
|
||||
"How many of them?",
|
||||
"What number of them?",
|
||||
"How many such things [in the group]?"
|
||||
],
|
||||
"constraints":[],
|
||||
"type":"count-all-group",
|
||||
"label":"count-all-group",
|
||||
"inputs":0
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"name":"Count Relation Object Immediate",
|
||||
"text": [
|
||||
"How many things [are present] to its <P> [in the image]?",
|
||||
"How many things does it have to its <P> [in the image]?",
|
||||
"What number of things [are present] to its <P> [in the image]?",
|
||||
"What is the count of things to its <P> [in the image]?"
|
||||
],
|
||||
"type":"count-obj-rel",
|
||||
"label":"count-obj-rel-imm",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"How many things [are present] to {F{its}} <P> [in the image]?",
|
||||
"How many things does {F{it}} have to {F{its}} <P> [in the image]?",
|
||||
"What number of things [are present] to {F{its}} <P> [in the image]?",
|
||||
"What is the count of things to {F{its}} <P> [in the image]?"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Count Exclude Attribute Immediate",
|
||||
"text": [
|
||||
"How many other things share its <A> [in the image]?",
|
||||
"How many other things [in the image] share its <A>?",
|
||||
"What number of other things share its <A> [in the image]?",
|
||||
"How many other things have its <A> [in the image]?",
|
||||
"How many other things [in the image] have its <A>?",
|
||||
"What is the count of other things that share its <A> [in the image]?",
|
||||
"What is the count of other things [in the image] that share its <A>?"
|
||||
],
|
||||
"type":"count-obj-exclude",
|
||||
"label":"count-obj-exclude-imm",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"How many other things share {F{its}} <A> [in the image]?",
|
||||
"How many other things [in the image] share {F{its}} <A>?",
|
||||
"What number of other things share {F{its}} <A> [in the image]?",
|
||||
"How many other things have {F{its}} <A> [in the image]?",
|
||||
"How many other things [in the image] have {F{its}} <A>?",
|
||||
"What is the count of other things that share {F{its}} <A> [in the image]?",
|
||||
"What is the count of other things [in the image] that share {F{its}} <A>?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Count Relation Object Earlier",
|
||||
"text": [
|
||||
"How many other things [in the image] share similar <A> with the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"How many other things [in the image] are of same <A> as the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"How many other things [in the image] have the same <A> as the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"What number of other things [in the image] share similar <A> with the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"What number of other things [in the image] are of same <A> with the earlier <Z1> <C1> <M1> <S1>?"
|
||||
],
|
||||
"type":"count-obj-exclude",
|
||||
"label":"count-obj-exclude-early",
|
||||
"inputs":2,
|
||||
"references": [
|
||||
"How many other things [in the image] share similar <A> with {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"How many other things [in the image] are of same <A> as {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"How many other things [in the image] have the same <A> as {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"What number of other things [in the image] share similar <A> with {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"What number of other things [in the image] are of same <A> with {F{the earlier <Z1> <C1> <M1> <S1>}}?"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
70
templates/questionsSplitA/exist_question.json
Normal file
70
templates/questionsSplitA/exist_question.json
Normal file
|
@ -0,0 +1,70 @@
|
|||
[
|
||||
{
|
||||
"name":"Exist-Other objects",
|
||||
"text":[
|
||||
"Are there other things [in the image]?",
|
||||
"Does the image have other things?",
|
||||
"Any other things [in the image]?",
|
||||
"Are there more things [in the image]?"
|
||||
],
|
||||
"constraints":[],
|
||||
"type":"existence",
|
||||
"label":"exist-other",
|
||||
"inputs":0
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Exist Relation Object Immediate Pair",
|
||||
"text": [
|
||||
"How about to its <P>?",
|
||||
"What about to its <P>?",
|
||||
"And to its <P>?"
|
||||
],
|
||||
"type":"exist-obj-rel",
|
||||
"label":"exist-obj-rel-imm2",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"How about to {F{its}} <P>?",
|
||||
"What about to {F{its}} <P>?",
|
||||
"And to {F{its}} <P>?"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Existence Exclude Attribute Immediate",
|
||||
"text": [
|
||||
"Are there other things that share its <A> [in the image]?",
|
||||
"Are there other things [present] [in the image] sharing its <A>?",
|
||||
"Does the image have other things that share its <A>?",
|
||||
"Does the image have other things sharing its <A>?"
|
||||
],
|
||||
"type":"exist-obj-exclude",
|
||||
"label":"exist-obj-exclude-imm",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"Are there other things that share {F{its}} <A> [in the image]?",
|
||||
"Are there other things [present] [in the image] sharing {F{its}} <A>?",
|
||||
"Does the image have other things that share {F{its}} <A>?",
|
||||
"Does the image have other things sharing {F{its}} <A>?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Existence Relation Object Earlier",
|
||||
"text": [
|
||||
"Are there other things [in the image] that share the same <A> with the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"Are there other things [in the image] that are of same <A> as the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"Does the image have other things that share the same <A> with the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"Does the image have other things that are of same <A> as the earlier <Z1> <C1> <M1> <S1>?"
|
||||
],
|
||||
"type":"exist-obj-exclude",
|
||||
"label":"exist-obj-exclude-early",
|
||||
"inputs":2,
|
||||
"references": [
|
||||
"Are there other things [in the image] that share the same <A> with {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"Are there other things [in the image] that are of same <A> as {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"Does the image have other things that share the same <A> with {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"Does the image have other things that are of same <A> as {F{the earlier <Z1> <C1> <M1> <S1>}}?"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
79
templates/questionsSplitA/seek_attribute.json
Normal file
79
templates/questionsSplitA/seek_attribute.json
Normal file
|
@ -0,0 +1,79 @@
|
|||
[
|
||||
{
|
||||
"name":"Seek Attribute Immediate",
|
||||
"text": [
|
||||
"What is its <A>?",
|
||||
"What <A> is it?",
|
||||
"What about its <A>?",
|
||||
"What is the <A> of this thing?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr",
|
||||
"label":"seek-attr-imm",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"What is {{its}} <A>?",
|
||||
"What <A> is {{it}}?",
|
||||
"What about {{its}} <A>?",
|
||||
"What is the <A> of {{this thing}}?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Seek Attribute Immediate Pair",
|
||||
"text": [
|
||||
"What about <A>?",
|
||||
"And <A>?",
|
||||
"How about <A>?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr",
|
||||
"label":"seek-attr-imm2",
|
||||
"inputs":1
|
||||
},
|
||||
{
|
||||
"name":"Seek Attribute Earlier",
|
||||
"text": [
|
||||
"What is the <A> of the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"What <A> is the earlier <Z1> <C1> <M1> <S1>?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr",
|
||||
"label":"seek-attr-early",
|
||||
"inputs":2,
|
||||
"references": [
|
||||
"What is the <A> of {{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"What <A> is {{the earlier <Z1> <C1> <M1> <S1>}}?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Seek Attribute Relation Immediate",
|
||||
"text": [
|
||||
"If there is a thing <R> it, what is its <A>?",
|
||||
"If there is a thing <R> it, what <A> is it?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr-rel",
|
||||
"label":"seek-attr-rel-imm",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"If there is a thing <R> {F{it}}, what is {{its}} <A>?",
|
||||
"If there is a thing <R> {F{it}}, what <A> is {{it}}?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Seek Attribute Relation Earlier",
|
||||
"text": [
|
||||
"If there is a thing <R> the earlier <Z1> <C1> <M1> <S1>, what is its <A>?",
|
||||
"If there is a thing <R> the earlier <Z1> <C1> <M1> <S1>, what <A> is it?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr-rel",
|
||||
"label":"seek-attr-rel-early",
|
||||
"inputs":2,
|
||||
"references": [
|
||||
"If there is a thing <R> {F{the earlier <Z1> <C1> <M1> <S1>}}, what is {{its}} <A>?",
|
||||
"If there is a thing <R> {F{the earlier <Z1> <C1> <M1> <S1>}}, what <A> is {{it}}?"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue