Simple Question (Direct)
Simple Question
Q2147065
P21
Q290
USER
What is the sex of Kai Compagner ?
(Q2147065,P21,c(Q290))
action filter_type
action find
entity Q2147065
relation P21
type Q290
['Q2147065', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2147065 property:P21 ?t . ?t rdf:type ontology:Q290 }
Kai Compagner
action filter_type
action find
entity Kai Compagner
relation gender
type sex
['Kai Compagner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Kai_Compagner property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2147065,P21,c(Q290))
action filter_type
action find
entity Q2147065
relation P21
type Q290
The sex of Kai Compagner is the [ANSWER]
['Q2147065', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2147065 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Kai Compagner is the male
male
action filter_type
action find
entity Kai Compagner
relation gender
type sex
['Kai Compagner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Kai_Compagner property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2147065
P735
Q82799
USER
What is the firstname of Kai Compagner ?
(Q2147065,P735,c(Q82799))
action filter_type
action find
entity Q2147065
relation P735
type Q82799
['Q2147065', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q2147065 property:P735 ?s . ?s rdf:type ontology:Q82799 }
Kai Compagner
action filter_type
action find
entity Kai Compagner
relation given name
type name
['Kai Compagner', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Kai_Compagner property:given_name ?s . ?s rdf:type ontology:name }
[]
name
Q634940
SYSTEM
Kai
Q634940
(Q2147065,P735,c(Q82799))
action filter_type
action find
entity Q2147065
relation P735
type Q82799
The firstname of [ANSWER] Compagner is the [ANSWER]
['Q2147065', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q2147065 property:P735 ?s . ?s rdf:type ontology:Q82799 }
Kai
The firstname of Kai Compagner is the Kai
Kai
action filter_type
action find
entity Kai Compagner
relation given name
type name
['Kai Compagner', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Kai_Compagner property:given_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q634940
P1533
Q82799
USER
Which name is identical to that one ?
(Q634940,P1533,c(Q82799))
action filter_type
action find
entity Q634940
relation P1533
type Q82799
['Q634940', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q634940 property:P1533 ?y . ?y rdf:type ontology:Q82799 }
Kai
action filter_type
action find
entity Kai
relation family name identical to this first name
type name
['Kai', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Kai property:family_name_identical_to_this_first_name ?y . ?y rdf:type ontology:name }
[]
name
Q25938848
SYSTEM
Kai
Q25938848
(Q634940,P1533,c(Q82799))
action filter_type
action find
entity Q634940
relation P1533
type Q82799
[ANSWER] is identical to that one
['Q634940', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q634940 property:P1533 ?y . ?y rdf:type ontology:Q82799 }
Kai
Kai is identical to that one
Kai
action filter_type
action find
entity Kai
relation family name identical to this first name
type name
['Kai', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Kai property:family_name_identical_to_this_first_name ?y . ?y rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25938848
P734
Q502895
USER
Who have that name as surname ?
(c(Q502895),P734,Q25938848)
action filter_type
action find_reverse
entity Q25938848
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q25938848']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P734 resource:Q25938848 }
Kai
action filter_type
action find_reverse
entity Kai
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Kai']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:family_name resource:Kai }
[]
common name
Q740332 Q242978
SYSTEM
Liang Kai, Teanna Kai
Q740332 Q242978
(c(Q502895),P734,Q25938848)
action filter_type
action find_reverse
entity Q25938848
relation P734
type Q502895
[ANSWERS] have that name as surname
[{'concept': 'Q502895'}, 'P734', 'Q25938848']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P734 resource:Q25938848 }
Liang Kai Teanna Kai
Liang Kai and Teanna Kai have that name as surname
Liang Kai Teanna Kai
action filter_type
action find_reverse
entity Kai
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Kai']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:family_name resource:Kai }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q876933
P180
Q82799 Q3305213 Q18783400
USER
How many names are expressed in lesser number of paintings and genres of sculpture than magi ?
(c(Q3305213)|c(Q18783400),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q876933
relation P180
type Q3305213
type Q18783400
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } . ?u rdf:type ?o } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P180 resource:Q876933 . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?t < ?v ) }
magi
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity magi
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } . ?u rdf:type ?o } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:depicts resource:magi . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?t < ?v ) }
[]
name painting genre of sculpture
SYSTEM
47
Q13219075 Q134609 Q6453151 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q3305213)|c(Q18783400),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q876933
relation P180
type Q3305213
type Q18783400
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } . ?u rdf:type ?o } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P180 resource:Q876933 . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?t < ?v ) }
octopus Cynara scolymus toad duck mule wolf Partridge sugarcane shrimp dolphin butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
47
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity magi
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } . ?u rdf:type ?o } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:depicts resource:magi . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?t < ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7368
P180
Q82799 Q3305213 Q18783400
USER
And also tell me about Ovis aries?
(c(Q3305213)|c(Q18783400),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q7368
relation P180
type Q3305213
type Q18783400
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?w . VALUES ( ?w ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P180 resource:Q7368 . { { ?i rdf:type ontology:Q18783400 } UNION { ?i rdf:type ontology:Q3305213 } } } } . FILTER ( ?c < ?t ) }
Ovis aries
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity Ovis aries
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?w . VALUES ( ?w ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:depicts resource:Ovis_aries . { { ?i rdf:type ontology:genre_of_sculpture } UNION { ?i rdf:type ontology:painting } } } } . FILTER ( ?c < ?t ) }
[]
name painting genre of sculpture
SYSTEM
49
Q13219075 Q134609 Q6453151 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q3305213)|c(Q18783400),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q7368
relation P180
type Q3305213
type Q18783400
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?w . VALUES ( ?w ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P180 resource:Q7368 . { { ?i rdf:type ontology:Q18783400 } UNION { ?i rdf:type ontology:Q3305213 } } } } . FILTER ( ?c < ?t ) }
octopus Cynara scolymus toad duck mule wolf Partridge sugarcane shrimp dolphin butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
49
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity Ovis aries
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?w . VALUES ( ?w ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:depicts resource:Ovis_aries . { { ?i rdf:type ontology:genre_of_sculpture } UNION { ?i rdf:type ontology:painting } } } } . FILTER ( ?c < ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q634940
P1750
Q186081
USER
Which time intervals are linked with Kai ?
(Q634940,P1750,c(Q186081))
action filter_type
action find
entity Q634940
relation P1750
type Q186081
['Q634940', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?e WHERE { resource:Q634940 property:P1750 ?e . ?e rdf:type ontology:Q186081 }
Kai
action filter_type
action find
entity Kai
relation name day
type time interval
['Kai', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?e WHERE { resource:Kai property:name_day ?e . ?e rdf:type ontology:time_interval }
[]
time interval
Q2776 Q2922
SYSTEM
August 13, October 14
Q2776 Q2922
(Q634940,P1750,c(Q186081))
action filter_type
action find
entity Q634940
relation P1750
type Q186081
[ANSWERS] are linked with Kai
['Q634940', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?e WHERE { resource:Q634940 property:P1750 ?e . ?e rdf:type ontology:Q186081 }
August 13 October 14
August 13 and October 14 are linked with Kai
August 13 October 14
action filter_type
action find
entity Kai
relation name day
type time interval
['Kai', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?e WHERE { resource:Kai property:name_day ?e . ?e rdf:type ontology:time_interval }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6680483
Q186081
USER
And what about Lorents?
(Q6680483,P1750,c(Q186081))
action filter_type
action find
entity Q6680483
relation P1750
type Q186081
['Q6680483', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?s WHERE { resource:Q6680483 property:P1750 ?s . ?s rdf:type ontology:Q186081 }
Lorents
action filter_type
action find
entity Lorents
relation name day
type time interval
['Lorents', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?s WHERE { resource:Lorents property:name_day ?s . ?s rdf:type ontology:time_interval }
[]
time interval
Q2779
SYSTEM
August 10
Q2779
(Q6680483,P1750,c(Q186081))
action filter_type
action find
entity Q6680483
relation P1750
type Q186081
[ANSWER]
['Q6680483', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?s WHERE { resource:Q6680483 property:P1750 ?s . ?s rdf:type ontology:Q186081 }
August 10
August 10
action filter_type
action find
entity Lorents
relation name day
type time interval
['Lorents', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?s WHERE { resource:Lorents property:name_day ?s . ?s rdf:type ontology:time_interval }
[]