Simple Question (Direct)
Simple Question
Q1576360
P21
Q290
USER
What is the sex of Hanns-Jörn Weber ?
(Q1576360,P21,c(Q290))
action filter_type
action find
entity Q1576360
relation P21
type Q290
['Q1576360', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q1576360 property:P21 ?a . ?a rdf:type ontology:Q290 }
Hanns-Jörn Weber
action filter_type
action find
entity Hanns-Jörn Weber
relation gender
type sex
['Hanns-Jörn Weber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Hanns-Jörn_Weber property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1576360,P21,c(Q290))
action filter_type
action find
entity Q1576360
relation P21
type Q290
The sex of Hanns-Jörn Weber is the [ANSWER]
['Q1576360', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q1576360 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of Hanns-Jörn Weber is the male
male
action filter_type
action find
entity Hanns-Jörn Weber
relation gender
type sex
['Hanns-Jörn Weber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Hanns-Jörn_Weber property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1576360
P734
Q82799
USER
Which name is associated with that person ?
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q1576360
relation P734
type Q82799
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q1576360 property:P734 ?n }
Hanns-Jörn Weber
action filter_type
action find
entity Hanns-Jörn Weber
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Hanns-Jörn_Weber property:family_name ?n }
[]
name
Q1409226
SYSTEM
Weber
Q1409226
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q1576360
relation P734
type Q82799
[ANSWER] is associated with that person
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q1576360 property:P734 ?n }
Weber
Weber is associated with that person
Weber
action filter_type
action find
entity Hanns-Jörn Weber
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Hanns-Jörn_Weber property:family_name ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1576360
P27
Q1048835
USER
Which political territory is the native country of Hanns-Jörn Weber ?
(Q1576360,P27,c(Q1048835))
action filter_type
action find
entity Q1576360
relation P27
type Q1048835
['Q1576360', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q1576360 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Hanns-Jörn Weber
action filter_type
action find
entity Hanns-Jörn Weber
relation country of citizenship
type political territorial entity
['Hanns-Jörn Weber', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Hanns-Jörn_Weber property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1576360,P27,c(Q1048835))
action filter_type
action find
entity Q1576360
relation P27
type Q1048835
The [ANSWER] is the native country of Hanns-Jörn Weber
['Q1576360', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q1576360 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of Hanns-Jörn Weber
Germany
action filter_type
action find
entity Hanns-Jörn Weber
relation country of citizenship
type political territorial entity
['Hanns-Jörn Weber', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Hanns-Jörn_Weber property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1576360
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1576360
relation P106
type Q12737077
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1576360 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Hanns-Jörn Weber
action filter_type
action find
entity Hanns-Jörn Weber
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Hanns-Jörn_Weber property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1576360
relation P106
type Q12737077
The [ANSWERS] have that person as his/her 's career
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1576360 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
actor stage actor
The actor and stage actor have that person as his/her 's career
actor stage actor
action filter_type
action find
entity Hanns-Jörn Weber
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Hanns-Jörn_Weber property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5983876
P106
Q502895
USER
Do Patrik Melin have a job as those occupations ?
(Q5983876,P106,Q33999) (Q5983876,P106,Q2259451)
action is_in
entity prev_answer
action find
entity Q5983876
relation P106
['Q5983876', 'P106', 'Q33999'] ['Q5983876', 'P106', 'Q2259451']
ASK WHERE { resource:Q5983876 property:P106 ?c . VALUES ( ?c ) { ( resource:Q33999 ) ( resource:Q2259451 ) } }
Patrik Melin
action is_in
entity prev_answer
action find
entity Patrik Melin
relation occupation
['Patrik Melin', 'occupation', 'actor'] ['Patrik Melin', 'occupation', 'stage actor']
ASK WHERE { resource:Patrik_Melin property:occupation ?c . VALUES ( ?c ) { ( resource:actor ) ( resource:stage_actor ) } }
[]
common name
SYSTEM
NO
(Q5983876,P106,Q33999) (Q5983876,P106,Q2259451)
action is_in
entity prev_answer
action find
entity Q5983876
relation P106
[ANSWER]
['Q5983876', 'P106', 'Q33999'] ['Q5983876', 'P106', 'Q2259451']
ASK WHERE { resource:Q5983876 property:P106 ?c . VALUES ( ?c ) { ( resource:Q33999 ) ( resource:Q2259451 ) } }
No
action is_in
entity prev_answer
action find
entity Patrik Melin
relation occupation
['Patrik Melin', 'occupation', 'actor'] ['Patrik Melin', 'occupation', 'stage actor']
ASK WHERE { resource:Patrik_Melin property:occupation ?c . VALUES ( ?c ) { ( resource:actor ) ( resource:stage_actor ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q386724 Q15709879
USER
Which names are demonstrated in approximately 2 works or artwork series ?
(c(Q386724)|c(Q15709879),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 2
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) ?l WHERE { { ?k property:P180 ?l . ?l rdf:type ontology:Q82799 . ?k rdf:type ontology:Q386724 } UNION { ?k property:P180 ?l . ?l rdf:type ontology:Q82799 . ?k rdf:type ontology:Q15709879 } } GROUP BY ?l } }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 2
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) ?l WHERE { { ?k property:depicts ?l . ?l rdf:type ontology:name . ?k rdf:type ontology:work } UNION { ?k property:depicts ?l . ?l rdf:type ontology:name . ?k rdf:type ontology:artwork_series } } GROUP BY ?l } }
[]
name work artwork series
Q144 Q152 Q5
SYSTEM
dog, fish, human
Q5 Q144 Q201251 Q152
(c(Q386724)|c(Q15709879),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 2
[ANSWERS] are demonstrated in approximately 2 works or artwork series
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) ?l WHERE { { ?k property:P180 ?l . ?l rdf:type ontology:Q82799 . ?k rdf:type ontology:Q386724 } UNION { ?k property:P180 ?l . ?l rdf:type ontology:Q82799 . ?k rdf:type ontology:Q15709879 } } GROUP BY ?l } }
human dog peacock fish
Dog, fish and human are demonstrated in approximately 2 works or artwork series
dog fish human
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 2
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) ?l WHERE { { ?k property:depicts ?l . ?l rdf:type ontology:name . ?k rdf:type ontology:work } UNION { ?k property:depicts ?l . ?l rdf:type ontology:name . ?k rdf:type ontology:artwork_series } } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q123120
P180
Q82799 Q838948 Q3305213
USER
Which names are depicted in greater number of works of art or paintings than vulture ?
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q123120
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?u WHERE { ?r rdf:type ?o . VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P180 resource:Q123120 . { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q3305213 } } } } . FILTER ( ?t > ?f ) }
vulture
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity vulture
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?u WHERE { ?r rdf:type ?o . VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:depicts resource:vulture . { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:painting } } } } . FILTER ( ?t > ?f ) }
[]
name work of art painting
Q144 Q876933 Q152
SYSTEM
dog, magi, fish
Q5 Q726 Q830 Q3736439 Q7368 Q7369 Q2092297 Q144 Q201251 Q8331 Q3537778 Q1367 Q9394 Q2734060 Q876933 Q7378 Q152
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q123120
relation P180
type Q838948
type Q3305213
[ANSWERS] are depicted in greater number of works of art or paintings than vulture
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?u WHERE { ?r rdf:type ?o . VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P180 resource:Q123120 . { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q3305213 } } } } . FILTER ( ?t > ?f ) }
human horse cattle duck Ovis aries dolphin eagle dog peacock fox donkeys monkey rabbit reed magi elephant fish
Dog, magi and fish are depicted in greater number of works of art or paintings than vulture
dog magi fish
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity vulture
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?u WHERE { ?r rdf:type ?o . VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:depicts resource:vulture . { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:painting } } } } . FILTER ( ?t > ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q83931
P180
Q82799 Q838948 Q3305213
USER
And how about locust?
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q83931
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?s WHERE { { ?a property:P180 ?s . ?s rdf:type ontology:Q82799 . ?a rdf:type ontology:Q838948 } UNION { ?a property:P180 ?s . ?a rdf:type ontology:Q3305213 . ?s rdf:type ontology:Q82799 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P180 resource:Q83931 . { { ?x rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q3305213 } } } } . FILTER ( ?f > ?j ) }
locust
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity locust
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?s WHERE { { ?a property:depicts ?s . ?s rdf:type ontology:name . ?a rdf:type ontology:work_of_art } UNION { ?a property:depicts ?s . ?a rdf:type ontology:painting . ?s rdf:type ontology:name } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:depicts resource:locust . { { ?x rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:painting } } } } . FILTER ( ?f > ?j ) }
[]
name work of art painting
Q144 Q876933 Q152
SYSTEM
dog, magi, fish
Q13219075 Q5 Q726 Q830 Q3736439 Q7368 Q7369 Q2092297 Q144 Q713019 Q201251 Q8331 Q8335 Q846664 Q3537778 Q1367 Q1192868 Q9394 Q2734060 Q15629245 Q25894 Q43115 Q876933 Q190294 Q7378 Q123120 Q308841 Q152 Q859257
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q83931
relation P180
type Q838948
type Q3305213
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?s WHERE { { ?a property:P180 ?s . ?s rdf:type ontology:Q82799 . ?a rdf:type ontology:Q838948 } UNION { ?a property:P180 ?s . ?a rdf:type ontology:Q3305213 . ?s rdf:type ontology:Q82799 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P180 resource:Q83931 . { { ?x rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q3305213 } } } } . FILTER ( ?f > ?j ) }
octopus human horse cattle duck Ovis aries dolphin eagle dog cannoneer peacock fox raven hawk donkeys monkey clam rabbit reed lizard antelope saint magi mouflon elephant vulture snail fish fly
dog magi fish
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity locust
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?s WHERE { { ?a property:depicts ?s . ?s rdf:type ontology:name . ?a rdf:type ontology:work_of_art } UNION { ?a property:depicts ?s . ?a rdf:type ontology:painting . ?s rdf:type ontology:name } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:depicts resource:locust . { { ?x rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:painting } } } } . FILTER ( ?f > ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q876933
P140
Q874405
USER
Which social group does magi relate to ?
(Q876933,P140,c(Q874405))
action filter_type
action find
entity Q876933
relation P140
type Q874405
['Q876933', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q876933 property:P140 ?v . ?v rdf:type ontology:Q874405 }
magi
action filter_type
action find
entity magi
relation religion
type social group
['magi', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:magi property:religion ?v . ?v rdf:type ontology:social_group }
[]
social group
Q9601
SYSTEM
Zoroastrianism
Q9601
(Q876933,P140,c(Q874405))
action filter_type
action find
entity Q876933
relation P140
type Q874405
Magi relates [ANSWER]
['Q876933', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q876933 property:P140 ?v . ?v rdf:type ontology:Q874405 }
Zoroastrianism
Magi relates Zoroastrianism
Zoroastrianism
action filter_type
action find
entity magi
relation religion
type social group
['magi', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:magi property:religion ?v . ?v rdf:type ontology:social_group }
[]