Simple Question (Direct)
Simple Question
Q1591235
P19
Q515
USER
Which city was Johannes Schottky born in ?
(Q1591235,P19,c(Q515))
action filter_type
action find
entity Q1591235
relation P19
type Q515
['Q1591235', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . resource:Q1591235 property:P19 ?f }
Johannes Schottky
action filter_type
action find
entity Johannes Schottky
relation place of birth
type city
['Johannes Schottky', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . resource:Johannes_Schottky property:place_of_birth ?f }
[]
city
Q4024
SYSTEM
Frankfurt (Oder)
Q4024
(Q1591235,P19,c(Q515))
action filter_type
action find
entity Q1591235
relation P19
type Q515
Johannes Schottky was born in [ANSWER]
['Q1591235', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . resource:Q1591235 property:P19 ?f }
Frankfurt (Oder)
Johannes Schottky was born in Frankfurt (Oder)
Frankfurt (Oder)
action filter_type
action find
entity Johannes Schottky
relation place of birth
type city
['Johannes Schottky', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . resource:Johannes_Schottky property:place_of_birth ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1591235
P106
Q12737077
USER
Which occupations have Johannes Schottky as his/her 's career ?
(Q1591235,P106,c(Q12737077))
action filter_type
action find
entity Q1591235
relation P106
type Q12737077
['Q1591235', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1591235 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Johannes Schottky
action filter_type
action find
entity Johannes Schottky
relation occupation
type occupation
['Johannes Schottky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Johannes_Schottky property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q39631 Q211346 Q36180
SYSTEM
physician, psychiatrist, writer
Q39631 Q211346 Q36180
(Q1591235,P106,c(Q12737077))
action filter_type
action find
entity Q1591235
relation P106
type Q12737077
The [ANSWERS] have Johannes Schottky as his/her 's career
['Q1591235', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1591235 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
physician psychiatrist writer
The physician, psychiatrist and writer have Johannes Schottky as his/her 's career
physician psychiatrist writer
action filter_type
action find
entity Johannes Schottky
relation occupation
type occupation
['Johannes Schottky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Johannes_Schottky property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4024
P6
Q502895
USER
Which people do Frankfurt (Oder) serve as the head of government for ?
(Q4024,P6,c(Q502895))
action filter_type
action find
entity Q4024
relation P6
type Q502895
['Q4024', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4024 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Frankfurt (Oder)
action filter_type
action find
entity Frankfurt (Oder)
relation head of government
type common name
['Frankfurt (Oder)', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Frankfurt_(Oder) property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
Q118115 Q2590885 Q1905261
SYSTEM
Martin Patzelt, Wolfgang Pohl, Martin Wilke
Q118115 Q2590885 Q1905261
(Q4024,P6,c(Q502895))
action filter_type
action find
entity Q4024
relation P6
type Q502895
[ANSWERS] Frankfurt ( Oder ) serve as the head of government for
['Q4024', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4024 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Martin Patzelt Wolfgang Pohl Martin Wilke
Martin Patzelt, Wolfgang Pohl and Martin Wilke Frankfurt ( Oder ) serve as the head of government for
Martin Patzelt Wolfgang Pohl Martin Wilke
action filter_type
action find
entity Frankfurt (Oder)
relation head of government
type common name
['Frankfurt (Oder)', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Frankfurt_(Oder) property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P159
Q515 Q895526 Q1269299
USER
How many cities are the head office for exactly 7 authority organs and business organizations located ?
(c(Q895526)|c(Q1269299),P159,c(Q515))
action count
action equal
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q895526
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
value 7
[[{'concept': 'Q895526'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { FILTER ( ?c = 7 ) . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?c ) WHERE { { ?w rdf:type ontology:Q515 . ?v rdf:type ontology:Q895526 . ?v property:P159 ?w } UNION { ?v property:P159 ?w . ?w rdf:type ontology:Q515 . ?v rdf:type ontology:Q1269299 } } GROUP BY ?w } }
action count
action equal
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
value 7
[[{'concept': 'authority organ'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { FILTER ( ?c = 7 ) . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?c ) WHERE { { ?w rdf:type ontology:city . ?v rdf:type ontology:authority_organ . ?v property:headquarters_location ?w } UNION { ?v property:headquarters_location ?w . ?w rdf:type ontology:city . ?v rdf:type ontology:type_of_business_entity } } GROUP BY ?w } }
[]
city authority organ type of business entity
SYSTEM
3
Q1519 Q1761 Q1533
(c(Q895526)|c(Q1269299),P159,c(Q515))
action count
action equal
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q895526
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
value 7
[ANSWER]
[[{'concept': 'Q895526'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { FILTER ( ?c = 7 ) . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?c ) WHERE { { ?w rdf:type ontology:Q515 . ?v rdf:type ontology:Q895526 . ?v property:P159 ?w } UNION { ?v property:P159 ?w . ?w rdf:type ontology:Q515 . ?v rdf:type ontology:Q1269299 } } GROUP BY ?w } }
Abu Dhabi Dublin Caracas
3
action count
action equal
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
value 7
[[{'concept': 'authority organ'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { FILTER ( ?c = 7 ) . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?c ) WHERE { { ?w rdf:type ontology:city . ?v rdf:type ontology:authority_organ . ?v property:headquarters_location ?w } UNION { ?v property:headquarters_location ?w . ?w rdf:type ontology:city . ?v rdf:type ontology:type_of_business_entity } } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q15726751
P725
Q502895 Q6619679
USER
Which fictional humanoids had their voice dubbing done by lesser number of people than Diamond Tiara ?
(c(Q6619679),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15726751
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?o ) WHERE { ?z property:P725 ?u . ?u rdf:type ontology:Q502895 . ?z rdf:type ontology:Q6619679 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q15726751 property:P725 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?o < ?l ) }
Diamond Tiara
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Diamond Tiara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?o ) WHERE { ?z property:voice_actor ?u . ?u rdf:type ontology:common_name . ?z rdf:type ontology:fictional_humanoid } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Diamond_Tiara property:voice_actor ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?o < ?l ) }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15726751
relation P725
type Q502895
[ANSWERS] had their voice dubbing done by lesser number of people than Diamond Tiara
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?o ) WHERE { ?z property:P725 ?u . ?u rdf:type ontology:Q502895 . ?z rdf:type ontology:Q6619679 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q15726751 property:P725 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?o < ?l ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
Hector Barbossa, Eli Vance and Imoen had their voice dubbing done by lesser number of people than Diamond Tiara
Hector Barbossa Eli Vance Imoen
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Diamond Tiara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?o ) WHERE { ?z property:voice_actor ?u . ?u rdf:type ontology:common_name . ?z rdf:type ontology:fictional_humanoid } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Diamond_Tiara property:voice_actor ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?o < ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q118115
P6
Q515
USER
How many cities have Martin Patzelt as their head of government ?
(c(Q515),P6,Q118115)
action count
action filter_type
action find_reverse
entity Q118115
relation P6
type Q515
[{'concept': 'Q515'}, 'P6', 'Q118115']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:P6 resource:Q118115 . ?u rdf:type ontology:Q515 }
Martin Patzelt
action count
action filter_type
action find_reverse
entity Martin Patzelt
relation head of government
type city
[{'concept': 'city'}, 'head of government', 'Martin Patzelt']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:head_of_government resource:Martin_Patzelt . ?u rdf:type ontology:city }
[]
city
SYSTEM
1
Q4024
(c(Q515),P6,Q118115)
action count
action filter_type
action find_reverse
entity Q118115
relation P6
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P6', 'Q118115']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:P6 resource:Q118115 . ?u rdf:type ontology:Q515 }
Frankfurt (Oder)
1
action count
action filter_type
action find_reverse
entity Martin Patzelt
relation head of government
type city
[{'concept': 'city'}, 'head of government', 'Martin Patzelt']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:head_of_government resource:Martin_Patzelt . ?u rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q118115
P937
Q56061
USER
Which administrative territory is the work location of that person ?
action filter_type
action find
entity Q118115
relation P937
type Q56061
SELECT DISTINCT ?e WHERE { resource:Q118115 property:P937 ?e . ?e rdf:type ontology:Q56061 }
Martin Patzelt
action filter_type
action find
entity Martin Patzelt
relation work location
type administrative territorial entity
SELECT DISTINCT ?e WHERE { resource:Martin_Patzelt property:work_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
action filter_type
action find
entity Q118115
relation P937
type Q56061
[ANSWER] is the work location of that person
SELECT DISTINCT ?e WHERE { resource:Q118115 property:P937 ?e . ?e rdf:type ontology:Q56061 }
Berlin
Berlin is the work location of that person
Berlin
action filter_type
action find
entity Martin Patzelt
relation work location
type administrative territorial entity
SELECT DISTINCT ?e WHERE { resource:Martin_Patzelt property:work_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q118115
P39
Q12737077
USER
What were the positions held by Martin Patzelt ?
(Q118115,P39,c(Q12737077))
action filter_type
action find
entity Q118115
relation P39
type Q12737077
['Q118115', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q118115 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Martin Patzelt
action filter_type
action find
entity Martin Patzelt
relation position held
type occupation
['Martin Patzelt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Martin_Patzelt property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q30185 Q1939555
SYSTEM
mayor, member of the German Bundestag
Q30185 Q1939555
(Q118115,P39,c(Q12737077))
action filter_type
action find
entity Q118115
relation P39
type Q12737077
The positions held by Martin Patzelt were [ANSWERS]
['Q118115', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q118115 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
mayor member of the German Bundestag
The positions held by Martin Patzelt were mayor and member of the German Bundestag
mayor member of the German Bundestag
action filter_type
action find
entity Martin Patzelt
relation position held
type occupation
['Martin Patzelt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Martin_Patzelt property:position_held ?b . ?b rdf:type ontology:occupation }
[]