Simple Question (Direct)
Simple Question
Q69145
P102
Q7278
USER
Which political party is Kurt Gscheidle a member of ?
(Q69145,P102,c(Q7278))
action filter_type
action find
entity Q69145
relation P102
type Q7278
['Q69145', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?p WHERE { resource:Q69145 property:P102 ?p . ?p rdf:type ontology:Q7278 }
Kurt Gscheidle
action filter_type
action find
entity Kurt Gscheidle
relation member of political party
type political party
['Kurt Gscheidle', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?p WHERE { resource:Kurt_Gscheidle property:member_of_political_party ?p . ?p rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q69145,P102,c(Q7278))
action filter_type
action find
entity Q69145
relation P102
type Q7278
Party [ANSWER] is Kurt Gscheidle a member of
['Q69145', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?p WHERE { resource:Q69145 property:P102 ?p . ?p rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Kurt Gscheidle a member of
Social Democratic Party of Germany
action filter_type
action find
entity Kurt Gscheidle
relation member of political party
type political party
['Kurt Gscheidle', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?p WHERE { resource:Kurt_Gscheidle property:member_of_political_party ?p . ?p rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49768
P466
Q41176
USER
What is occupied by that political party ?
(c(Q41176),P466,Q49768)
action filter_type
action find_reverse
entity Q49768
relation P466
type Q41176
[{'concept': 'Q41176'}, 'P466', 'Q49768']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q41176 . ?m property:P466 resource:Q49768 }
Social Democratic Party of Germany
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Social Democratic Party of Germany']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:building . ?m property:occupant resource:Social_Democratic_Party_of_Germany }
[]
building
Q878763
SYSTEM
Willy-Brandt-Haus
Q878763
(c(Q41176),P466,Q49768)
action filter_type
action find_reverse
entity Q49768
relation P466
type Q41176
[ANSWER] is occupied by that political party
[{'concept': 'Q41176'}, 'P466', 'Q49768']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q41176 . ?m property:P466 resource:Q49768 }
Willy-Brandt-Haus
Willy-Brandt-Haus is occupied by that political party
Willy-Brandt-Haus
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Social Democratic Party of Germany']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:building . ?m property:occupant resource:Social_Democratic_Party_of_Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q49768
P361
Q43229 Q15911314
USER
How many organizations and associations are a component of Social Democratic Party of Germany ?
(c(Q43229),P361,Q49768) (c(Q15911314),P361,Q49768)
action count
action union
action filter_type
action find_reverse
entity Q49768
relation P361
type Q43229
action filter_type
action find_reverse
entity Q49768
relation P361
type Q15911314
[{'concept': 'Q43229'}, 'P361', 'Q49768'] [{'concept': 'Q15911314'}, 'P361', 'Q49768']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:P361 resource:Q49768 . ?b rdf:type ontology:Q43229 } UNION { ?b property:P361 resource:Q49768 . ?b rdf:type ontology:Q15911314 } }
Social Democratic Party of Germany
action count
action union
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation part of
type organization
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation part of
type association
[{'concept': 'organization'}, 'part of', 'Social Democratic Party of Germany'] [{'concept': 'association'}, 'part of', 'Social Democratic Party of Germany']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:part_of resource:Social_Democratic_Party_of_Germany . ?b rdf:type ontology:organization } UNION { ?b property:part_of resource:Social_Democratic_Party_of_Germany . ?b rdf:type ontology:association } }
[]
organization association
SYSTEM
1 organizations and 3 associations
Q2207550 Q2207521 Q2207545 Q690370
(c(Q43229),P361,Q49768) (c(Q15911314),P361,Q49768)
action count
action union
action filter_type
action find_reverse
entity Q49768
relation P361
type Q43229
action filter_type
action find_reverse
entity Q49768
relation P361
type Q15911314
[ANSWER]
[{'concept': 'Q43229'}, 'P361', 'Q49768'] [{'concept': 'Q15911314'}, 'P361', 'Q49768']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:P361 resource:Q49768 . ?b rdf:type ontology:Q43229 } UNION { ?b property:P361 resource:Q49768 . ?b rdf:type ontology:Q15911314 } }
SPD North Rhine-Westphalia SPD Berlin SPD Sachsen Young Socialists in the SPD
1 organizations and 3 associations
action count
action union
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation part of
type organization
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation part of
type association
[{'concept': 'organization'}, 'part of', 'Social Democratic Party of Germany'] [{'concept': 'association'}, 'part of', 'Social Democratic Party of Germany']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:part_of resource:Social_Democratic_Party_of_Germany . ?b rdf:type ontology:organization } UNION { ?b property:part_of resource:Social_Democratic_Party_of_Germany . ?b rdf:type ontology:association } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49768
P123
Q732577
USER
Which publication was published by that political party ?
action filter_type
action find_reverse
entity Q49768
relation P123
type Q732577
SELECT DISTINCT ?e WHERE { ?e property:P123 resource:Q49768 . ?e rdf:type ontology:Q732577 }
Social Democratic Party of Germany
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation publisher
type publication
SELECT DISTINCT ?e WHERE { ?e property:publisher resource:Social_Democratic_Party_of_Germany . ?e rdf:type ontology:publication }
[]
publication
Q467800
SYSTEM
Vorwärts
Q467800
action filter_type
action find_reverse
entity Q49768
relation P123
type Q732577
[ANSWER] was published by that political party
SELECT DISTINCT ?e WHERE { ?e property:P123 resource:Q49768 . ?e rdf:type ontology:Q732577 }
Vorwärts
Vorwärts was published by that political party
Vorwärts
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation publisher
type publication
SELECT DISTINCT ?e WHERE { ?e property:publisher resource:Social_Democratic_Party_of_Germany . ?e rdf:type ontology:publication }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q467800 Q2590611
P108
Q502895
USER
Does Wolfgang Michal have that publication as its employer ?
(Q2590611,P108,Q467800)
action is_in
entity Q467800
action find
entity Q2590611
relation P108
['Q2590611', 'P108', 'Q467800']
ASK WHERE { resource:Q2590611 property:P108 resource:Q467800 }
Vorwärts Wolfgang Michal
action is_in
entity Vorwärts
action find
entity Wolfgang Michal
relation employer
['Wolfgang Michal', 'employer', 'Vorwärts']
ASK WHERE { resource:Wolfgang_Michal property:employer resource:Vorwärts }
[]
common name
SYSTEM
YES
(Q2590611,P108,Q467800)
action is_in
entity Q467800
action find
entity Q2590611
relation P108
[ANSWER]
['Q2590611', 'P108', 'Q467800']
ASK WHERE { resource:Q2590611 property:P108 resource:Q467800 }
Yes
action is_in
entity Vorwärts
action find
entity Wolfgang Michal
relation employer
['Wolfgang Michal', 'employer', 'Vorwärts']
ASK WHERE { resource:Wolfgang_Michal property:employer resource:Vorwärts }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q878763 Q763552 Q1240875
P138
Q502895
USER
Does Willy-Brandt-Haus have Kazuhiro Murata and Willem van Twillert as its toponym ?
(Q878763,P138,Q763552) (Q878763,P138,Q1240875)
action is_in
entity Q878763
action intersection
action find_reverse
entity Q763552
relation P138
action find_reverse
entity Q1240875
relation P138
['Q878763', 'P138', 'Q763552'] ['Q878763', 'P138', 'Q1240875']
ASK WHERE { resource:Q878763 property:P138 resource:Q763552 . resource:Q878763 property:P138 resource:Q1240875 }
Willy-Brandt-Haus Kazuhiro Murata Willem van Twillert
action is_in
entity Willy-Brandt-Haus
action intersection
action find_reverse
entity Kazuhiro Murata
relation named after
action find_reverse
entity Willem van Twillert
relation named after
['Willy-Brandt-Haus', 'named after', 'Kazuhiro Murata'] ['Willy-Brandt-Haus', 'named after', 'Willem van Twillert']
ASK WHERE { resource:Willy-Brandt-Haus property:named_after resource:Kazuhiro_Murata . resource:Willy-Brandt-Haus property:named_after resource:Willem_van_Twillert }
[]
common name
SYSTEM
NO
(Q878763,P138,Q763552) (Q878763,P138,Q1240875)
action is_in
entity Q878763
action intersection
action find_reverse
entity Q763552
relation P138
action find_reverse
entity Q1240875
relation P138
[ANSWER]
['Q878763', 'P138', 'Q763552'] ['Q878763', 'P138', 'Q1240875']
ASK WHERE { resource:Q878763 property:P138 resource:Q763552 . resource:Q878763 property:P138 resource:Q1240875 }
No
action is_in
entity Willy-Brandt-Haus
action intersection
action find_reverse
entity Kazuhiro Murata
relation named after
action find_reverse
entity Willem van Twillert
relation named after
['Willy-Brandt-Haus', 'named after', 'Kazuhiro Murata'] ['Willy-Brandt-Haus', 'named after', 'Willem van Twillert']
ASK WHERE { resource:Willy-Brandt-Haus property:named_after resource:Kazuhiro_Murata . resource:Willy-Brandt-Haus property:named_after resource:Willem_van_Twillert }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q878763
P800
Q502895
USER
Which person has that building as a notable work ?
action filter_type
action find_reverse
entity Q878763
relation P800
type Q502895
SELECT DISTINCT ?t WHERE { ?t property:P800 resource:Q878763 . ?t rdf:type ontology:Q502895 }
Willy-Brandt-Haus
action filter_type
action find_reverse
entity Willy-Brandt-Haus
relation notable work
type common name
SELECT DISTINCT ?t WHERE { ?t property:notable_work resource:Willy-Brandt-Haus . ?t rdf:type ontology:common_name }
[]
common name
Q1602355
SYSTEM
Helge Bofinger
Q1602355
action filter_type
action find_reverse
entity Q878763
relation P800
type Q502895
[ANSWER] has that building as a notable work
SELECT DISTINCT ?t WHERE { ?t property:P800 resource:Q878763 . ?t rdf:type ontology:Q502895 }
Helge Bofinger
Helge Bofinger has that building as a notable work
Helge Bofinger
action filter_type
action find_reverse
entity Willy-Brandt-Haus
relation notable work
type common name
SELECT DISTINCT ?t WHERE { ?t property:notable_work resource:Willy-Brandt-Haus . ?t rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q53351
P725
Q502895 Q2342494
USER
How many collectables did less number of people dub for than Accel World ?
(c(Q2342494),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q53351
relation P725
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?o ) WHERE { ?s property:P725 ?j . ?s rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q53351 property:P725 ?k . ?k rdf:type ontology:Q502895 } } }
Accel World
action count
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Accel World
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?o ) WHERE { ?s property:voice_actor ?j . ?s rdf:type ontology:collectable . ?j rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Accel_World property:voice_actor ?k . ?k rdf:type ontology:common_name } } }
[]
common name collectable
SYSTEM
14
Q50035 Q483263 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q5647726 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q53351
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?o ) WHERE { ?s property:P725 ?j . ?s rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q53351 property:P725 ?k . ?k rdf:type ontology:Q502895 } } }
Nyaruko: Crawling with Love Baka and Test Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure Muv-Luv
14
action count
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Accel World
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?o ) WHERE { ?s property:voice_actor ?j . ?s rdf:type ontology:collectable . ?j rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Accel_World property:voice_actor ?k . ?k rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q485958
P725
Q502895 Q2342494
USER
And what about Ro-Kyu-Bu!?
(c(Q2342494),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q485958
relation P725
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?o ) WHERE { ?z rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 . ?z property:P725 ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Q485958 property:P725 ?h . ?h rdf:type ontology:Q502895 } } . FILTER ( ?o < ?t ) }
Ro-Kyu-Bu!
action count
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ro-Kyu-Bu!
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?o ) WHERE { ?z rdf:type ontology:collectable . ?i rdf:type ontology:common_name . ?z property:voice_actor ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Ro-Kyu-Bu! property:voice_actor ?h . ?h rdf:type ontology:common_name } } . FILTER ( ?o < ?t ) }
[]
common name collectable
SYSTEM
8
Q495094 Q336056 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q485958
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?o ) WHERE { ?z rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 . ?z property:P725 ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Q485958 property:P725 ?h . ?h rdf:type ontology:Q502895 } } . FILTER ( ?o < ?t ) }
Durarara!! The Girl Who Leapt Through Time Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Muv-Luv
8
action count
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ro-Kyu-Bu!
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?o ) WHERE { ?z rdf:type ontology:collectable . ?i rdf:type ontology:common_name . ?z property:voice_actor ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Ro-Kyu-Bu! property:voice_actor ?h . ?h rdf:type ontology:common_name } } . FILTER ( ?o < ?t ) }
[]