Simple Question (Direct)
Simple Question
Q1706058
P106
Q151885
USER
What is the job of Josef Winckler ?
(Q1706058,P106,c(Q151885))
action filter_type
action find
entity Q1706058
relation P106
type Q151885
['Q1706058', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q1706058 property:P106 ?i . ?i rdf:type ontology:Q151885 }
Josef Winckler
action filter_type
action find
entity Josef Winckler
relation occupation
type concept
['Josef Winckler', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Josef_Winckler property:occupation ?i . ?i rdf:type ontology:concept }
[]
concept
Q482980
SYSTEM
author
Q482980
(Q1706058,P106,c(Q151885))
action filter_type
action find
entity Q1706058
relation P106
type Q151885
The job of Josef Winckler is the [ANSWER]
['Q1706058', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q1706058 property:P106 ?i . ?i rdf:type ontology:Q151885 }
author
The job of Josef Winckler is the author
author
action filter_type
action find
entity Josef Winckler
relation occupation
type concept
['Josef Winckler', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Josef_Winckler property:occupation ?i . ?i rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1706058
P20
Q486972
USER
Where did Josef Winckler die ?
(Q1706058,P20,c(Q486972))
action filter_type
action find
entity Q1706058
relation P20
type Q486972
['Q1706058', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q1706058 property:P20 ?t . ?t rdf:type ontology:Q486972 }
Josef Winckler
action filter_type
action find
entity Josef Winckler
relation place of death
type human settlement
['Josef Winckler', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Josef_Winckler property:place_of_death ?t . ?t rdf:type ontology:human_settlement }
[]
human settlement
Q151285
SYSTEM
Bensberg
Q151285
(Q1706058,P20,c(Q486972))
action filter_type
action find
entity Q1706058
relation P20
type Q486972
Josef Winckler died in [ANSWER]
['Q1706058', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q1706058 property:P20 ?t . ?t rdf:type ontology:Q486972 }
Bensberg
Josef Winckler died in Bensberg
Bensberg
action filter_type
action find
entity Josef Winckler
relation place of death
type human settlement
['Josef Winckler', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Josef_Winckler property:place_of_death ?t . ?t rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q151885 Q1792379 Q3305213
USER
How many concepts are depicted in approximately 24 art genres or paintings ?
(c(Q1792379)|c(Q3305213),P180,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3305213
value 24
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { FILTER ( ?j = 24 ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?j ) WHERE { VALUES ( ?a ) { ( ontology:Q1792379 ) ( ontology:Q3305213 ) } . ?c rdf:type ?a } GROUP BY ?y } }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type art genre
action find_reverse_tuple_counts
relation depicts
type concept
type painting
value 24
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { FILTER ( ?j = 24 ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?j ) WHERE { VALUES ( ?a ) { ( ontology:art_genre ) ( ontology:painting ) } . ?c rdf:type ?a } GROUP BY ?y } }
[]
concept art genre painting
SYSTEM
4
Q8436 Q40953 Q6537379 Q18121798
(c(Q1792379)|c(Q3305213),P180,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3305213
value 24
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { FILTER ( ?j = 24 ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?j ) WHERE { VALUES ( ?a ) { ( ontology:Q1792379 ) ( ontology:Q3305213 ) } . ?c rdf:type ?a } GROUP BY ?y } }
family prayer walking lovers' embrace
4
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type art genre
action find_reverse_tuple_counts
relation depicts
type concept
type painting
value 24
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { FILTER ( ?j = 24 ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?j ) WHERE { VALUES ( ?a ) { ( ontology:art_genre ) ( ontology:painting ) } . ?c rdf:type ?a } GROUP BY ?y } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q151285
P21 P20
Q502895
USER
Which people expired at Bensberg and have the gender as male ?
AND((c(Q502895),P20,Q151285), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q151285
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q151285'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P20 resource:Q151285 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
male Bensberg
action filter_type
action intersection
action find_reverse
entity Bensberg
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Bensberg'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:place_of_death resource:Bensberg . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
common name
Q1731607 Q825814 Q88261 Q2172844 Q1730782 Q2524203 Q1633233 Q1706058 Q98675 Q1703446
SYSTEM
Some of them are Karl Hermann Pillney, Bernhard Rotterdam, Otto Gmelin, Rudolf Halaczinsky, Karl Dörge, Viktor Agartz, Hubert Jungherz, Josef Winckler, Ludwig Schiedermair, Jonny Buchardt
Q88261 Q1733669 Q1731607 Q2172844 Q2524203 Q1706058 Q98675 Q1633233 Q1703446 Q1564828 Q20730841 Q825814 Q1730782
AND((c(Q502895),P20,Q151285), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q151285
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] expired at Bensberg and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q151285'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P20 resource:Q151285 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
Otto Gmelin Carl Rettberg Karl Hermann Pillney Rudolf Halaczinsky Viktor Agartz Josef Winckler Ludwig Schiedermair Hubert Jungherz Jonny Buchardt Jakob Euler Kurt Binding Bernhard Rotterdam Karl Dörge
Karl Hermann Pillney, Bernhard Rotterdam, Otto Gmelin, Rudolf Halaczinsky, Karl Dörge, Viktor Agartz, Hubert Jungherz, Josef Winckler, Ludwig Schiedermair and Jonny Buchardt expired at Bensberg and have the gender as male
Karl Hermann Pillney Bernhard Rotterdam Otto Gmelin Rudolf Halaczinsky Karl Dörge Viktor Agartz Hubert Jungherz Josef Winckler Ludwig Schiedermair Jonny Buchardt
action filter_type
action intersection
action find_reverse
entity Bensberg
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Bensberg'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:place_of_death resource:Bensberg . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q12737077 Q151885
USER
How many occupations and concepts are the professions of that person ?
(Q98675,P106,c(Q12737077)) (Q98675,P106,c(Q151885)) (Q1731607,P106,c(Q12737077)) (Q1731607,P106,c(Q151885)) (Q825814,P106,c(Q12737077)) (Q825814,P106,c(Q151885)) (Q88261,P106,c(Q12737077)) (Q88261,P106,c(Q151885)) (Q2172844,P106,c(Q12737077)) (Q2172844,P106,c(Q151885)) (Q1730782,P106,c(Q12737077)) (Q1730782,P106,c(Q151885)) (Q2524203,P106,c(Q12737077)) (Q2524203,P106,c(Q151885)) (Q1633233,P106,c(Q12737077)) (Q1633233,P106,c(Q151885)) (Q1706058,P106,c(Q12737077)) (Q1706058,P106,c(Q151885)) (Q98675,P106,c(Q12737077)) (Q98675,P106,c(Q151885)) (Q1703446,P106,c(Q12737077)) (Q1703446,P106,c(Q151885))
['Q98675', 'P106', {'concept': 'Q12737077'}] ['Q98675', 'P106', {'concept': 'Q151885'}] ['Q1731607', 'P106', {'concept': 'Q12737077'}] ['Q1731607', 'P106', {'concept': 'Q151885'}] ['Q825814', 'P106', {'concept': 'Q12737077'}] ['Q825814', 'P106', {'concept': 'Q151885'}] ['Q88261', 'P106', {'concept': 'Q12737077'}] ['Q88261', 'P106', {'concept': 'Q151885'}] ['Q2172844', 'P106', {'concept': 'Q12737077'}] ['Q2172844', 'P106', {'concept': 'Q151885'}] ['Q1730782', 'P106', {'concept': 'Q12737077'}] ['Q1730782', 'P106', {'concept': 'Q151885'}] ['Q2524203', 'P106', {'concept': 'Q12737077'}] ['Q2524203', 'P106', {'concept': 'Q151885'}] ['Q1633233', 'P106', {'concept': 'Q12737077'}] ['Q1633233', 'P106', {'concept': 'Q151885'}] ['Q1706058', 'P106', {'concept': 'Q12737077'}] ['Q1706058', 'P106', {'concept': 'Q151885'}] ['Q98675', 'P106', {'concept': 'Q12737077'}] ['Q98675', 'P106', {'concept': 'Q151885'}] ['Q1703446', 'P106', {'concept': 'Q12737077'}] ['Q1703446', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q98675 property:Q528892 ?z } UNION { resource:Q98675 property:Q528892 ?y } UNION { resource:Q1731607 property:Q528892 ?z } UNION { resource:Q1731607 property:Q528892 ?y } UNION { resource:Q825814 property:Q528892 ?z } UNION { resource:Q825814 property:Q528892 ?y } UNION { resource:Q88261 property:Q528892 ?z } UNION { resource:Q88261 property:Q528892 ?y } UNION { resource:Q2172844 property:Q528892 ?z } UNION { resource:Q2172844 property:Q528892 ?y } UNION { resource:Q1730782 property:Q528892 ?z } UNION { resource:Q1730782 property:Q528892 ?y } UNION { resource:Q2524203 property:Q528892 ?z } UNION { resource:Q2524203 property:Q528892 ?y } UNION { resource:Q1633233 property:Q528892 ?z } UNION { resource:Q1633233 property:Q528892 ?y } UNION { resource:Q1706058 property:Q528892 ?z } UNION { resource:Q1706058 property:Q528892 ?y } UNION { resource:Q98675 property:Q528892 ?z } UNION { resource:Q98675 property:Q528892 ?y } UNION { resource:Q1703446 property:Q528892 ?z } UNION { resource:Q1703446 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q151885 }
['Ludwig Schiedermair', 'occupation', {'concept': 'occupation'}] ['Ludwig Schiedermair', 'occupation', {'concept': 'concept'}] ['Karl Hermann Pillney', 'occupation', {'concept': 'occupation'}] ['Karl Hermann Pillney', 'occupation', {'concept': 'concept'}] ['Bernhard Rotterdam', 'occupation', {'concept': 'occupation'}] ['Bernhard Rotterdam', 'occupation', {'concept': 'concept'}] ['Otto Gmelin', 'occupation', {'concept': 'occupation'}] ['Otto Gmelin', 'occupation', {'concept': 'concept'}] ['Rudolf Halaczinsky', 'occupation', {'concept': 'occupation'}] ['Rudolf Halaczinsky', 'occupation', {'concept': 'concept'}] ['Karl Dörge', 'occupation', {'concept': 'occupation'}] ['Karl Dörge', 'occupation', {'concept': 'concept'}] ['Viktor Agartz', 'occupation', {'concept': 'occupation'}] ['Viktor Agartz', 'occupation', {'concept': 'concept'}] ['Hubert Jungherz', 'occupation', {'concept': 'occupation'}] ['Hubert Jungherz', 'occupation', {'concept': 'concept'}] ['Josef Winckler', 'occupation', {'concept': 'occupation'}] ['Josef Winckler', 'occupation', {'concept': 'concept'}] ['Ludwig Schiedermair', 'occupation', {'concept': 'occupation'}] ['Ludwig Schiedermair', 'occupation', {'concept': 'concept'}] ['Jonny Buchardt', 'occupation', {'concept': 'occupation'}] ['Jonny Buchardt', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Ludwig_Schiedermair property:occupation ?z } UNION { resource:Ludwig_Schiedermair property:occupation ?y } UNION { resource:Karl_Hermann_Pillney property:occupation ?z } UNION { resource:Karl_Hermann_Pillney property:occupation ?y } UNION { resource:Bernhard_Rotterdam property:occupation ?z } UNION { resource:Bernhard_Rotterdam property:occupation ?y } UNION { resource:Otto_Gmelin property:occupation ?z } UNION { resource:Otto_Gmelin property:occupation ?y } UNION { resource:Rudolf_Halaczinsky property:occupation ?z } UNION { resource:Rudolf_Halaczinsky property:occupation ?y } UNION { resource:Karl_Dörge property:occupation ?z } UNION { resource:Karl_Dörge property:occupation ?y } UNION { resource:Viktor_Agartz property:occupation ?z } UNION { resource:Viktor_Agartz property:occupation ?y } UNION { resource:Hubert_Jungherz property:occupation ?z } UNION { resource:Hubert_Jungherz property:occupation ?y } UNION { resource:Josef_Winckler property:occupation ?z } UNION { resource:Josef_Winckler property:occupation ?y } UNION { resource:Ludwig_Schiedermair property:occupation ?z } UNION { resource:Ludwig_Schiedermair property:occupation ?y } UNION { resource:Jonny_Buchardt property:occupation ?z } UNION { resource:Jonny_Buchardt property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:concept }
[]
occupation concept
Quantitative|Count|Mult. entity type|Clarification
Q1731607
SYSTEM
Did you mean Karl Hermann Pillney ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q98675 property:Q528892 ?z } UNION { resource:Q98675 property:Q528892 ?y } UNION { resource:Q1731607 property:Q528892 ?z } UNION { resource:Q1731607 property:Q528892 ?y } UNION { resource:Q825814 property:Q528892 ?z } UNION { resource:Q825814 property:Q528892 ?y } UNION { resource:Q88261 property:Q528892 ?z } UNION { resource:Q88261 property:Q528892 ?y } UNION { resource:Q2172844 property:Q528892 ?z } UNION { resource:Q2172844 property:Q528892 ?y } UNION { resource:Q1730782 property:Q528892 ?z } UNION { resource:Q1730782 property:Q528892 ?y } UNION { resource:Q2524203 property:Q528892 ?z } UNION { resource:Q2524203 property:Q528892 ?y } UNION { resource:Q1633233 property:Q528892 ?z } UNION { resource:Q1633233 property:Q528892 ?y } UNION { resource:Q1706058 property:Q528892 ?z } UNION { resource:Q1706058 property:Q528892 ?y } UNION { resource:Q98675 property:Q528892 ?z } UNION { resource:Q98675 property:Q528892 ?y } UNION { resource:Q1703446 property:Q528892 ?z } UNION { resource:Q1703446 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q151885 }
Did you mean Karl Hermann Pillney ?
Karl Hermann Pillney
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Ludwig_Schiedermair property:occupation ?z } UNION { resource:Ludwig_Schiedermair property:occupation ?y } UNION { resource:Karl_Hermann_Pillney property:occupation ?z } UNION { resource:Karl_Hermann_Pillney property:occupation ?y } UNION { resource:Bernhard_Rotterdam property:occupation ?z } UNION { resource:Bernhard_Rotterdam property:occupation ?y } UNION { resource:Otto_Gmelin property:occupation ?z } UNION { resource:Otto_Gmelin property:occupation ?y } UNION { resource:Rudolf_Halaczinsky property:occupation ?z } UNION { resource:Rudolf_Halaczinsky property:occupation ?y } UNION { resource:Karl_Dörge property:occupation ?z } UNION { resource:Karl_Dörge property:occupation ?y } UNION { resource:Viktor_Agartz property:occupation ?z } UNION { resource:Viktor_Agartz property:occupation ?y } UNION { resource:Hubert_Jungherz property:occupation ?z } UNION { resource:Hubert_Jungherz property:occupation ?y } UNION { resource:Josef_Winckler property:occupation ?z } UNION { resource:Josef_Winckler property:occupation ?y } UNION { resource:Ludwig_Schiedermair property:occupation ?z } UNION { resource:Ludwig_Schiedermair property:occupation ?y } UNION { resource:Jonny_Buchardt property:occupation ?z } UNION { resource:Jonny_Buchardt property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ludwig Schiedermair. Could you tell me the answer for that?
(Q98675,P106,c(Q12737077)) (Q98675,P106,c(Q151885)) (Q1731607,P106,c(Q12737077)) (Q1731607,P106,c(Q151885)) (Q825814,P106,c(Q12737077)) (Q825814,P106,c(Q151885)) (Q88261,P106,c(Q12737077)) (Q88261,P106,c(Q151885)) (Q2172844,P106,c(Q12737077)) (Q2172844,P106,c(Q151885)) (Q1730782,P106,c(Q12737077)) (Q1730782,P106,c(Q151885)) (Q2524203,P106,c(Q12737077)) (Q2524203,P106,c(Q151885)) (Q1633233,P106,c(Q12737077)) (Q1633233,P106,c(Q151885)) (Q1706058,P106,c(Q12737077)) (Q1706058,P106,c(Q151885)) (Q98675,P106,c(Q12737077)) (Q98675,P106,c(Q151885)) (Q1703446,P106,c(Q12737077)) (Q1703446,P106,c(Q151885))
Q98675
['Q98675', 'P106', {'concept': 'Q12737077'}] ['Q98675', 'P106', {'concept': 'Q151885'}] ['Q1731607', 'P106', {'concept': 'Q12737077'}] ['Q1731607', 'P106', {'concept': 'Q151885'}] ['Q825814', 'P106', {'concept': 'Q12737077'}] ['Q825814', 'P106', {'concept': 'Q151885'}] ['Q88261', 'P106', {'concept': 'Q12737077'}] ['Q88261', 'P106', {'concept': 'Q151885'}] ['Q2172844', 'P106', {'concept': 'Q12737077'}] ['Q2172844', 'P106', {'concept': 'Q151885'}] ['Q1730782', 'P106', {'concept': 'Q12737077'}] ['Q1730782', 'P106', {'concept': 'Q151885'}] ['Q2524203', 'P106', {'concept': 'Q12737077'}] ['Q2524203', 'P106', {'concept': 'Q151885'}] ['Q1633233', 'P106', {'concept': 'Q12737077'}] ['Q1633233', 'P106', {'concept': 'Q151885'}] ['Q1706058', 'P106', {'concept': 'Q12737077'}] ['Q1706058', 'P106', {'concept': 'Q151885'}] ['Q98675', 'P106', {'concept': 'Q12737077'}] ['Q98675', 'P106', {'concept': 'Q151885'}] ['Q1703446', 'P106', {'concept': 'Q12737077'}] ['Q1703446', 'P106', {'concept': 'Q151885'}]
['Ludwig Schiedermair', 'occupation', {'concept': 'occupation'}] ['Ludwig Schiedermair', 'occupation', {'concept': 'concept'}] ['Karl Hermann Pillney', 'occupation', {'concept': 'occupation'}] ['Karl Hermann Pillney', 'occupation', {'concept': 'concept'}] ['Bernhard Rotterdam', 'occupation', {'concept': 'occupation'}] ['Bernhard Rotterdam', 'occupation', {'concept': 'concept'}] ['Otto Gmelin', 'occupation', {'concept': 'occupation'}] ['Otto Gmelin', 'occupation', {'concept': 'concept'}] ['Rudolf Halaczinsky', 'occupation', {'concept': 'occupation'}] ['Rudolf Halaczinsky', 'occupation', {'concept': 'concept'}] ['Karl Dörge', 'occupation', {'concept': 'occupation'}] ['Karl Dörge', 'occupation', {'concept': 'concept'}] ['Viktor Agartz', 'occupation', {'concept': 'occupation'}] ['Viktor Agartz', 'occupation', {'concept': 'concept'}] ['Hubert Jungherz', 'occupation', {'concept': 'occupation'}] ['Hubert Jungherz', 'occupation', {'concept': 'concept'}] ['Josef Winckler', 'occupation', {'concept': 'occupation'}] ['Josef Winckler', 'occupation', {'concept': 'concept'}] ['Ludwig Schiedermair', 'occupation', {'concept': 'occupation'}] ['Ludwig Schiedermair', 'occupation', {'concept': 'concept'}] ['Jonny Buchardt', 'occupation', {'concept': 'occupation'}] ['Jonny Buchardt', 'occupation', {'concept': 'concept'}]
[]
SYSTEM
4 occupations and 1 concepts
Q14915627 Q20198542 Q482980 Q36834 Q1622272
(Q98675,P106,c(Q12737077)) (Q98675,P106,c(Q151885)) (Q1731607,P106,c(Q12737077)) (Q1731607,P106,c(Q151885)) (Q825814,P106,c(Q12737077)) (Q825814,P106,c(Q151885)) (Q88261,P106,c(Q12737077)) (Q88261,P106,c(Q151885)) (Q2172844,P106,c(Q12737077)) (Q2172844,P106,c(Q151885)) (Q1730782,P106,c(Q12737077)) (Q1730782,P106,c(Q151885)) (Q2524203,P106,c(Q12737077)) (Q2524203,P106,c(Q151885)) (Q1633233,P106,c(Q12737077)) (Q1633233,P106,c(Q151885)) (Q1706058,P106,c(Q12737077)) (Q1706058,P106,c(Q151885)) (Q98675,P106,c(Q12737077)) (Q98675,P106,c(Q151885)) (Q1703446,P106,c(Q12737077)) (Q1703446,P106,c(Q151885))
[ANSWER]
['Q98675', 'P106', {'concept': 'Q12737077'}] ['Q98675', 'P106', {'concept': 'Q151885'}] ['Q1731607', 'P106', {'concept': 'Q12737077'}] ['Q1731607', 'P106', {'concept': 'Q151885'}] ['Q825814', 'P106', {'concept': 'Q12737077'}] ['Q825814', 'P106', {'concept': 'Q151885'}] ['Q88261', 'P106', {'concept': 'Q12737077'}] ['Q88261', 'P106', {'concept': 'Q151885'}] ['Q2172844', 'P106', {'concept': 'Q12737077'}] ['Q2172844', 'P106', {'concept': 'Q151885'}] ['Q1730782', 'P106', {'concept': 'Q12737077'}] ['Q1730782', 'P106', {'concept': 'Q151885'}] ['Q2524203', 'P106', {'concept': 'Q12737077'}] ['Q2524203', 'P106', {'concept': 'Q151885'}] ['Q1633233', 'P106', {'concept': 'Q12737077'}] ['Q1633233', 'P106', {'concept': 'Q151885'}] ['Q1706058', 'P106', {'concept': 'Q12737077'}] ['Q1706058', 'P106', {'concept': 'Q151885'}] ['Q98675', 'P106', {'concept': 'Q12737077'}] ['Q98675', 'P106', {'concept': 'Q151885'}] ['Q1703446', 'P106', {'concept': 'Q12737077'}] ['Q1703446', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q98675 property:Q528892 ?z } UNION { resource:Q98675 property:Q528892 ?y } UNION { resource:Q1731607 property:Q528892 ?z } UNION { resource:Q1731607 property:Q528892 ?y } UNION { resource:Q825814 property:Q528892 ?z } UNION { resource:Q825814 property:Q528892 ?y } UNION { resource:Q88261 property:Q528892 ?z } UNION { resource:Q88261 property:Q528892 ?y } UNION { resource:Q2172844 property:Q528892 ?z } UNION { resource:Q2172844 property:Q528892 ?y } UNION { resource:Q1730782 property:Q528892 ?z } UNION { resource:Q1730782 property:Q528892 ?y } UNION { resource:Q2524203 property:Q528892 ?z } UNION { resource:Q2524203 property:Q528892 ?y } UNION { resource:Q1633233 property:Q528892 ?z } UNION { resource:Q1633233 property:Q528892 ?y } UNION { resource:Q1706058 property:Q528892 ?z } UNION { resource:Q1706058 property:Q528892 ?y } UNION { resource:Q98675 property:Q528892 ?z } UNION { resource:Q98675 property:Q528892 ?y } UNION { resource:Q1703446 property:Q528892 ?z } UNION { resource:Q1703446 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q151885 }
musicologist music historian author composer university teacher
4 occupations and 1 concepts
['Ludwig Schiedermair', 'occupation', {'concept': 'occupation'}] ['Ludwig Schiedermair', 'occupation', {'concept': 'concept'}] ['Karl Hermann Pillney', 'occupation', {'concept': 'occupation'}] ['Karl Hermann Pillney', 'occupation', {'concept': 'concept'}] ['Bernhard Rotterdam', 'occupation', {'concept': 'occupation'}] ['Bernhard Rotterdam', 'occupation', {'concept': 'concept'}] ['Otto Gmelin', 'occupation', {'concept': 'occupation'}] ['Otto Gmelin', 'occupation', {'concept': 'concept'}] ['Rudolf Halaczinsky', 'occupation', {'concept': 'occupation'}] ['Rudolf Halaczinsky', 'occupation', {'concept': 'concept'}] ['Karl Dörge', 'occupation', {'concept': 'occupation'}] ['Karl Dörge', 'occupation', {'concept': 'concept'}] ['Viktor Agartz', 'occupation', {'concept': 'occupation'}] ['Viktor Agartz', 'occupation', {'concept': 'concept'}] ['Hubert Jungherz', 'occupation', {'concept': 'occupation'}] ['Hubert Jungherz', 'occupation', {'concept': 'concept'}] ['Josef Winckler', 'occupation', {'concept': 'occupation'}] ['Josef Winckler', 'occupation', {'concept': 'concept'}] ['Ludwig Schiedermair', 'occupation', {'concept': 'occupation'}] ['Ludwig Schiedermair', 'occupation', {'concept': 'concept'}] ['Jonny Buchardt', 'occupation', {'concept': 'occupation'}] ['Jonny Buchardt', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Ludwig_Schiedermair property:occupation ?z } UNION { resource:Ludwig_Schiedermair property:occupation ?y } UNION { resource:Karl_Hermann_Pillney property:occupation ?z } UNION { resource:Karl_Hermann_Pillney property:occupation ?y } UNION { resource:Bernhard_Rotterdam property:occupation ?z } UNION { resource:Bernhard_Rotterdam property:occupation ?y } UNION { resource:Otto_Gmelin property:occupation ?z } UNION { resource:Otto_Gmelin property:occupation ?y } UNION { resource:Rudolf_Halaczinsky property:occupation ?z } UNION { resource:Rudolf_Halaczinsky property:occupation ?y } UNION { resource:Karl_Dörge property:occupation ?z } UNION { resource:Karl_Dörge property:occupation ?y } UNION { resource:Viktor_Agartz property:occupation ?z } UNION { resource:Viktor_Agartz property:occupation ?y } UNION { resource:Hubert_Jungherz property:occupation ?z } UNION { resource:Hubert_Jungherz property:occupation ?y } UNION { resource:Josef_Winckler property:occupation ?z } UNION { resource:Josef_Winckler property:occupation ?y } UNION { resource:Ludwig_Schiedermair property:occupation ?z } UNION { resource:Ludwig_Schiedermair property:occupation ?y } UNION { resource:Jonny_Buchardt property:occupation ?z } UNION { resource:Jonny_Buchardt property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3256697
P725
Q502895 Q95074
USER
How many fictional characters had their voice dubbing done by greater number of people than Little Mac ?
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q3256697
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?u ) WHERE { ?l property:P725 ?w . ?w rdf:type ontology:Q502895 . ?l rdf:type ontology:Q95074 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q3256697 property:P725 ?h . ?h rdf:type ontology:Q95074 } } . FILTER ( ?u > ?f ) }
Little Mac
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Little Mac
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?u ) WHERE { ?l property:voice_actor ?w . ?w rdf:type ontology:common_name . ?l rdf:type ontology:fictional_character } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Little_Mac property:voice_actor ?h . ?h rdf:type ontology:fictional_character } } . FILTER ( ?u > ?f ) }
[]
common name fictional character
SYSTEM
3
Q3471289 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q3256697
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?u ) WHERE { ?l property:P725 ?w . ?w rdf:type ontology:Q502895 . ?l rdf:type ontology:Q95074 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q3256697 property:P725 ?h . ?h rdf:type ontology:Q95074 } } . FILTER ( ?u > ?f ) }
Samurai Goroh Samus Aran Captain Falcon
3
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Little Mac
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?u ) WHERE { ?l property:voice_actor ?w . ?w rdf:type ontology:common_name . ?l rdf:type ontology:fictional_character } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Little_Mac property:voice_actor ?h . ?h rdf:type ontology:fictional_character } } . FILTER ( ?u > ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2524203
P39
Q12737077
USER
Which occupation was a position for which Viktor Agartz was appointed ?
(Q2524203,P39,c(Q12737077))
action filter_type
action find
entity Q2524203
relation P39
type Q12737077
['Q2524203', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q2524203 property:P39 ?l }
Viktor Agartz
action filter_type
action find
entity Viktor Agartz
relation position held
type occupation
['Viktor Agartz', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Viktor_Agartz property:position_held ?l }
[]
occupation
Q17781726
SYSTEM
member of the Landtag of North Rhine-Westphalia
Q17781726
(Q2524203,P39,c(Q12737077))
action filter_type
action find
entity Q2524203
relation P39
type Q12737077
A [ANSWER] was a position for which Viktor Agartz was appointed
['Q2524203', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q2524203 property:P39 ?l }
member of the Landtag of North Rhine-Westphalia
A member of the Landtag of North Rhine-Westphalia was a position for which Viktor Agartz was appointed
member of the Landtag of North Rhine-Westphalia
action filter_type
action find
entity Viktor Agartz
relation position held
type occupation
['Viktor Agartz', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Viktor_Agartz property:position_held ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17781726 Q183
P17
Q1048835
USER
Is that occupation located in Germany ?
(Q17781726,P17,Q183)
action is_in
entity Q183
action find
entity Q17781726
relation P17
['Q17781726', 'P17', 'Q183']
ASK WHERE { resource:Q17781726 property:P17 resource:Q183 }
member of the Landtag of North Rhine-Westphalia Germany
action is_in
entity Germany
action find
entity member of the Landtag of North Rhine-Westphalia
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Germany']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q17781726,P17,Q183)
action is_in
entity Q183
action find
entity Q17781726
relation P17
[ANSWER]
['Q17781726', 'P17', 'Q183']
ASK WHERE { resource:Q17781726 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity member of the Landtag of North Rhine-Westphalia
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Germany']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2524203 Q40346 Q3097
P19
Q15617994
USER
Does Viktor Agartz have location of birth at Corteolona and Remscheid ?
(Q2524203,P19,Q40346) (Q2524203,P19,Q3097)
action is_in
entity Q2524203
action intersection
action find_reverse
entity Q40346
relation P19
action find_reverse
entity Q3097
relation P19
['Q2524203', 'P19', 'Q40346'] ['Q2524203', 'P19', 'Q3097']
ASK WHERE { resource:Q2524203 property:P19 resource:Q40346 . resource:Q2524203 property:P19 resource:Q3097 }
Viktor Agartz Corteolona Remscheid
action is_in
entity Viktor Agartz
action intersection
action find_reverse
entity Corteolona
relation place of birth
action find_reverse
entity Remscheid
relation place of birth
['Viktor Agartz', 'place of birth', 'Corteolona'] ['Viktor Agartz', 'place of birth', 'Remscheid']
ASK WHERE { resource:Viktor_Agartz property:place_of_birth resource:Corteolona . resource:Viktor_Agartz property:place_of_birth resource:Remscheid }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2524203,P19,Q40346) (Q2524203,P19,Q3097)
action is_in
entity Q2524203
action intersection
action find_reverse
entity Q40346
relation P19
action find_reverse
entity Q3097
relation P19
[ANSWER]
['Q2524203', 'P19', 'Q40346'] ['Q2524203', 'P19', 'Q3097']
ASK WHERE { resource:Q2524203 property:P19 resource:Q40346 . resource:Q2524203 property:P19 resource:Q3097 }
NO and YES respectively
action is_in
entity Viktor Agartz
action intersection
action find_reverse
entity Corteolona
relation place of birth
action find_reverse
entity Remscheid
relation place of birth
['Viktor Agartz', 'place of birth', 'Corteolona'] ['Viktor Agartz', 'place of birth', 'Remscheid']
ASK WHERE { resource:Viktor_Agartz property:place_of_birth resource:Corteolona . resource:Viktor_Agartz property:place_of_birth resource:Remscheid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1703446
P7
Q502895
USER
Who has Jonny Buchardt as their sibling ?
(c(Q502895),P7,Q1703446)
action filter_type
action find_reverse
entity Q1703446
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q1703446']
SELECT DISTINCT ?w WHERE { ?w property:P7 resource:Q1703446 . ?w rdf:type ontology:Q502895 }
Jonny Buchardt
action filter_type
action find_reverse
entity Jonny Buchardt
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Jonny Buchardt']
SELECT DISTINCT ?w WHERE { ?w property:brother resource:Jonny_Buchardt . ?w rdf:type ontology:common_name }
[]
common name
Q96025
SYSTEM
Monika Hansen
Q96025
(c(Q502895),P7,Q1703446)
action filter_type
action find_reverse
entity Q1703446
relation P7
type Q502895
[ANSWER] has Jonny Buchardt as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q1703446']
SELECT DISTINCT ?w WHERE { ?w property:P7 resource:Q1703446 . ?w rdf:type ontology:Q502895 }
Monika Hansen
Monika Hansen has Jonny Buchardt as their sibling
Monika Hansen
action filter_type
action find_reverse
entity Jonny Buchardt
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Jonny Buchardt']
SELECT DISTINCT ?w WHERE { ?w property:brother resource:Jonny_Buchardt . ?w rdf:type ontology:common_name }
[]