Simple Question (Direct)
Simple Question
Q2149697
P58
Q502895
USER
Who was the screenwriter for Hagetaka: Road to Rebirth ?
(Q2149697,P58,c(Q502895))
action filter_type
action find
entity Q2149697
relation P58
type Q502895
['Q2149697', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2149697 property:P58 ?r . ?r rdf:type ontology:Q502895 }
Hagetaka: Road to Rebirth
action filter_type
action find
entity Hagetaka: Road to Rebirth
relation screenwriter
type common name
['Hagetaka: Road to Rebirth', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Hagetaka:_Road_to_Rebirth property:screenwriter ?r . ?r rdf:type ontology:common_name }
[]
common name
Q9291161
SYSTEM
Kōji Hayashi
Q9291161
(Q2149697,P58,c(Q502895))
action filter_type
action find
entity Q2149697
relation P58
type Q502895
[ANSWER] : the screenwriter for Hagetaka was
['Q2149697', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2149697 property:P58 ?r . ?r rdf:type ontology:Q502895 }
Kōji Hayashi
Kōji Hayashi : the screenwriter for Hagetaka was
Kōji Hayashi
action filter_type
action find
entity Hagetaka: Road to Rebirth
relation screenwriter
type common name
['Hagetaka: Road to Rebirth', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Hagetaka:_Road_to_Rebirth property:screenwriter ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2149697
P144
Q2342494
USER
Which collectable is that television program considered a copy of ?
(Q9291161,P144,c(Q2342494))
action filter_type
action find
entity Q2149697
relation P144
type Q2342494
['Q9291161', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { resource:Q2149697 property:P144 ?b . ?b rdf:type ontology:Q2342494 }
Hagetaka: Road to Rebirth
action filter_type
action find
entity Hagetaka: Road to Rebirth
relation based on
type collectable
['Kōji Hayashi', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { resource:Hagetaka:_Road_to_Rebirth property:based_on ?b . ?b rdf:type ontology:collectable }
[]
collectable
Q11326315
SYSTEM
Hagetaka
Q11326315
(Q9291161,P144,c(Q2342494))
action filter_type
action find
entity Q2149697
relation P144
type Q2342494
[ANSWER] is that television program considered a copy of
['Q9291161', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { resource:Q2149697 property:P144 ?b . ?b rdf:type ontology:Q2342494 }
Hagetaka
Hagetaka is that television program considered a copy of
Hagetaka
action filter_type
action find
entity Hagetaka: Road to Rebirth
relation based on
type collectable
['Kōji Hayashi', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { resource:Hagetaka:_Road_to_Rebirth property:based_on ?b . ?b rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11326315 Q27529569 Q11583091
P50
Q502895
USER
Was Hagetaka written by Jan Pedersen and Jin Mayama ?
(Q11326315,P50,Q27529569) (Q11326315,P50,Q11583091)
action is_in
entity Q11326315
action intersection
action find_reverse
entity Q27529569
relation P50
action find_reverse
entity Q11583091
relation P50
['Q11326315', 'P50', 'Q27529569'] ['Q11326315', 'P50', 'Q11583091']
ASK WHERE { resource:Q11326315 property:P50 resource:Q11583091 . resource:Q11326315 property:P50 resource:Q27529569 }
Hagetaka Jan Pedersen Jin Mayama
action is_in
entity Hagetaka
action intersection
action find_reverse
entity Jan Pedersen
relation author
action find_reverse
entity Jin Mayama
relation author
['Hagetaka', 'author', 'Jan Pedersen'] ['Hagetaka', 'author', 'Jin Mayama']
ASK WHERE { resource:Hagetaka property:author resource:Jin_Mayama . resource:Hagetaka property:author resource:Jan_Pedersen }
[]
common name
SYSTEM
NO and YES respectively
(Q11326315,P50,Q27529569) (Q11326315,P50,Q11583091)
action is_in
entity Q11326315
action intersection
action find_reverse
entity Q27529569
relation P50
action find_reverse
entity Q11583091
relation P50
[ANSWER]
['Q11326315', 'P50', 'Q27529569'] ['Q11326315', 'P50', 'Q11583091']
ASK WHERE { resource:Q11326315 property:P50 resource:Q11583091 . resource:Q11326315 property:P50 resource:Q27529569 }
NO and YES respectively
action is_in
entity Hagetaka
action intersection
action find_reverse
entity Jan Pedersen
relation author
action find_reverse
entity Jin Mayama
relation author
['Hagetaka', 'author', 'Jan Pedersen'] ['Hagetaka', 'author', 'Jin Mayama']
ASK WHERE { resource:Hagetaka property:author resource:Jin_Mayama . resource:Hagetaka property:author resource:Jan_Pedersen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9291161
P58
Q838948
USER
How many works of art did Kōji Hayashi do the screenwriting for ?
(c(Q838948),P58,Q9291161)
action count
action filter_type
action find_reverse
entity Q9291161
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q9291161']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q838948 . ?s property:P58 resource:Q9291161 }
Kōji Hayashi
action count
action filter_type
action find_reverse
entity Kōji Hayashi
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kōji Hayashi']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:work_of_art . ?s property:screenwriter resource:Kōji_Hayashi }
[]
work of art
SYSTEM
1
Q11284061
(c(Q838948),P58,Q9291161)
action count
action filter_type
action find_reverse
entity Q9291161
relation P58
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q9291161']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q838948 . ?s property:P58 resource:Q9291161 }
Hagetaka: The Movie
1
action count
action filter_type
action find_reverse
entity Kōji Hayashi
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kōji Hayashi']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:work_of_art . ?s property:screenwriter resource:Kōji_Hayashi }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1441
Q2342494 Q502895
USER
How many people appear in approximately 2 collectables ?
(c(Q502895),P1441,c(Q2342494))
action count
action approx
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 2
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?t ) WHERE { ?l property:P1441 ?m . ?l rdf:type ontology:Q502895 . ?m rdf:type ontology:Q2342494 } GROUP BY ?l } . FILTER ( ?t = 2 ) }
action count
action approx
action find_tuple_counts
relation present in work
type common name
type collectable
value 2
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?t ) WHERE { ?l property:present_in_work ?m . ?l rdf:type ontology:common_name . ?m rdf:type ontology:collectable } GROUP BY ?l } . FILTER ( ?t = 2 ) }
[]
collectable common name
SYSTEM
1
Q37085
(c(Q502895),P1441,c(Q2342494))
action count
action approx
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?t ) WHERE { ?l property:P1441 ?m . ?l rdf:type ontology:Q502895 . ?m rdf:type ontology:Q2342494 } GROUP BY ?l } . FILTER ( ?t = 2 ) }
Solomon
1
action count
action approx
action find_tuple_counts
relation present in work
type common name
type collectable
value 2
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?t ) WHERE { ?l property:present_in_work ?m . ?l rdf:type ontology:common_name . ?m rdf:type ontology:collectable } GROUP BY ?l } . FILTER ( ?t = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q516505 Q9291161
P58
Q838948
USER
Which works of art did Kōji Hayashi or Axelle Carolyn do the screenwriting for ?
OR((c(Q838948),P58,Q9291161), (c(Q838948),P58,Q516505))
action filter_type
action union
action find_reverse
entity Q9291161
relation P58
action find_reverse
entity Q516505
relation P58
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q9291161'], [{'concept': 'Q838948'}, 'P58', 'Q516505']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P58 resource:Q9291161 } UNION { ?i property:P58 resource:Q516505 } } . ?i rdf:type ontology:Q838948 }
Axelle Carolyn Kōji Hayashi
action filter_type
action union
action find_reverse
entity Kōji Hayashi
relation screenwriter
action find_reverse
entity Axelle Carolyn
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Kōji Hayashi'], [{'concept': 'work of art'}, 'screenwriter', 'Axelle Carolyn']]}
SELECT DISTINCT ?i WHERE { { { ?i property:screenwriter resource:Kōji_Hayashi } UNION { ?i property:screenwriter resource:Axelle_Carolyn } } . ?i rdf:type ontology:work_of_art }
[]
work of art
Q18703912 Q11284061
SYSTEM
Soulmate, Hagetaka: The Movie
Q18703912 Q11284061
OR((c(Q838948),P58,Q9291161), (c(Q838948),P58,Q516505))
action filter_type
action union
action find_reverse
entity Q9291161
relation P58
action find_reverse
entity Q516505
relation P58
type Q838948
Kōji Hayashi or Axelle Carolyn did the screenwriting for the [ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q9291161'], [{'concept': 'Q838948'}, 'P58', 'Q516505']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P58 resource:Q9291161 } UNION { ?i property:P58 resource:Q516505 } } . ?i rdf:type ontology:Q838948 }
Soulmate Hagetaka: The Movie
Kōji Hayashi or Axelle Carolyn did the screenwriting for the Soulmate and Hagetaka: The Movie
Soulmate Hagetaka: The Movie
action filter_type
action union
action find_reverse
entity Kōji Hayashi
relation screenwriter
action find_reverse
entity Axelle Carolyn
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Kōji Hayashi'], [{'concept': 'work of art'}, 'screenwriter', 'Axelle Carolyn']]}
SELECT DISTINCT ?i WHERE { { { ?i property:screenwriter resource:Kōji_Hayashi } UNION { ?i property:screenwriter resource:Axelle_Carolyn } } . ?i rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q139106
P2079
Q2695280 Q838948
USER
How many technicss are used to fabricate approximately the same number of works of art as engraving ?
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q139106
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P2079 ?i . ?g rdf:type ontology:Q838948 . ?i rdf:type ontology:Q2695280 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q139106 property:P2079 ?c . ?c rdf:type ontology:Q2695280 } } . FILTER ( ?t = ?h ) }
engraving
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity engraving
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:fabrication_method ?i . ?g rdf:type ontology:work_of_art . ?i rdf:type ontology:technics } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:engraving property:fabrication_method ?c . ?c rdf:type ontology:technics } } . FILTER ( ?t = ?h ) }
[]
technics work of art
SYSTEM
10
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q139106
relation P2079
type Q2695280
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P2079 ?i . ?g rdf:type ontology:Q838948 . ?i rdf:type ontology:Q2695280 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q139106 property:P2079 ?c . ?c rdf:type ontology:Q2695280 } } . FILTER ( ?t = ?h ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
10
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity engraving
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:fabrication_method ?i . ?g rdf:type ontology:work_of_art . ?i rdf:type ontology:technics } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:engraving property:fabrication_method ?c . ?c rdf:type ontology:technics } } . FILTER ( ?t = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q9363879
P2079
Q2695280 Q838948
USER
And what about stamping?
(c(Q838948),P2079,c(Q2695280))
action count
action approx
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 ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?b ) WHERE { ?j rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 . ?m property:P2079 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q9363879 property:P2079 ?e . ?e rdf:type ontology:Q2695280 } } . FILTER ( ?b = ?g ) }
stamping
action count
action approx
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 ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?b ) WHERE { ?j rdf:type ontology:technics . ?m rdf:type ontology:work_of_art . ?m property:fabrication_method ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:stamping property:fabrication_method ?e . ?e rdf:type ontology:technics } } . FILTER ( ?b = ?g ) }
[]
technics work of art
SYSTEM
10
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action count
action approx
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 ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?b ) WHERE { ?j rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 . ?m property:P2079 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q9363879 property:P2079 ?e . ?e rdf:type ontology:Q2695280 } } . FILTER ( ?b = ?g ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
10
action count
action approx
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 ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?b ) WHERE { ?j rdf:type ontology:technics . ?m rdf:type ontology:work_of_art . ?m property:fabrication_method ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:stamping property:fabrication_method ?e . ?e rdf:type ontology:technics } } . FILTER ( ?b = ?g ) }
[]