Simple Question (Direct)
Simple Question
Q12321352
P21
Q290
USER
What is the sex of Karina Adsbøl ?
(Q12321352,P21,c(Q290))
action filter_type
action find
entity Q12321352
relation P21
type Q290
['Q12321352', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q12321352 property:P21 ?l }
Karina Adsbøl
action filter_type
action find
entity Karina Adsbøl
relation gender
type sex
['Karina Adsbøl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Karina_Adsbøl property:gender ?l }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q12321352,P21,c(Q290))
action filter_type
action find
entity Q12321352
relation P21
type Q290
The sex of Karina Adsbøl is the [ANSWER]
['Q12321352', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q12321352 property:P21 ?l }
female
The sex of Karina Adsbøl is the female
female
action filter_type
action find
entity Karina Adsbøl
relation gender
type sex
['Karina Adsbøl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Karina_Adsbøl property:gender ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12321352
P991
Q1076105
USER
Which general election was Karina Adsbøl a successful candidate from ?
(c(Q1076105),P991,Q12321352)
action filter_type
action find_reverse
entity Q12321352
relation P991
type Q1076105
[{'concept': 'Q1076105'}, 'P991', 'Q12321352']
SELECT DISTINCT ?s WHERE { ?s property:P991 resource:Q12321352 . ?s rdf:type ontology:Q1076105 }
Karina Adsbøl
action filter_type
action find_reverse
entity Karina Adsbøl
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Karina Adsbøl']
SELECT DISTINCT ?s WHERE { ?s property:successful_candidate resource:Karina_Adsbøl . ?s rdf:type ontology:general_election }
[]
general election
Q1964961
SYSTEM
Danish general election, 2015
Q1964961
(c(Q1076105),P991,Q12321352)
action filter_type
action find_reverse
entity Q12321352
relation P991
type Q1076105
[ANSWER] was Karina Adsbøl a successful candidate from
[{'concept': 'Q1076105'}, 'P991', 'Q12321352']
SELECT DISTINCT ?s WHERE { ?s property:P991 resource:Q12321352 . ?s rdf:type ontology:Q1076105 }
Danish general election, 2015
Danish general election, 2015 was Karina Adsbøl a successful candidate from
Danish general election, 2015
action filter_type
action find_reverse
entity Karina Adsbøl
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Karina Adsbøl']
SELECT DISTINCT ?s WHERE { ?s property:successful_candidate resource:Karina_Adsbøl . ?s rdf:type ontology:general_election }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1964961 Q266035
P991
Q502895
USER
Was Johanne Schmidt-Nielsen elected in that general election ?
(Q1964961,P991,Q266035)
action is_in
entity Q266035
action find
entity Q1964961
relation P991
['Q1964961', 'P991', 'Q266035']
ASK WHERE { resource:Q1964961 property:P991 resource:Q266035 }
Danish general election, 2015 Johanne Schmidt-Nielsen
action is_in
entity Johanne Schmidt-Nielsen
action find
entity Danish general election, 2015
relation successful candidate
['Danish general election, 2015', 'successful candidate', 'Johanne Schmidt-Nielsen']
ASK WHERE { resource:Danish_general_election,_2015 property:successful_candidate resource:Johanne_Schmidt-Nielsen }
[]
common name
SYSTEM
YES
(Q1964961,P991,Q266035)
action is_in
entity Q266035
action find
entity Q1964961
relation P991
[ANSWER]
['Q1964961', 'P991', 'Q266035']
ASK WHERE { resource:Q1964961 property:P991 resource:Q266035 }
Yes
action is_in
entity Johanne Schmidt-Nielsen
action find
entity Danish general election, 2015
relation successful candidate
['Danish general election, 2015', 'successful candidate', 'Johanne Schmidt-Nielsen']
ASK WHERE { resource:Danish_general_election,_2015 property:successful_candidate resource:Johanne_Schmidt-Nielsen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12321352 Q1748
P937
Q56061
USER
Did Karina Adsbøl work Copenhagen ?
(Q12321352,P937,Q1748)
action is_in
entity Q1748
action find
entity Q12321352
relation P937
['Q12321352', 'P937', 'Q1748']
ASK WHERE { resource:Q12321352 property:P937 resource:Q1748 }
Karina Adsbøl Copenhagen
action is_in
entity Copenhagen
action find
entity Karina Adsbøl
relation work location
['Karina Adsbøl', 'work location', 'Copenhagen']
ASK WHERE { resource:Karina_Adsbøl property:work_location resource:Copenhagen }
[]
administrative territorial entity
SYSTEM
YES
(Q12321352,P937,Q1748)
action is_in
entity Q1748
action find
entity Q12321352
relation P937
[ANSWER]
['Q12321352', 'P937', 'Q1748']
ASK WHERE { resource:Q12321352 property:P937 resource:Q1748 }
Yes
action is_in
entity Copenhagen
action find
entity Karina Adsbøl
relation work location
['Karina Adsbøl', 'work location', 'Copenhagen']
ASK WHERE { resource:Karina_Adsbøl property:work_location resource:Copenhagen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12321352
P39
Q12737077
USER
What was the position held by that person ?
action filter_type
action find
entity Q12321352
relation P39
type Q12737077
SELECT DISTINCT ?u WHERE { resource:Q12321352 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Karina Adsbøl
action filter_type
action find
entity Karina Adsbøl
relation position held
type occupation
SELECT DISTINCT ?u WHERE { resource:Karina_Adsbøl property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q12311817
SYSTEM
member of the Folketing
Q12311817
action filter_type
action find
entity Q12321352
relation P39
type Q12737077
The position held by that person was a [ANSWER]
SELECT DISTINCT ?u WHERE { resource:Q12321352 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the Folketing
The position held by that person was a member of the Folketing
member of the Folketing
action filter_type
action find
entity Karina Adsbøl
relation position held
type occupation
SELECT DISTINCT ?u WHERE { resource:Karina_Adsbøl property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12311817
P1001
Q1048835
USER
Which political territory belongs to jurisdiction of that occupation ?
(Q12311817,P1001,c(Q1048835))
action filter_type
action find
entity Q12311817
relation P1001
type Q1048835
['Q12311817', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q12311817 property:P1001 ?m . ?m rdf:type ontology:Q1048835 }
member of the Folketing
action filter_type
action find
entity member of the Folketing
relation applies to jurisdiction
type political territorial entity
['member of the Folketing', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:member_of_the_Folketing property:applies_to_jurisdiction ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q12311817,P1001,c(Q1048835))
action filter_type
action find
entity Q12311817
relation P1001
type Q1048835
[ANSWER] belongs to jurisdiction of that occupation
['Q12311817', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q12311817 property:P1001 ?m . ?m rdf:type ontology:Q1048835 }
Denmark
Denmark belongs to jurisdiction of that occupation
Denmark
action filter_type
action find
entity member of the Folketing
relation applies to jurisdiction
type political territorial entity
['member of the Folketing', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:member_of_the_Folketing property:applies_to_jurisdiction ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q10833314
P180
Q12737077 Q3305213 Q386724
USER
Which occupations are demonstrated in around the same number of paintings or works as tennis player ?
(c(Q3305213)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q10833314
relation P180
type Q3305213
type Q386724
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P180 resource:Q10833314 . { { ?o rdf:type ontology:Q3305213 } UNION { ?o rdf:type ontology:Q386724 } } } } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?e ) WHERE { { ?k rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q386724 . ?x property:P180 ?k } UNION { ?x property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q3305213 } } GROUP BY ?k } }
tennis player
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity tennis player
relation depicts
type painting
type work
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:depicts resource:tennis_player . { { ?o rdf:type ontology:painting } UNION { ?o rdf:type ontology:work } } } } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?e ) WHERE { { ?k rdf:type ontology:occupation . ?x rdf:type ontology:work . ?x property:depicts ?k } UNION { ?x property:depicts ?k . ?k rdf:type ontology:occupation . ?x rdf:type ontology:painting } } GROUP BY ?k } }
[]
occupation painting work
Q131512 Q1401609 Q1139055
SYSTEM
farmer, vaquero, tax collector
Q131512 Q1401609 Q1124183 Q81710 Q1259917 Q4504549 Q842782 Q486748 Q483501 Q215536 Q1139055 Q1028181 Q12097 Q14009165 Q10833314 Q1318187 Q250867 Q10873124 Q103163 Q207651 Q5716684 Q833860 Q2191547 Q838811 Q331432 Q639669 Q49757 Q1281618 Q811122 Q1630100
(c(Q3305213)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q10833314
relation P180
type Q3305213
type Q386724
The [ANSWERS] are demonstrated in around the same number of paintings or works as tennis player
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P180 resource:Q10833314 . { { ?o rdf:type ontology:Q3305213 } UNION { ?o rdf:type ontology:Q386724 } } } } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?e ) WHERE { { ?k rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q386724 . ?x property:P180 ?k } UNION { ?x property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q3305213 } } GROUP BY ?k } }
farmer vaquero lumberjack shepherd violinist religious servant detective pianist artist merchant tax collector painter king trapper tennis player scrivener Catholic priest chess player abbot executioner dancer maid picador peasant fisherman musician poet sculptor construction worker art model
The farmer, vaquero and tax collector are demonstrated in around the same number of paintings or works as tennis player
farmer vaquero tax collector
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity tennis player
relation depicts
type painting
type work
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:depicts resource:tennis_player . { { ?o rdf:type ontology:painting } UNION { ?o rdf:type ontology:work } } } } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?e ) WHERE { { ?k rdf:type ontology:occupation . ?x rdf:type ontology:work . ?x property:depicts ?k } UNION { ?x property:depicts ?k . ?k rdf:type ontology:occupation . ?x rdf:type ontology:painting } } GROUP BY ?k } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131512 Q1401609 Q1139055
P180
Q3305213
USER
Which paintings express those occupations ?
(c(Q3305213),P180,Q131512) (c(Q3305213),P180,Q1401609) (c(Q3305213),P180,Q1139055)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q131512'] [{'concept': 'Q3305213'}, 'P180', 'Q1401609'] [{'concept': 'Q3305213'}, 'P180', 'Q1139055']
SELECT DISTINCT ?b WHERE { ?b property:P180 ?v . VALUES ( ?v ) { ( resource:Q131512 ) ( resource:Q1401609 ) ( resource:Q1124183 ) } . ?b rdf:type ontology:Q3305213 }
farmer vaquero tax collector
action filter_type
action find_reverse
entity prev_answer
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'farmer'] [{'concept': 'painting'}, 'depicts', 'vaquero'] [{'concept': 'painting'}, 'depicts', 'tax collector']
SELECT DISTINCT ?b WHERE { ?b property:depicts ?v . VALUES ( ?v ) { ( resource:farmer ) ( resource:vaquero ) ( resource:lumberjack ) } . ?b rdf:type ontology:painting }
[]
painting
Q22915291 Q17334748 Q1759631
SYSTEM
Long Pond, Foot of Red Hill, A Herdess with Cows on a Country Road in the Rain, The Tribute Money
Q22915291 Q17334748 Q1759631
(c(Q3305213),P180,Q131512) (c(Q3305213),P180,Q1401609) (c(Q3305213),P180,Q1139055)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q3305213
[ANSWERS] express those occupations
[{'concept': 'Q3305213'}, 'P180', 'Q131512'] [{'concept': 'Q3305213'}, 'P180', 'Q1401609'] [{'concept': 'Q3305213'}, 'P180', 'Q1139055']
SELECT DISTINCT ?b WHERE { ?b property:P180 ?v . VALUES ( ?v ) { ( resource:Q131512 ) ( resource:Q1401609 ) ( resource:Q1124183 ) } . ?b rdf:type ontology:Q3305213 }
Long Pond, Foot of Red Hill A Herdess with Cows on a Country Road in the Rain The Tribute Money
Long Pond, Foot of Red Hill, A Herdess with Cows on a Country Road in the Rain and The Tribute Money express those occupations
Long Pond, Foot of Red Hill A Herdess with Cows on a Country Road in the Rain The Tribute Money
action filter_type
action find_reverse
entity prev_answer
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'farmer'] [{'concept': 'painting'}, 'depicts', 'vaquero'] [{'concept': 'painting'}, 'depicts', 'tax collector']
SELECT DISTINCT ?b WHERE { ?b property:depicts ?v . VALUES ( ?v ) { ( resource:farmer ) ( resource:vaquero ) ( resource:lumberjack ) } . ?b rdf:type ontology:painting }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22915291 Q17334748 Q1759631
P170
Q502895
USER
Which people are credited with creation of Long Pond, Foot of Red Hill, A Herdess with Cows on a Country Road in the Rain and The Tribute Money ?
(Q22915291,P170,c(Q502895)) (Q17334748,P170,c(Q502895)) (Q1759631,P170,c(Q502895))
action union
action filter_type
action find
entity Q22915291
relation P170
type Q502895
action filter_type
action find
entity Q17334748
relation P170
type Q502895
action filter_type
action find
entity Q1759631
relation P170
type Q502895
['Q22915291', 'P170', {'concept': 'Q502895'}] ['Q17334748', 'P170', {'concept': 'Q502895'}] ['Q1759631', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Q22915291 ) ( resource:Q17334748 ) } . ?u property:P170 ?w }
Long Pond, Foot of Red Hill A Herdess with Cows on a Country Road in the Rain The Tribute Money
action union
action filter_type
action find
entity Long Pond, Foot of Red Hill
relation creator
type common name
action filter_type
action find
entity A Herdess with Cows on a Country Road in the Rain
relation creator
type common name
action filter_type
action find
entity The Tribute Money
relation creator
type common name
['Long Pond, Foot of Red Hill', 'creator', {'concept': 'common name'}] ['A Herdess with Cows on a Country Road in the Rain', 'creator', {'concept': 'common name'}] ['The Tribute Money', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Long_Pond,_Foot_of_Red_Hill ) ( resource:A_Herdess_with_Cows_on_a_Country_Road_in_the_Rain ) } . ?u property:creator ?w }
[]
common name
Q1985982 Q591907 Q5811
SYSTEM
William Trost Richards, Anton Mauve, Masaccio
Q1985982 Q591907 Q5811
(Q22915291,P170,c(Q502895)) (Q17334748,P170,c(Q502895)) (Q1759631,P170,c(Q502895))
action union
action filter_type
action find
entity Q22915291
relation P170
type Q502895
action filter_type
action find
entity Q17334748
relation P170
type Q502895
action filter_type
action find
entity Q1759631
relation P170
type Q502895
[ANSWERS] are credited with creation of Long Pond, Foot of Red Hill, A Herdess with Cows on a Country Road in the Rain and The Tribute Money
['Q22915291', 'P170', {'concept': 'Q502895'}] ['Q17334748', 'P170', {'concept': 'Q502895'}] ['Q1759631', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Q22915291 ) ( resource:Q17334748 ) } . ?u property:P170 ?w }
William Trost Richards Anton Mauve Masaccio
William Trost Richards, Anton Mauve and Masaccio are credited with creation of Long Pond, Foot of Red Hill, A Herdess with Cows on a Country Road in the Rain and The Tribute Money
William Trost Richards Anton Mauve Masaccio
action union
action filter_type
action find
entity Long Pond, Foot of Red Hill
relation creator
type common name
action filter_type
action find
entity A Herdess with Cows on a Country Road in the Rain
relation creator
type common name
action filter_type
action find
entity The Tribute Money
relation creator
type common name
['Long Pond, Foot of Red Hill', 'creator', {'concept': 'common name'}] ['A Herdess with Cows on a Country Road in the Rain', 'creator', {'concept': 'common name'}] ['The Tribute Money', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Long_Pond,_Foot_of_Red_Hill ) ( resource:A_Herdess_with_Cows_on_a_Country_Road_in_the_Rain ) } . ?u property:creator ?w }
[]