Simple Question (Direct)
Simple Question
Q1393335
P166
Q618779
USER
What was awarded to Sybille Volkholz ?
(Q1393335,P166,c(Q618779))
action filter_type
action find
entity Q1393335
relation P166
type Q618779
['Q1393335', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q1393335 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Sybille Volkholz
action filter_type
action find
entity Sybille Volkholz
relation award received
type award
['Sybille Volkholz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Sybille_Volkholz property:award_received ?m . ?m rdf:type ontology:award }
[]
award
Q10905380
SYSTEM
Cross of the Order of Merit of the Federal Republic of Germany
Q10905380
(Q1393335,P166,c(Q618779))
action filter_type
action find
entity Q1393335
relation P166
type Q618779
Germany [ANSWER] was awarded to Sybille Volkholz
['Q1393335', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q1393335 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Cross of the Order of Merit of the Federal Republic of Germany
Germany Cross of the Order of Merit of the Federal Republic of Germany was awarded to Sybille Volkholz
Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Sybille Volkholz
relation award received
type award
['Sybille Volkholz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Sybille_Volkholz property:award_received ?m . ?m rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1393335
P106
Q12737077
USER
What does Sybille Volkholz do for a living ?
(Q1393335,P106,c(Q12737077))
action filter_type
action find
entity Q1393335
relation P106
type Q12737077
['Q1393335', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1393335 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Sybille Volkholz
action filter_type
action find
entity Sybille Volkholz
relation occupation
type occupation
['Sybille Volkholz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Sybille_Volkholz property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1393335,P106,c(Q12737077))
action filter_type
action find
entity Q1393335
relation P106
type Q12737077
Sybille Volkholz does a [ANSWER] for a living
['Q1393335', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1393335 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
politician
Sybille Volkholz does a politician for a living
politician
action filter_type
action find
entity Sybille Volkholz
relation occupation
type occupation
['Sybille Volkholz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Sybille_Volkholz property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6369717
Q12737077
USER
And how about Karen Holtsmark?
(Q6369717,P106,c(Q12737077))
action filter_type
action find
entity Q6369717
relation P106
type Q12737077
['Q6369717', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6369717 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Karen Holtsmark
action filter_type
action find
entity Karen Holtsmark
relation occupation
type occupation
['Karen Holtsmark', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Karen_Holtsmark property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q6369717,P106,c(Q12737077))
action filter_type
action find
entity Q6369717
relation P106
type Q12737077
[ANSWER]
['Q6369717', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6369717 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
painter
painter
action filter_type
action find
entity Karen Holtsmark
relation occupation
type occupation
['Karen Holtsmark', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Karen_Holtsmark property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1028181 Q128538
P417
Q502895
USER
Is Luke the Evangelist the patron saint of painter ?
(Q1028181,P417,Q128538)
action is_in
entity Q128538
action find
entity Q1028181
relation P417
['Q1028181', 'P417', 'Q128538']
ASK WHERE { resource:Q1028181 property:P417 resource:Q128538 }
painter Luke the Evangelist
action is_in
entity Luke the Evangelist
action find
entity painter
relation patron saint
['painter', 'patron saint', 'Luke the Evangelist']
ASK WHERE { resource:painter property:patron_saint resource:Luke_the_Evangelist }
[]
common name
SYSTEM
YES
(Q1028181,P417,Q128538)
action is_in
entity Q128538
action find
entity Q1028181
relation P417
[ANSWER]
['Q1028181', 'P417', 'Q128538']
ASK WHERE { resource:Q1028181 property:P417 resource:Q128538 }
Yes
action is_in
entity Luke the Evangelist
action find
entity painter
relation patron saint
['painter', 'patron saint', 'Luke the Evangelist']
ASK WHERE { resource:painter property:patron_saint resource:Luke_the_Evangelist }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of around 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P417 ?f . ?n rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?b = 3 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:patron_saint ?f . ?n rdf:type ontology:occupation . ?f rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?b = 3 ) }
[]
common name occupation
Q128538 Q192816 Q200895
SYSTEM
Luke the Evangelist, Saint Barbara, Agatha of Sicily
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWERS] are the patron saints of around 3 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P417 ?f . ?n rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?b = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
Luke the Evangelist, Saint Barbara and Agatha of Sicily are the patron saints of around 3 occupations
Luke the Evangelist Saint Barbara Agatha of Sicily
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:patron_saint ?f . ?n rdf:type ontology:occupation . ?f rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?b = 3 ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q12786853
Q502895
USER
And also tell me about St. Bartholomew's Parish Church?
(Q12786853,P417,c(Q502895))
action count
action filter_type
action find
entity Q12786853
relation P417
type Q502895
['Q12786853', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q12786853 property:P417 ?c . ?c rdf:type ontology:Q502895 }
St. Bartholomew's Parish Church
action count
action filter_type
action find
entity St. Bartholomew's Parish Church
relation patron saint
type common name
["St. Bartholomew's Parish Church", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:St._Bartholomew's_Parish_Church property:patron_saint ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q12786853,P417,c(Q502895))
action count
action filter_type
action find
entity Q12786853
relation P417
type Q502895
[ANSWER]
['Q12786853', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q12786853 property:P417 ?c . ?c rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity St. Bartholomew's Parish Church
relation patron saint
type common name
["St. Bartholomew's Parish Church", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:St._Bartholomew's_Parish_Church property:patron_saint ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12786853
P1435
Q2065736
USER
Which cultural property is the heritage status of that church ?
action filter_type
action find
entity Q12786853
relation P1435
type Q2065736
SELECT DISTINCT ?b WHERE { resource:Q12786853 property:P1435 ?b . ?b rdf:type ontology:Q2065736 }
St. Bartholomew's Parish Church
action filter_type
action find
entity St. Bartholomew's Parish Church
relation heritage status
type cultural property
SELECT DISTINCT ?b WHERE { resource:St._Bartholomew's_Parish_Church property:heritage_status ?b . ?b rdf:type ontology:cultural_property }
[]
cultural property
Q18363639
SYSTEM
monument of local significance
Q18363639
action filter_type
action find
entity Q12786853
relation P1435
type Q2065736
The [ANSWER] is the heritage status of that church
SELECT DISTINCT ?b WHERE { resource:Q12786853 property:P1435 ?b . ?b rdf:type ontology:Q2065736 }
monument of local significance
The monument of local significance is the heritage status of that church
monument of local significance
action filter_type
action find
entity St. Bartholomew's Parish Church
relation heritage status
type cultural property
SELECT DISTINCT ?b WHERE { resource:St._Bartholomew's_Parish_Church property:heritage_status ?b . ?b rdf:type ontology:cultural_property }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1073053 Q12786853
P17
Q15617994
USER
Which administrative territories are St. Bartholomew's Parish Church or Lubeník a part of ?
OR((Q12786853,P17,c(Q15617994)), (Q1073053,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12786853
relation P17
action find
entity Q1073053
relation P17
type Q15617994
{'OR': [['Q12786853', 'P17', {'concept': 'Q15617994'}], ['Q1073053', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q12786853 property:P17 ?b } UNION { resource:Q1073053 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Lubeník St. Bartholomew's Parish Church
action filter_type
action union
action find
entity St. Bartholomew's Parish Church
relation country
action find
entity Lubeník
relation country
type designation for an administrative territorial entity
{'OR': [["St. Bartholomew's Parish Church", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lubeník', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:St._Bartholomew's_Parish_Church property:country ?b } UNION { resource:Lubeník property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214 Q215
SYSTEM
Slovakia, Slovenia
Q214 Q215
OR((Q12786853,P17,c(Q15617994)), (Q1073053,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12786853
relation P17
action find
entity Q1073053
relation P17
type Q15617994
In [ANSWERS] are St. Bartholomew's Parish Church or Lubeník a part of
{'OR': [['Q12786853', 'P17', {'concept': 'Q15617994'}], ['Q1073053', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q12786853 property:P17 ?b } UNION { resource:Q1073053 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Slovakia Slovenia
In Slovakia and Slovenia are St. Bartholomew's Parish Church or Lubeník a part of
Slovakia Slovenia
action filter_type
action union
action find
entity St. Bartholomew's Parish Church
relation country
action find
entity Lubeník
relation country
type designation for an administrative territorial entity
{'OR': [["St. Bartholomew's Parish Church", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lubeník', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:St._Bartholomew's_Parish_Church property:country ?b } UNION { resource:Lubeník property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]