Simple Question (Direct)
Simple Question
Q1542073
P136
Q1792379
USER
What can be considered as category for Willard ?
(Q1542073,P136,c(Q1792379))
action filter_type
action find
entity Q1542073
relation P136
type Q1792379
['Q1542073', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1792379 . resource:Q1542073 property:P136 ?f }
Willard
action filter_type
action find
entity Willard
relation genre
type art genre
['Willard', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:art_genre . resource:Willard property:genre ?f }
[]
art genre
Q200092
SYSTEM
horror film
Q200092
(Q1542073,P136,c(Q1792379))
action filter_type
action find
entity Q1542073
relation P136
type Q1792379
The [ANSWER] can be considered as category for Willard
['Q1542073', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1792379 . resource:Q1542073 property:P136 ?f }
horror film
The horror film can be considered as category for Willard
horror film
action filter_type
action find
entity Willard
relation genre
type art genre
['Willard', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:art_genre . resource:Willard property:genre ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1542073
P162
Q502895
USER
Which person is the produced of that work of art ?
(Q200092,P162,c(Q502895))
action filter_type
action find
entity Q1542073
relation P162
type Q502895
['Q200092', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q1542073 property:P162 ?e }
Willard
action filter_type
action find
entity Willard
relation producer
type common name
['horror film', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Willard property:producer ?e }
[]
common name
Q72984
SYSTEM
Bing Crosby
Q72984
(Q200092,P162,c(Q502895))
action filter_type
action find
entity Q1542073
relation P162
type Q502895
[ANSWER] is the produced of that work of art
['Q200092', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q1542073 property:P162 ?e }
Bing Crosby
Bing Crosby is the produced of that work of art
Bing Crosby
action filter_type
action find
entity Willard
relation producer
type common name
['horror film', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Willard property:producer ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q72984 Q12152
P509
Q2057971
USER
Was myocardial infarction the cause of death of that person ?
(Q72984,P509,Q12152)
action is_in
entity Q12152
action find
entity Q72984
relation P509
['Q72984', 'P509', 'Q12152']
ASK WHERE { resource:Q72984 property:P509 resource:Q12152 }
Bing Crosby myocardial infarction
action is_in
entity myocardial infarction
action find
entity Bing Crosby
relation cause of death
['Bing Crosby', 'cause of death', 'myocardial infarction']
ASK WHERE { resource:Bing_Crosby property:cause_of_death resource:myocardial_infarction }
[]
health problem
SYSTEM
YES
(Q72984,P509,Q12152)
action is_in
entity Q12152
action find
entity Q72984
relation P509
[ANSWER]
['Q72984', 'P509', 'Q12152']
ASK WHERE { resource:Q72984 property:P509 resource:Q12152 }
Yes
action is_in
entity myocardial infarction
action find
entity Bing Crosby
relation cause of death
['Bing Crosby', 'cause of death', 'myocardial infarction']
ASK WHERE { resource:Bing_Crosby property:cause_of_death resource:myocardial_infarction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q72984
P58
Q838948
USER
Which works of art are that person a screenwriter of ?
action filter_type
action find_reverse
entity Q72984
relation P58
type Q838948
SELECT DISTINCT ?y WHERE { ?y property:P58 resource:Q72984 . ?y rdf:type ontology:Q838948 }
Bing Crosby
action filter_type
action find_reverse
entity Bing Crosby
relation screenwriter
type work of art
SELECT DISTINCT ?y WHERE { ?y property:screenwriter resource:Bing_Crosby . ?y rdf:type ontology:work_of_art }
[]
work of art
Q882343 Q1431567 Q1570133
SYSTEM
Blue Skies, Holiday Inn, White Christmas
Q882343 Q1570133 Q2748981 Q2616888 Q1431567
action filter_type
action find_reverse
entity Q72984
relation P58
type Q838948
[ANSWERS] are that person a screenwriter of
SELECT DISTINCT ?y WHERE { ?y property:P58 resource:Q72984 . ?y rdf:type ontology:Q838948 }
Blue Skies White Christmas Dixie Going Hollywood Holiday Inn
Blue Skies, Holiday Inn and White Christmas are that person a screenwriter of
Blue Skies Holiday Inn White Christmas
action filter_type
action find_reverse
entity Bing Crosby
relation screenwriter
type work of art
SELECT DISTINCT ?y WHERE { ?y property:screenwriter resource:Bing_Crosby . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q26265824
P2079
Q2695280 Q838948
USER
How many technicss are used for the production of more number of works of art than chasing ?
(c(Q838948),P2079,c(Q2695280))
action count
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q26265824
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q26265824 property:P2079 ?p . ?p rdf:type ontology:Q2695280 } } . FILTER ( ?u > ?l ) . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?u ) WHERE { ?h rdf:type ontology:Q2695280 . ?a rdf:type ontology:Q838948 . ?a property:P2079 ?h } GROUP BY ?h } }
chasing
action count
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity chasing
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:chasing property:fabrication_method ?p . ?p rdf:type ontology:technics } } . FILTER ( ?u > ?l ) . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?u ) WHERE { ?h rdf:type ontology:technics . ?a rdf:type ontology:work_of_art . ?a property:fabrication_method ?h } GROUP BY ?h } }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q26265824
relation P2079
type Q2695280
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q26265824 property:P2079 ?p . ?p rdf:type ontology:Q2695280 } } . FILTER ( ?u > ?l ) . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?u ) WHERE { ?h rdf:type ontology:Q2695280 . ?a rdf:type ontology:Q838948 . ?a property:P2079 ?h } GROUP BY ?h } }
gilding collage
2
action count
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity chasing
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:chasing property:fabrication_method ?p . ?p rdf:type ontology:technics } } . FILTER ( ?u > ?l ) . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?u ) WHERE { ?h rdf:type ontology:technics . ?a rdf:type ontology:work_of_art . ?a property:fabrication_method ?h } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q9363879
P2079
Q2695280 Q838948
USER
And how about stamping?
(c(Q838948),P2079,c(Q2695280))
action count
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q9363879
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q9363879 property:P2079 ?w . ?w rdf:type ontology:Q2695280 } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?o ) WHERE { ?t rdf:type ontology:Q2695280 . ?f rdf:type ontology:Q838948 . ?f property:P2079 ?t } GROUP BY ?t } }
stamping
action count
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity stamping
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:stamping property:fabrication_method ?w . ?w rdf:type ontology:technics } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?o ) WHERE { ?t rdf:type ontology:technics . ?f rdf:type ontology:work_of_art . ?f property:fabrication_method ?t } GROUP BY ?t } }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q9363879
relation P2079
type Q2695280
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q9363879 property:P2079 ?w . ?w rdf:type ontology:Q2695280 } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?o ) WHERE { ?t rdf:type ontology:Q2695280 . ?f rdf:type ontology:Q838948 . ?f property:P2079 ?t } GROUP BY ?t } }
gilding collage
2
action count
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity stamping
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:stamping property:fabrication_method ?w . ?w rdf:type ontology:technics } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?o ) WHERE { ?t rdf:type ontology:technics . ?f rdf:type ontology:work_of_art . ?f property:fabrication_method ?t } GROUP BY ?t } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works are set up by min number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { ?b property:P1445 ?v . ?b rdf:type ontology:Q386724 . ?v rdf:type ontology:Q838948 } GROUP BY ?b } . FILTER ( ?g = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?z ) WHERE { ?c property:P1445 ?j . ?c rdf:type ontology:Q386724 . ?j rdf:type ontology:Q838948 } GROUP BY ?c } } }
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { ?b property:fictional_universe_described_in ?v . ?b rdf:type ontology:work . ?v rdf:type ontology:work_of_art } GROUP BY ?b } . FILTER ( ?g = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?z ) WHERE { ?c property:fictional_universe_described_in ?j . ?c rdf:type ontology:work . ?j rdf:type ontology:work_of_art } GROUP BY ?c } } }
[]
work of art work
Q1203222 Q15731902 Q11927
SYSTEM
Shrek, Aladdin media franchise, Stargate
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWERS] are set up by min number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { ?b property:P1445 ?v . ?b rdf:type ontology:Q386724 . ?v rdf:type ontology:Q838948 } GROUP BY ?b } . FILTER ( ?g = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?z ) WHERE { ?c property:P1445 ?j . ?c rdf:type ontology:Q386724 . ?j rdf:type ontology:Q838948 } GROUP BY ?c } } }
Shrek Aladdin media franchise Stargate The Walking Dead
Shrek, Aladdin media franchise and Stargate are set up by min number of works of art
Shrek Aladdin media franchise Stargate
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { ?b property:fictional_universe_described_in ?v . ?b rdf:type ontology:work . ?v rdf:type ontology:work_of_art } GROUP BY ?b } . FILTER ( ?g = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?z ) WHERE { ?c property:fictional_universe_described_in ?j . ?c rdf:type ontology:work . ?j rdf:type ontology:work_of_art } GROUP BY ?c } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11927
P170
Q502895
USER
Which people are the creaters of Stargate ?
(Q11927,P170,c(Q502895))
action filter_type
action find
entity Q11927
relation P170
type Q502895
['Q11927', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q11927 property:P170 ?o . ?o rdf:type ontology:Q502895 }
Stargate
action filter_type
action find
entity Stargate
relation creator
type common name
['Stargate', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Stargate property:creator ?o . ?o rdf:type ontology:common_name }
[]
common name
Q60100 Q119849
SYSTEM
Roland Emmerich, Dean Devlin
Q60100 Q119849
(Q11927,P170,c(Q502895))
action filter_type
action find
entity Q11927
relation P170
type Q502895
[ANSWERS] are the creaters of Stargate
['Q11927', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q11927 property:P170 ?o . ?o rdf:type ontology:Q502895 }
Roland Emmerich Dean Devlin
Roland Emmerich and Dean Devlin are the creaters of Stargate
Roland Emmerich Dean Devlin
action filter_type
action find
entity Stargate
relation creator
type common name
['Stargate', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Stargate property:creator ?o . ?o rdf:type ontology:common_name }
[]