Simple Question (Direct)
Simple Question
Q1581843
P106
Q12737077
USER
Which occupations are the professions of Hans Preuß ?
(Q1581843,P106,c(Q12737077))
action filter_type
action find
entity Q1581843
relation P106
type Q12737077
['Q1581843', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1581843 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Hans Preuß
action filter_type
action find
entity Hans Preuß
relation occupation
type occupation
['Hans Preuß', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Hans_Preuß property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q1743122 Q1234713 Q1622272
SYSTEM
church historian, theologian, university teacher
Q1743122 Q1234713 Q1622272
(Q1581843,P106,c(Q12737077))
action filter_type
action find
entity Q1581843
relation P106
type Q12737077
The professions of Hans Preuß are [ANSWERS]
['Q1581843', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1581843 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
church historian theologian university teacher
The professions of Hans Preuß are church historian, theologian and university teacher
church historian theologian university teacher
action filter_type
action find
entity Hans Preuß
relation occupation
type occupation
['Hans Preuß', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Hans_Preuß property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1581843
P937
Q515
USER
Which city is the work location of Hans Preuß ?
(Q1581843,P937,c(Q515))
action filter_type
action find
entity Q1581843
relation P937
type Q515
['Q1581843', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q1581843 property:P937 ?a . ?a rdf:type ontology:Q515 }
Hans Preuß
action filter_type
action find
entity Hans Preuß
relation work location
type city
['Hans Preuß', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Hans_Preuß property:work_location ?a . ?a rdf:type ontology:city }
[]
city
Q3126
SYSTEM
Erlangen
Q3126
(Q1581843,P937,c(Q515))
action filter_type
action find
entity Q1581843
relation P937
type Q515
[ANSWER] is the work location of Hans Preuß
['Q1581843', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q1581843 property:P937 ?a . ?a rdf:type ontology:Q515 }
Erlangen
Erlangen is the work location of Hans Preuß
Erlangen
action filter_type
action find
entity Hans Preuß
relation work location
type city
['Hans Preuß', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Hans_Preuß property:work_location ?a . ?a rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1289667
Q515
USER
And also tell me about Linda Feller?
(Q1289667,P937,c(Q515))
action filter_type
action find
entity Q1289667
relation P937
type Q515
['Q1289667', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q1289667 property:P937 ?w . ?w rdf:type ontology:Q515 }
Linda Feller
action filter_type
action find
entity Linda Feller
relation work location
type city
['Linda Feller', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Linda_Feller property:work_location ?w . ?w rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q1289667,P937,c(Q515))
action filter_type
action find
entity Q1289667
relation P937
type Q515
[ANSWER]
['Q1289667', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q1289667 property:P937 ?w . ?w rdf:type ontology:Q515 }
Dresden
Dresden
action filter_type
action find
entity Linda Feller
relation work location
type city
['Linda Feller', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Linda_Feller property:work_location ?w . ?w rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1289667 Q1638579
P21
Q290
USER
How many sexes are the sex of Linda Feller or Abu Nidal Organization ?
(Q1289667,P21,c(Q290)) (Q1638579,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q1289667
relation P21
type Q290
action filter_type
action find
entity Q1638579
relation P21
type Q290
['Q1289667', 'P21', {'concept': 'Q290'}] ['Q1638579', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?f property:P21 ?s . VALUES ( ?f ) { ( resource:Q1289667 ) ( resource:Q1638579 ) } }
Linda Feller Abu Nidal Organization
action count
action union
action filter_type
action find
entity Linda Feller
relation gender
type sex
action filter_type
action find
entity Abu Nidal Organization
relation gender
type sex
['Linda Feller', 'gender', {'concept': 'sex'}] ['Abu Nidal Organization', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?f property:gender ?s . VALUES ( ?f ) { ( resource:Linda_Feller ) ( resource:Abu_Nidal_Organization ) } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q1289667,P21,c(Q290)) (Q1638579,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q1289667
relation P21
type Q290
action filter_type
action find
entity Q1638579
relation P21
type Q290
[ANSWER]
['Q1289667', 'P21', {'concept': 'Q290'}] ['Q1638579', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?f property:P21 ?s . VALUES ( ?f ) { ( resource:Q1289667 ) ( resource:Q1638579 ) } }
male female
2
action count
action union
action filter_type
action find
entity Linda Feller
relation gender
type sex
action filter_type
action find
entity Abu Nidal Organization
relation gender
type sex
['Linda Feller', 'gender', {'concept': 'sex'}] ['Abu Nidal Organization', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?f property:gender ?s . VALUES ( ?f ) { ( resource:Linda_Feller ) ( resource:Abu_Nidal_Organization ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q498011
P36
Q515 Q20667921 Q486972
USER
Which cities are known as the capital of more number of french administrative divisions and human settlements than Sakura ?
(c(Q20667921)|c(Q486972),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q498011
relation P36
type Q20667921
type Q486972
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { VALUES ( ?m ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } . ?w rdf:type ?m } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P36 resource:Q498011 . { { ?f rdf:type ontology:Q20667921 } UNION { ?f rdf:type ontology:Q486972 } } } } . FILTER ( ?c > ?d ) }
Sakura
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Sakura
relation capital
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { VALUES ( ?m ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } . ?w rdf:type ?m } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:capital resource:Sakura . { { ?f rdf:type ontology:type_of_french_administrative_division } UNION { ?f rdf:type ontology:human_settlement } } } } . FILTER ( ?c > ?d ) }
[]
city type of french administrative division human settlement
Q23482 Q456 Q7003
SYSTEM
Marseille, Lyon, Dijon
Q23482 Q6602 Q52564 Q42750 Q6582 Q456 Q7003 Q25475
(c(Q20667921)|c(Q486972),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q498011
relation P36
type Q20667921
type Q486972
[ANSWERS] are known as the capital of more number of french administrative divisions and human settlements than Sakura
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { VALUES ( ?m ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } . ?w rdf:type ?m } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P36 resource:Q498011 . { { ?f rdf:type ontology:Q20667921 } UNION { ?f rdf:type ontology:Q486972 } } } } . FILTER ( ?c > ?d ) }
Marseille Strasbourg Maloe Verevo Vojskovitsy Carcassonne Lyon Dijon Batumi
Marseille, Lyon and Dijon are known as the capital of more number of french administrative divisions and human settlements than Sakura
Marseille Lyon Dijon
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Sakura
relation capital
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { VALUES ( ?m ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } . ?w rdf:type ?m } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:capital resource:Sakura . { { ?f rdf:type ontology:type_of_french_administrative_division } UNION { ?f rdf:type ontology:human_settlement } } } } . FILTER ( ?c > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3931
P36
Q515 Q20667921 Q486972
USER
And how about Brandenburg an der Havel?
(c(Q20667921)|c(Q486972),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q3931
relation P36
type Q20667921
type Q486972
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?v ) WHERE { { ?z rdf:type ontology:Q515 . ?u rdf:type ontology:Q20667921 . ?u property:P36 ?z } UNION { ?u property:P36 ?z . ?z rdf:type ontology:Q515 . ?u rdf:type ontology:Q486972 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P36 resource:Q3931 . { { ?t rdf:type ontology:Q20667921 } UNION { ?t rdf:type ontology:Q486972 } } } } . FILTER ( ?v > ?f ) }
Brandenburg an der Havel
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Brandenburg an der Havel
relation capital
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?v ) WHERE { { ?z rdf:type ontology:city . ?u rdf:type ontology:type_of_french_administrative_division . ?u property:capital ?z } UNION { ?u property:capital ?z . ?z rdf:type ontology:city . ?u rdf:type ontology:human_settlement } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:capital resource:Brandenburg_an_der_Havel . { { ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?t rdf:type ontology:human_settlement } } } } . FILTER ( ?v > ?f ) }
[]
city type of french administrative division human settlement
Q23482 Q456 Q7003
SYSTEM
Marseille, Lyon, Dijon
Q23482 Q6602 Q52564 Q42750 Q6582 Q456 Q7003 Q25475
(c(Q20667921)|c(Q486972),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q3931
relation P36
type Q20667921
type Q486972
[ANSWERS]
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?v ) WHERE { { ?z rdf:type ontology:Q515 . ?u rdf:type ontology:Q20667921 . ?u property:P36 ?z } UNION { ?u property:P36 ?z . ?z rdf:type ontology:Q515 . ?u rdf:type ontology:Q486972 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P36 resource:Q3931 . { { ?t rdf:type ontology:Q20667921 } UNION { ?t rdf:type ontology:Q486972 } } } } . FILTER ( ?v > ?f ) }
Marseille Strasbourg Maloe Verevo Vojskovitsy Carcassonne Lyon Dijon Batumi
Marseille Lyon Dijon
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Brandenburg an der Havel
relation capital
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?v ) WHERE { { ?z rdf:type ontology:city . ?u rdf:type ontology:type_of_french_administrative_division . ?u property:capital ?z } UNION { ?u property:capital ?z . ?z rdf:type ontology:city . ?u rdf:type ontology:human_settlement } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:capital resource:Brandenburg_an_der_Havel . { { ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?t rdf:type ontology:human_settlement } } } } . FILTER ( ?v > ?f ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3115074
P180
Q3305213
USER
Does grande fresque de la gare de Lyon depict those cities ?
(Q3115074,P180,Q23482) (Q3115074,P180,Q456) (Q3115074,P180,Q7003)
action is_in
entity prev_answer
action find
entity Q3115074
relation P180
['Q3115074', 'P180', 'Q23482'] ['Q3115074', 'P180', 'Q456'] ['Q3115074', 'P180', 'Q7003']
ASK WHERE { VALUES ( ?l ) { ( resource:Q23482 ) ( resource:Q6602 ) ( resource:Q52564 ) } . resource:Q3115074 property:P180 ?l }
grande fresque de la gare de Lyon
action is_in
entity prev_answer
action find
entity grande fresque de la gare de Lyon
relation depicts
['grande fresque de la gare de Lyon', 'depicts', 'Marseille'] ['grande fresque de la gare de Lyon', 'depicts', 'Lyon'] ['grande fresque de la gare de Lyon', 'depicts', 'Dijon']
ASK WHERE { VALUES ( ?l ) { ( resource:Marseille ) ( resource:Strasbourg ) ( resource:Maloe_Verevo ) } . resource:grande_fresque_de_la_gare_de_Lyon property:depicts ?l }
[]
painting
SYSTEM
YES
(Q3115074,P180,Q23482) (Q3115074,P180,Q456) (Q3115074,P180,Q7003)
action is_in
entity prev_answer
action find
entity Q3115074
relation P180
[ANSWER]
['Q3115074', 'P180', 'Q23482'] ['Q3115074', 'P180', 'Q456'] ['Q3115074', 'P180', 'Q7003']
ASK WHERE { VALUES ( ?l ) { ( resource:Q23482 ) ( resource:Q6602 ) ( resource:Q52564 ) } . resource:Q3115074 property:P180 ?l }
Yes
action is_in
entity prev_answer
action find
entity grande fresque de la gare de Lyon
relation depicts
['grande fresque de la gare de Lyon', 'depicts', 'Marseille'] ['grande fresque de la gare de Lyon', 'depicts', 'Lyon'] ['grande fresque de la gare de Lyon', 'depicts', 'Dijon']
ASK WHERE { VALUES ( ?l ) { ( resource:Marseille ) ( resource:Strasbourg ) ( resource:Maloe_Verevo ) } . resource:grande_fresque_de_la_gare_de_Lyon property:depicts ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23482 Q1449
P190
Q56061
USER
Is Genoa the sister city of Marseille ?
(Q23482,P190,Q1449)
action is_in
entity Q1449
action find
entity Q23482
relation P190
['Q23482', 'P190', 'Q1449']
ASK WHERE { resource:Q23482 property:P190 resource:Q1449 }
Marseille Genoa
action is_in
entity Genoa
action find
entity Marseille
relation sister city
['Marseille', 'sister city', 'Genoa']
ASK WHERE { resource:Marseille property:sister_city resource:Genoa }
[]
administrative territorial entity
SYSTEM
YES
(Q23482,P190,Q1449)
action is_in
entity Q1449
action find
entity Q23482
relation P190
[ANSWER]
['Q23482', 'P190', 'Q1449']
ASK WHERE { resource:Q23482 property:P190 resource:Q1449 }
Yes
action is_in
entity Genoa
action find
entity Marseille
relation sister city
['Marseille', 'sister city', 'Genoa']
ASK WHERE { resource:Marseille property:sister_city resource:Genoa }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1622272 Q7143433
P417
Q502895
USER
Is Pat Ferris the patron saint of university teacher ?
(Q1622272,P417,Q7143433)
action is_in
entity Q7143433
action find
entity Q1622272
relation P417
['Q1622272', 'P417', 'Q7143433']
ASK WHERE { resource:Q1622272 property:P417 resource:Q7143433 }
university teacher Pat Ferris
action is_in
entity Pat Ferris
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Pat Ferris']
ASK WHERE { resource:university_teacher property:patron_saint resource:Pat_Ferris }
[]
common name
SYSTEM
NO
(Q1622272,P417,Q7143433)
action is_in
entity Q7143433
action find
entity Q1622272
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q7143433']
ASK WHERE { resource:Q1622272 property:P417 resource:Q7143433 }
No
action is_in
entity Pat Ferris
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Pat Ferris']
ASK WHERE { resource:university_teacher property:patron_saint resource:Pat_Ferris }
[]