Simple Question (Direct)
Simple Question
Q2638123
P734
Q82799
USER
Who is associated with Albert Hertel ?
(Q2638123,P734,c(Q82799))
action filter_type
action find
entity Q2638123
relation P734
type Q82799
['Q2638123', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q2638123 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Albert Hertel
action filter_type
action find
entity Albert Hertel
relation family name
type name
['Albert Hertel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Albert_Hertel property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q21493043
SYSTEM
Hertel
Q21493043
(Q2638123,P734,c(Q82799))
action filter_type
action find
entity Q2638123
relation P734
type Q82799
[ANSWER] is associated with Albert [ANSWER]
['Q2638123', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q2638123 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Hertel
Hertel is associated with Albert Hertel
Hertel
action filter_type
action find
entity Albert Hertel
relation family name
type name
['Albert Hertel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Albert_Hertel property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2638123
P20
Q56061
USER
Where did the demise of that person occur ?
(Q21493043,P20,c(Q56061))
action filter_type
action find
entity Q2638123
relation P20
type Q56061
['Q21493043', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2638123 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Albert Hertel
action filter_type
action find
entity Albert Hertel
relation place of death
type administrative territorial entity
['Hertel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Albert_Hertel property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q21493043,P20,c(Q56061))
action filter_type
action find
entity Q2638123
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q21493043', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2638123 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Berlin
The demise of that person occurred in Berlin
Berlin
action filter_type
action find
entity Albert Hertel
relation place of death
type administrative territorial entity
['Hertel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Albert_Hertel property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q64 Q1645687 Q6178
P47
Q1048835
USER
Does Berlin share border with Vidángoz – Bidankoze and Oder-Spree ?
(Q64,P47,Q1645687) (Q64,P47,Q6178)
action is_in
entity Q64
action intersection
action find_reverse
entity Q1645687
relation P47
action find_reverse
entity Q6178
relation P47
['Q64', 'P47', 'Q1645687'] ['Q64', 'P47', 'Q6178']
ASK WHERE { resource:Q64 property:P47 resource:Q1645687 . resource:Q64 property:P47 resource:Q6178 }
Berlin Vidángoz – Bidankoze Oder-Spree
action is_in
entity Berlin
action intersection
action find_reverse
entity Vidángoz – Bidankoze
relation shares border with
action find_reverse
entity Oder-Spree
relation shares border with
['Berlin', 'shares border with', 'Vidángoz – Bidankoze'] ['Berlin', 'shares border with', 'Oder-Spree']
ASK WHERE { resource:Berlin property:shares_border_with resource:Vidángoz_–_Bidankoze . resource:Berlin property:shares_border_with resource:Oder-Spree }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q64,P47,Q1645687) (Q64,P47,Q6178)
action is_in
entity Q64
action intersection
action find_reverse
entity Q1645687
relation P47
action find_reverse
entity Q6178
relation P47
[ANSWER]
['Q64', 'P47', 'Q1645687'] ['Q64', 'P47', 'Q6178']
ASK WHERE { resource:Q64 property:P47 resource:Q1645687 . resource:Q64 property:P47 resource:Q6178 }
NO and YES respectively
action is_in
entity Berlin
action intersection
action find_reverse
entity Vidángoz – Bidankoze
relation shares border with
action find_reverse
entity Oder-Spree
relation shares border with
['Berlin', 'shares border with', 'Vidángoz – Bidankoze'] ['Berlin', 'shares border with', 'Oder-Spree']
ASK WHERE { resource:Berlin property:shares_border_with resource:Vidángoz_–_Bidankoze . resource:Berlin property:shares_border_with resource:Oder-Spree }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2638123 Q4152098 Q183
P27
Q1048835
USER
Is Albert Hertel a native of Humnyska and Germany ?
(Q2638123,P27,Q4152098) (Q2638123,P27,Q183)
action is_in
entity Q2638123
action intersection
action find_reverse
entity Q4152098
relation P27
action find_reverse
entity Q183
relation P27
['Q2638123', 'P27', 'Q4152098'] ['Q2638123', 'P27', 'Q183']
ASK WHERE { resource:Q2638123 property:P27 resource:Q4152098 . resource:Q2638123 property:P27 resource:Q183 }
Albert Hertel Humnyska Germany
action is_in
entity Albert Hertel
action intersection
action find_reverse
entity Humnyska
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Albert Hertel', 'country of citizenship', 'Humnyska'] ['Albert Hertel', 'country of citizenship', 'Germany']
ASK WHERE { resource:Albert_Hertel property:country_of_citizenship resource:Humnyska . resource:Albert_Hertel property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q2638123,P27,Q4152098) (Q2638123,P27,Q183)
action is_in
entity Q2638123
action intersection
action find_reverse
entity Q4152098
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q2638123', 'P27', 'Q4152098'] ['Q2638123', 'P27', 'Q183']
ASK WHERE { resource:Q2638123 property:P27 resource:Q4152098 . resource:Q2638123 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Albert Hertel
action intersection
action find_reverse
entity Humnyska
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Albert Hertel', 'country of citizenship', 'Humnyska'] ['Albert Hertel', 'country of citizenship', 'Germany']
ASK WHERE { resource:Albert_Hertel property:country_of_citizenship resource:Humnyska . resource:Albert_Hertel property:country_of_citizenship resource:Germany }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1517781
P180
Q82799 Q1792379 Q17335294
USER
How many names are expressed in approximately the same number of art genres and coats of arms as shrimp ?
(c(Q1792379)|c(Q17335294),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q1517781
relation P180
type Q1792379
type Q17335294
[[{'concept': 'Q1792379'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?c WHERE { { ?e property:P180 ?c . ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q1792379 } UNION { ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 . ?e property:P180 ?c } } GROUP BY ?c } . FILTER ( ?l = ?t ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P180 resource:Q1517781 . { { ?n rdf:type ontology:Q1792379 } UNION { ?n rdf:type ontology:Q17335294 } } } } }
shrimp
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity shrimp
relation depicts
type art genre
type flag or coat of arms
[[{'concept': 'art genre'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?c WHERE { { ?e property:depicts ?c . ?c rdf:type ontology:name . ?e rdf:type ontology:art_genre } UNION { ?c rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms . ?e property:depicts ?c } } GROUP BY ?c } . FILTER ( ?l = ?t ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:depicts resource:shrimp . { { ?n rdf:type ontology:art_genre } UNION { ?n rdf:type ontology:flag_or_coat_of_arms } } } } }
[]
name art genre flag or coat of arms
SYSTEM
52
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q1792379)|c(Q17335294),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q1517781
relation P180
type Q1792379
type Q17335294
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?c WHERE { { ?e property:P180 ?c . ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q1792379 } UNION { ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 . ?e property:P180 ?c } } GROUP BY ?c } . FILTER ( ?l = ?t ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P180 resource:Q1517781 . { { ?n rdf:type ontology:Q1792379 } UNION { ?n rdf:type ontology:Q17335294 } } } } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
52
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity shrimp
relation depicts
type art genre
type flag or coat of arms
[[{'concept': 'art genre'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?c WHERE { { ?e property:depicts ?c . ?c rdf:type ontology:name . ?e rdf:type ontology:art_genre } UNION { ?c rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms . ?e property:depicts ?c } } GROUP BY ?c } . FILTER ( ?l = ?t ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:depicts resource:shrimp . { { ?n rdf:type ontology:art_genre } UNION { ?n rdf:type ontology:flag_or_coat_of_arms } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2638123
P19
Q56061
USER
Which administrative territory was Albert Hertel born at ?
(Q2638123,P19,c(Q56061))
action filter_type
action find
entity Q2638123
relation P19
type Q56061
['Q2638123', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q2638123 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Albert Hertel
action filter_type
action find
entity Albert Hertel
relation place of birth
type administrative territorial entity
['Albert Hertel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Albert_Hertel property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q2638123,P19,c(Q56061))
action filter_type
action find
entity Q2638123
relation P19
type Q56061
Albert Hertel was born in [ANSWER]
['Q2638123', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q2638123 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Berlin
Albert Hertel was born in Berlin
Berlin
action filter_type
action find
entity Albert Hertel
relation place of birth
type administrative territorial entity
['Albert Hertel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Albert_Hertel property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2638123
P106
Q12737077
USER
What is the profession of that person ?
(Q64,P106,c(Q12737077))
action filter_type
action find
entity Q2638123
relation P106
type Q12737077
['Q64', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2638123 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Albert Hertel
action filter_type
action find
entity Albert Hertel
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Albert_Hertel property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q64,P106,c(Q12737077))
action filter_type
action find
entity Q2638123
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q64', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2638123 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
painter
The profession of that person is a painter
painter
action filter_type
action find
entity Albert Hertel
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Albert_Hertel property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
Which occupations do greater number of collectables belong to than that occupation ?
(c(Q2342494),P101,c(Q12737077))
action greater
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q1028181
relation P101
type Q12737077
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q1028181 property:P101 ?g . ?g rdf:type ontology:Q12737077 } } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P101 ?n . ?n rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q2342494 } GROUP BY ?n } }
action greater
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity painter
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:painter property:field_of_work ?g . ?g rdf:type ontology:occupation } } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:field_of_work ?n . ?n rdf:type ontology:occupation . ?i rdf:type ontology:collectable } GROUP BY ?n } }
[]
occupation collectable
Q15954519
SYSTEM
alchemist
Q15954519
(c(Q2342494),P101,c(Q12737077))
action greater
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q1028181
relation P101
type Q12737077
Greater number of collectables belong to an [ANSWER] than that occupation
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q1028181 property:P101 ?g . ?g rdf:type ontology:Q12737077 } } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P101 ?n . ?n rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q2342494 } GROUP BY ?n } }
alchemist
Greater number of collectables belong to an alchemist than that occupation
alchemist
action greater
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity painter
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:painter property:field_of_work ?g . ?g rdf:type ontology:occupation } } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:field_of_work ?n . ?n rdf:type ontology:occupation . ?i rdf:type ontology:collectable } GROUP BY ?n } }
[]