Simple Question (Direct)
Simple Question
Q315804
P734
Q82799
USER
Who is associated with Olaus Magnus ?
(Q315804,P734,c(Q82799))
action filter_type
action find
entity Q315804
relation P734
type Q82799
['Q315804', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q315804 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Olaus Magnus
action filter_type
action find
entity Olaus Magnus
relation family name
type name
['Olaus Magnus', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Olaus_Magnus property:family_name ?u . ?u rdf:type ontology:name }
[]
name
Q18109999
SYSTEM
Magnus
Q18109999
(Q315804,P734,c(Q82799))
action filter_type
action find
entity Q315804
relation P734
type Q82799
[ANSWER] is associated with Olaus [ANSWER]
['Q315804', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q315804 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Magnus
Magnus is associated with Olaus Magnus
Magnus
action filter_type
action find
entity Olaus Magnus
relation family name
type name
['Olaus Magnus', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Olaus_Magnus property:family_name ?u . ?u rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q315804
P138
Q17444909
USER
Which astronomical object type has that person as its namesake ?
(c(Q17444909),P138,Q18109999)
action filter_type
action find_reverse
entity Q315804
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q18109999']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q315804 . ?p rdf:type ontology:Q17444909 }
Olaus Magnus
action filter_type
action find_reverse
entity Olaus Magnus
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Magnus']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Olaus_Magnus . ?p rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q149068
SYSTEM
2454 Olaus Magnus
Q149068
(c(Q17444909),P138,Q18109999)
action filter_type
action find_reverse
entity Q315804
relation P138
type Q17444909
0 [ANSWER] has that person as its namesake
[{'concept': 'Q17444909'}, 'P138', 'Q18109999']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q315804 . ?p rdf:type ontology:Q17444909 }
2454 Olaus Magnus
0 2454 Olaus Magnus has that person as its namesake
2454 Olaus Magnus
action filter_type
action find_reverse
entity Olaus Magnus
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Magnus']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Olaus_Magnus . ?p rdf:type ontology:astronomical_object_type }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q149068 Q320056 Q19977057
P61
Q502895
USER
Was that astronomical object type invented or discovered by Yrjö Väisälä and Mikael Mölstad ?
(Q149068,P61,Q320056) (Q149068,P61,Q19977057)
action is_in
entity Q149068
action intersection
action find_reverse
entity Q320056
relation P61
action find_reverse
entity Q19977057
relation P61
['Q149068', 'P61', 'Q320056'] ['Q149068', 'P61', 'Q19977057']
ASK WHERE { resource:Q149068 property:P61 resource:Q19977057 . resource:Q149068 property:P61 resource:Q320056 }
2454 Olaus Magnus Yrjö Väisälä Mikael Mölstad
action is_in
entity 2454 Olaus Magnus
action intersection
action find_reverse
entity Yrjö Väisälä
relation discoverer or inventor
action find_reverse
entity Mikael Mölstad
relation discoverer or inventor
['2454 Olaus Magnus', 'discoverer or inventor', 'Yrjö Väisälä'] ['2454 Olaus Magnus', 'discoverer or inventor', 'Mikael Mölstad']
ASK WHERE { resource:2454_Olaus_Magnus property:discoverer_or_inventor resource:Mikael_Mölstad . resource:2454_Olaus_Magnus property:discoverer_or_inventor resource:Yrjö_Väisälä }
[]
common name
SYSTEM
YES and NO respectively
(Q149068,P61,Q320056) (Q149068,P61,Q19977057)
action is_in
entity Q149068
action intersection
action find_reverse
entity Q320056
relation P61
action find_reverse
entity Q19977057
relation P61
[ANSWER]
['Q149068', 'P61', 'Q320056'] ['Q149068', 'P61', 'Q19977057']
ASK WHERE { resource:Q149068 property:P61 resource:Q19977057 . resource:Q149068 property:P61 resource:Q320056 }
YES and NO respectively
action is_in
entity 2454 Olaus Magnus
action intersection
action find_reverse
entity Yrjö Väisälä
relation discoverer or inventor
action find_reverse
entity Mikael Mölstad
relation discoverer or inventor
['2454 Olaus Magnus', 'discoverer or inventor', 'Yrjö Väisälä'] ['2454 Olaus Magnus', 'discoverer or inventor', 'Mikael Mölstad']
ASK WHERE { resource:2454_Olaus_Magnus property:discoverer_or_inventor resource:Mikael_Mölstad . resource:2454_Olaus_Magnus property:discoverer_or_inventor resource:Yrjö_Väisälä }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q149068
P196
Q6999
USER
Which astronomical object comprises the minor planet group of that astronomical object type ?
action filter_type
action find
entity Q149068
relation P196
type Q6999
SELECT DISTINCT ?y WHERE { resource:Q149068 property:P196 ?y . ?y rdf:type ontology:Q6999 }
2454 Olaus Magnus
action filter_type
action find
entity 2454 Olaus Magnus
relation minor planet group
type astronomical object
SELECT DISTINCT ?y WHERE { resource:2454_Olaus_Magnus property:minor_planet_group ?y . ?y rdf:type ontology:astronomical_object }
[]
astronomical object
Q2179
SYSTEM
asteroid belt
Q2179
action filter_type
action find
entity Q149068
relation P196
type Q6999
[ANSWER] comprises the minor planet group of that astronomical object type
SELECT DISTINCT ?y WHERE { resource:Q149068 property:P196 ?y . ?y rdf:type ontology:Q6999 }
asteroid belt
Asteroid belt comprises the minor planet group of that astronomical object type
asteroid belt
action filter_type
action find
entity 2454 Olaus Magnus
relation minor planet group
type astronomical object
SELECT DISTINCT ?y WHERE { resource:2454_Olaus_Magnus property:minor_planet_group ?y . ?y rdf:type ontology:astronomical_object }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q173343
P138
Q17444909 Q15324
USER
Which bodies of water come from greater number of astronomical object types than Weddell Sea ?
(c(Q15324),P138,c(Q17444909))
action greater
action find_tuple_counts
relation P138
type Q15324
type Q17444909
action count
action filter_type
action find
entity Q173343
relation P138
type Q15324
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?r ) WHERE { ?d property:P138 ?t . ?d rdf:type ontology:Q15324 . ?t rdf:type ontology:Q17444909 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q173343 property:P138 ?c . ?c rdf:type ontology:Q15324 } } . FILTER ( ?r > ?u ) }
Weddell Sea
action greater
action find_tuple_counts
relation named after
type body of water
type astronomical object type
action count
action filter_type
action find
entity Weddell Sea
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?r ) WHERE { ?d property:named_after ?t . ?d rdf:type ontology:body_of_water . ?t rdf:type ontology:astronomical_object_type } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Weddell_Sea property:named_after ?c . ?c rdf:type ontology:body_of_water } } . FILTER ( ?r > ?u ) }
[]
astronomical object type body of water
Q21823246 Q21855512
SYSTEM
Aldebaran Glacier, Jupiter Glacier
Q21823246 Q21855512
(c(Q15324),P138,c(Q17444909))
action greater
action find_tuple_counts
relation P138
type Q15324
type Q17444909
action count
action filter_type
action find
entity Q173343
relation P138
type Q15324
[ANSWERS] come from greater number of astronomical object types than Weddell Sea
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?r ) WHERE { ?d property:P138 ?t . ?d rdf:type ontology:Q15324 . ?t rdf:type ontology:Q17444909 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q173343 property:P138 ?c . ?c rdf:type ontology:Q15324 } } . FILTER ( ?r > ?u ) }
Aldebaran Glacier Jupiter Glacier
Aldebaran Glacier and Jupiter Glacier come from greater number of astronomical object types than Weddell Sea
Aldebaran Glacier Jupiter Glacier
action greater
action find_tuple_counts
relation named after
type body of water
type astronomical object type
action count
action filter_type
action find
entity Weddell Sea
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?r ) WHERE { ?d property:named_after ?t . ?d rdf:type ontology:body_of_water . ?t rdf:type ontology:astronomical_object_type } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Weddell_Sea property:named_after ?c . ?c rdf:type ontology:body_of_water } } . FILTER ( ?r > ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7988
P138
Q17444909 Q15324
USER
And also tell me about Laptev Sea?
(c(Q15324),P138,c(Q17444909))
action greater
action find_tuple_counts
relation P138
type Q15324
type Q17444909
action count
action filter_type
action find
entity Q7988
relation P138
type Q15324
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:P138 ?u . ?h rdf:type ontology:Q15324 . ?u rdf:type ontology:Q17444909 } GROUP BY ?h } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q7988 property:P138 ?n . ?n rdf:type ontology:Q15324 } } }
Laptev Sea
action greater
action find_tuple_counts
relation named after
type body of water
type astronomical object type
action count
action filter_type
action find
entity Laptev Sea
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:named_after ?u . ?h rdf:type ontology:body_of_water . ?u rdf:type ontology:astronomical_object_type } GROUP BY ?h } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Laptev_Sea property:named_after ?n . ?n rdf:type ontology:body_of_water } } }
[]
astronomical object type body of water
Q21823246 Q21855512
SYSTEM
Aldebaran Glacier, Jupiter Glacier
Q21823246 Q21855512
(c(Q15324),P138,c(Q17444909))
action greater
action find_tuple_counts
relation P138
type Q15324
type Q17444909
action count
action filter_type
action find
entity Q7988
relation P138
type Q15324
[ANSWERS]
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:P138 ?u . ?h rdf:type ontology:Q15324 . ?u rdf:type ontology:Q17444909 } GROUP BY ?h } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q7988 property:P138 ?n . ?n rdf:type ontology:Q15324 } } }
Aldebaran Glacier Jupiter Glacier
Aldebaran Glacier Jupiter Glacier
action greater
action find_tuple_counts
relation named after
type body of water
type astronomical object type
action count
action filter_type
action find
entity Laptev Sea
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:named_after ?u . ?h rdf:type ontology:body_of_water . ?u rdf:type ontology:astronomical_object_type } GROUP BY ?h } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Laptev_Sea property:named_after ?n . ?n rdf:type ontology:body_of_water } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q107425 Q123705
USER
How many bodies of water are located in the neighbourhood of atleast 4 landscapes and neighborhoods ?
(c(Q107425)|c(Q123705),P206,c(Q15324))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P206
type Q15324
type Q107425
action find_reverse_tuple_counts
relation P206
type Q15324
type Q123705
value 4
[[{'concept': 'Q107425'}, {'concept': 'Q123705'}], 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?d ) WHERE { { ?b property:P206 ?n . ?b rdf:type ontology:Q107425 . ?n rdf:type ontology:Q15324 } UNION { ?n rdf:type ontology:Q15324 . ?b rdf:type ontology:Q123705 . ?b property:P206 ?n } } GROUP BY ?n } . FILTER ( ?d >= 4 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type landscape
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type neighborhood
value 4
[[{'concept': 'landscape'}, {'concept': 'neighborhood'}], 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?d ) WHERE { { ?b property:located_next_to_body_of_water ?n . ?b rdf:type ontology:landscape . ?n rdf:type ontology:body_of_water } UNION { ?n rdf:type ontology:body_of_water . ?b rdf:type ontology:neighborhood . ?b property:located_next_to_body_of_water ?n } } GROUP BY ?n } . FILTER ( ?d >= 4 ) }
[]
body of water landscape neighborhood
SYSTEM
3
Q545 Q1247 Q37660
(c(Q107425)|c(Q123705),P206,c(Q15324))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P206
type Q15324
type Q107425
action find_reverse_tuple_counts
relation P206
type Q15324
type Q123705
value 4
[ANSWER]
[[{'concept': 'Q107425'}, {'concept': 'Q123705'}], 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?d ) WHERE { { ?b property:P206 ?n . ?b rdf:type ontology:Q107425 . ?n rdf:type ontology:Q15324 } UNION { ?n rdf:type ontology:Q15324 . ?b rdf:type ontology:Q123705 . ?b property:P206 ?n } } GROUP BY ?n } . FILTER ( ?d >= 4 ) }
Baltic Sea Caribbean Sea South China Sea
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type landscape
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type neighborhood
value 4
[[{'concept': 'landscape'}, {'concept': 'neighborhood'}], 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?d ) WHERE { { ?b property:located_next_to_body_of_water ?n . ?b rdf:type ontology:landscape . ?n rdf:type ontology:body_of_water } UNION { ?n rdf:type ontology:body_of_water . ?b rdf:type ontology:neighborhood . ?b property:located_next_to_body_of_water ?n } } GROUP BY ?n } . FILTER ( ?d >= 4 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11901439 Q320056
P27
Q15617994
USER
Which administrative territories are the native countriesof Yrjö Väisälä or Vilho Leivonen ?
OR((Q320056,P27,c(Q15617994)), (Q11901439,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q320056
relation P27
action find
entity Q11901439
relation P27
type Q15617994
{'OR': [['Q320056', 'P27', {'concept': 'Q15617994'}], ['Q11901439', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( resource:Q320056 ) ( resource:Q11901439 ) } . ?g property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Vilho Leivonen Yrjö Väisälä
action filter_type
action union
action find
entity Yrjö Väisälä
relation country of citizenship
action find
entity Vilho Leivonen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yrjö Väisälä', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vilho Leivonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( resource:Yrjö_Väisälä ) ( resource:Vilho_Leivonen ) } . ?g property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
OR((Q320056,P27,c(Q15617994)), (Q11901439,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q320056
relation P27
action find
entity Q11901439
relation P27
type Q15617994
[ANSWER] is the native countriesof Yrjö Väisälä or Vilho Leivonen
{'OR': [['Q320056', 'P27', {'concept': 'Q15617994'}], ['Q11901439', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( resource:Q320056 ) ( resource:Q11901439 ) } . ?g property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Finland
Finland is the native countriesof Yrjö Väisälä or Vilho Leivonen
Finland
action filter_type
action union
action find
entity Yrjö Väisälä
relation country of citizenship
action find
entity Vilho Leivonen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yrjö Väisälä', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vilho Leivonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( resource:Yrjö_Väisälä ) ( resource:Vilho_Leivonen ) } . ?g property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q3305213 Q15709879
USER
Which names are depicted in min number of paintings or artwork series ?
(c(Q3305213)|c(Q15709879),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
[[{'concept': 'Q3305213'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?s = ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:P180 ?i . ?i rdf:type ontology:Q82799 . ?m rdf:type ontology:Q15709879 } UNION { ?m property:P180 ?i . ?i rdf:type ontology:Q82799 . ?m rdf:type ontology:Q3305213 } } GROUP BY ?i } . { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:Q3305213 ) ( ontology:Q15709879 ) } } GROUP BY ?c } } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
[[{'concept': 'painting'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?s = ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:depicts ?i . ?i rdf:type ontology:name . ?m rdf:type ontology:artwork_series } UNION { ?m property:depicts ?i . ?i rdf:type ontology:name . ?m rdf:type ontology:painting } } GROUP BY ?i } . { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:painting ) ( ontology:artwork_series ) } } GROUP BY ?c } } }
[]
name painting artwork series
Q1807269 Q134609 Q11946202
SYSTEM
leek, Cynara scolymus, butterfly
Q13219075 Q134609 Q6453151 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q8331 Q846664 Q3116510 Q1865281 Q1367 Q1192868 Q9394 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q10968813
(c(Q3305213)|c(Q15709879),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
[ANSWERS] are depicted in min number of paintings or artwork series
[[{'concept': 'Q3305213'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?s = ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:P180 ?i . ?i rdf:type ontology:Q82799 . ?m rdf:type ontology:Q15709879 } UNION { ?m property:P180 ?i . ?i rdf:type ontology:Q82799 . ?m rdf:type ontology:Q3305213 } } GROUP BY ?i } . { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:Q3305213 ) ( ontology:Q15709879 ) } } GROUP BY ?c } } }
octopus Cynara scolymus toad duck mule wolf Partridge sugarcane shrimp dolphin butterfly trout cattle goose Boy cannoneer leek fox hawk frog whale monkey clam rabbit magpie slug lizard antelope Yellow jacket Tree squirrel mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo jay
Leek, Cynara scolymus and butterfly are depicted in min number of paintings or artwork series
leek Cynara scolymus butterfly
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
[[{'concept': 'painting'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?s = ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:depicts ?i . ?i rdf:type ontology:name . ?m rdf:type ontology:artwork_series } UNION { ?m property:depicts ?i . ?i rdf:type ontology:name . ?m rdf:type ontology:painting } } GROUP BY ?i } . { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:painting ) ( ontology:artwork_series ) } } GROUP BY ?c } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1860
P407
Q34770 Q82799
USER
Which languages are the languages of work for lesser number of names than English ?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q1860
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P407 resource:Q1860 . ?b rdf:type ontology:Q82799 } } . FILTER ( ?i < ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P407 ?f . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?f } }
English
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity English
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:language_of_work_or_name resource:English . ?b rdf:type ontology:name } } . FILTER ( ?i < ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?f } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q1860
relation P407
type Q82799
[ANSWERS] are the languages of work for lesser number of names than English
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P407 resource:Q1860 . ?b rdf:type ontology:Q82799 } } . FILTER ( ?i < ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P407 ?f . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?f } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are the languages of work for lesser number of names than English
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity English
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:language_of_work_or_name resource:English . ?b rdf:type ontology:name } } . FILTER ( ?i < ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1807269
P566
Q16521
USER
Which taxon is a basionym of leek ?
(Q1807269,P566,c(Q16521))
action filter_type
action find
entity Q1807269
relation P566
type Q16521
['Q1807269', 'P566', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q1807269 property:P566 ?q . ?q rdf:type ontology:Q16521 }
leek
action filter_type
action find
entity leek
relation basionym
type taxon
['leek', 'basionym', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:leek property:basionym ?q . ?q rdf:type ontology:taxon }
[]
taxon
Q21870138
SYSTEM
Allium porrum
Q21870138
(Q1807269,P566,c(Q16521))
action filter_type
action find
entity Q1807269
relation P566
type Q16521
[ANSWER] is a basionym of leek
['Q1807269', 'P566', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q1807269 property:P566 ?q . ?q rdf:type ontology:Q16521 }
Allium porrum
Allium porrum is a basionym of leek
Allium porrum
action filter_type
action find
entity leek
relation basionym
type taxon
['leek', 'basionym', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:leek property:basionym ?q . ?q rdf:type ontology:taxon }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q20831
P282
Q9779 Q8192 Q34770
USER
Which languages have writing system as around the same number of alphabets or writing systems as Cahto language ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q20831
relation P282
type Q9779
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?i ) WHERE { { ?f property:P282 ?t . ?t rdf:type ontology:Q8192 . ?f rdf:type ontology:Q34770 } UNION { ?f property:P282 ?t . ?f rdf:type ontology:Q34770 . ?t rdf:type ontology:Q9779 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q20831 property:P282 ?a . { { ?a rdf:type ontology:Q9779 } UNION { ?a rdf:type ontology:Q8192 } } } } . FILTER ( ?i = ?u ) }
Cahto language
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Cahto language
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?i ) WHERE { { ?f property:writing_system ?t . ?t rdf:type ontology:writing_system . ?f rdf:type ontology:language } UNION { ?f property:writing_system ?t . ?f rdf:type ontology:language . ?t rdf:type ontology:alphabet } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Cahto_language property:writing_system ?a . { { ?a rdf:type ontology:alphabet } UNION { ?a rdf:type ontology:writing_system } } } } . FILTER ( ?i = ?u ) }
[]
alphabet writing system language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q20831
relation P282
type Q9779
type Q8192
[ANSWERS] have writing system as around the same number of alphabets or writing systems as Cahto language
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?i ) WHERE { { ?f property:P282 ?t . ?t rdf:type ontology:Q8192 . ?f rdf:type ontology:Q34770 } UNION { ?f property:P282 ?t . ?f rdf:type ontology:Q34770 . ?t rdf:type ontology:Q9779 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q20831 property:P282 ?a . { { ?a rdf:type ontology:Q9779 } UNION { ?a rdf:type ontology:Q8192 } } } } . FILTER ( ?i = ?u ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
Avestan, English and Old Egyptian have writing system as around the same number of alphabets or writing systems as Cahto language
Avestan English Old Egyptian
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Cahto language
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?i ) WHERE { { ?f property:writing_system ?t . ?t rdf:type ontology:writing_system . ?f rdf:type ontology:language } UNION { ?f property:writing_system ?t . ?f rdf:type ontology:language . ?t rdf:type ontology:alphabet } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Cahto_language property:writing_system ?a . { { ?a rdf:type ontology:alphabet } UNION { ?a rdf:type ontology:writing_system } } } } . FILTER ( ?i = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q36957
P282
Q9779 Q8192 Q34770
USER
And also tell me about Umbrian?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36957
relation P282
type Q9779
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q36957 property:P282 ?j . { { ?j rdf:type ontology:Q8192 } UNION { ?j rdf:type ontology:Q9779 } } } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?e ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } GROUP BY ?q } }
Umbrian
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Umbrian
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Umbrian property:writing_system ?j . { { ?j rdf:type ontology:writing_system } UNION { ?j rdf:type ontology:alphabet } } } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?e ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:alphabet ) ( ontology:writing_system ) } } GROUP BY ?q } }
[]
alphabet writing system language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36957
relation P282
type Q9779
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q36957 property:P282 ?j . { { ?j rdf:type ontology:Q8192 } UNION { ?j rdf:type ontology:Q9779 } } } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?e ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } GROUP BY ?q } }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
Avestan English Old Egyptian
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Umbrian
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Umbrian property:writing_system ?j . { { ?j rdf:type ontology:writing_system } UNION { ?j rdf:type ontology:alphabet } } } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?e ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:alphabet ) ( ontology:writing_system ) } } GROUP BY ?q } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q17335294 Q386724
USER
Which names are demonstrated in atmost 2 coats of arms and works ?
(c(Q17335294)|c(Q386724),P180,c(Q82799))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
value 2
[[{'concept': 'Q17335294'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P180 ?f . ?t rdf:type ontology:Q386724 . ?f rdf:type ontology:Q82799 } UNION { ?t property:P180 ?f . ?f rdf:type ontology:Q82799 . ?t rdf:type ontology:Q17335294 } } GROUP BY ?f } . FILTER ( ?k <= 2 ) }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type work
value 2
[[{'concept': 'flag or coat of arms'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:depicts ?f . ?t rdf:type ontology:work . ?f rdf:type ontology:name } UNION { ?t property:depicts ?f . ?f rdf:type ontology:name . ?t rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?f } . FILTER ( ?k <= 2 ) }
[]
name flag or coat of arms work
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
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 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(Q17335294)|c(Q386724),P180,c(Q82799))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
value 2
[ANSWERS] are demonstrated in atmost 2 coats of arms and works
[[{'concept': 'Q17335294'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P180 ?f . ?t rdf:type ontology:Q386724 . ?f rdf:type ontology:Q82799 } UNION { ?t property:P180 ?f . ?f rdf:type ontology:Q82799 . ?t rdf:type ontology:Q17335294 } } GROUP BY ?f } . FILTER ( ?k <= 2 ) }
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 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
Dog, leek and magi are demonstrated in atmost 2 coats of arms and works
dog leek magi
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type work
value 2
[[{'concept': 'flag or coat of arms'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:depicts ?f . ?t rdf:type ontology:work . ?f rdf:type ontology:name } UNION { ?t property:depicts ?f . ?f rdf:type ontology:name . ?t rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?f } . FILTER ( ?k <= 2 ) }
[]