Simple Question (Direct)
Simple Question
Q5053608
P735
Q82799
USER
What is the firstname of Cato Sundberg ?
(Q5053608,P735,c(Q82799))
action filter_type
action find
entity Q5053608
relation P735
type Q82799
['Q5053608', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q5053608 property:P735 ?h }
Cato Sundberg
action filter_type
action find
entity Cato Sundberg
relation given name
type name
['Cato Sundberg', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Cato_Sundberg property:given_name ?h }
[]
name
Q10981563
SYSTEM
Cato
Q10981563
(Q5053608,P735,c(Q82799))
action filter_type
action find
entity Q5053608
relation P735
type Q82799
The firstname of [ANSWER] Sundberg is the [ANSWER]
['Q5053608', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q5053608 property:P735 ?h }
Cato
The firstname of Cato Sundberg is the Cato
Cato
action filter_type
action find
entity Cato Sundberg
relation given name
type name
['Cato Sundberg', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Cato_Sundberg property:given_name ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10981563
P1533
Q82799
USER
Which name is identical to that one ?
(Q10981563,P1533,c(Q82799))
action filter_type
action find
entity Q10981563
relation P1533
type Q82799
['Q10981563', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q10981563 property:P1533 ?b }
Cato
action filter_type
action find
entity Cato
relation family name identical to this first name
type name
['Cato', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Cato property:family_name_identical_to_this_first_name ?b }
[]
name
Q23022911
SYSTEM
Cato
Q23022911
(Q10981563,P1533,c(Q82799))
action filter_type
action find
entity Q10981563
relation P1533
type Q82799
And [ANSWER] is identical to that one
['Q10981563', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q10981563 property:P1533 ?b }
Cato
And Cato is identical to that one
Cato
action filter_type
action find
entity Cato
relation family name identical to this first name
type name
['Cato', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Cato property:family_name_identical_to_this_first_name ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q23022911 Q7526221
P734
Q502895
USER
Does Sir Charles Hunter, 3rd Baronet have that name as surname ?
(Q7526221,P734,Q23022911)
action is_in
entity Q7526221
action find
entity Q23022911
relation P734
['Q7526221', 'P734', 'Q23022911']
ASK WHERE { resource:Q23022911 property:P734 resource:Q7526221 }
Cato Sir Charles Hunter, 3rd Baronet
action is_in
entity Sir Charles Hunter, 3rd Baronet
action find
entity Cato
relation family name
['Sir Charles Hunter, 3rd Baronet', 'family name', 'Cato']
ASK WHERE { resource:Cato property:family_name resource:Sir_Charles_Hunter,_3rd_Baronet }
[]
common name
SYSTEM
NO
(Q7526221,P734,Q23022911)
action is_in
entity Q7526221
action find
entity Q23022911
relation P734
[ANSWER]
['Q7526221', 'P734', 'Q23022911']
ASK WHERE { resource:Q23022911 property:P734 resource:Q7526221 }
No
action is_in
entity Sir Charles Hunter, 3rd Baronet
action find
entity Cato
relation family name
['Sir Charles Hunter, 3rd Baronet', 'family name', 'Cato']
ASK WHERE { resource:Cato property:family_name resource:Sir_Charles_Hunter,_3rd_Baronet }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10981563
P1750
Q186081
USER
Which time interval is the name day of Cato ?
(Q10981563,P1750,c(Q186081))
action filter_type
action find
entity Q10981563
relation P1750
type Q186081
['Q10981563', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?a WHERE { resource:Q10981563 property:P1750 ?a . ?a rdf:type ontology:Q186081 }
Cato
action filter_type
action find
entity Cato
relation name day
type time interval
['Cato', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?a WHERE { resource:Cato property:name_day ?a . ?a rdf:type ontology:time_interval }
[]
time interval
Q2587
SYSTEM
May 27
Q2587
(Q10981563,P1750,c(Q186081))
action filter_type
action find
entity Q10981563
relation P1750
type Q186081
[ANSWER] is the name day of Cato
['Q10981563', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?a WHERE { resource:Q10981563 property:P1750 ?a . ?a rdf:type ontology:Q186081 }
May 27
May 27 is the name day of Cato
May 27
action filter_type
action find
entity Cato
relation name day
type time interval
['Cato', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?a WHERE { resource:Cato property:name_day ?a . ?a rdf:type ontology:time_interval }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2587
P361
Q5151
USER
Which month is that time interval a component of ?
(Q2587,P361,c(Q5151))
action filter_type
action find
entity Q2587
relation P361
type Q5151
['Q2587', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?b WHERE { resource:Q2587 property:P361 ?b . ?b rdf:type ontology:Q5151 }
May 27
action filter_type
action find
entity May 27
relation part of
type month
['May 27', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?b WHERE { resource:May_27 property:part_of ?b . ?b rdf:type ontology:month }
[]
month
Q119
SYSTEM
May
Q119
(Q2587,P361,c(Q5151))
action filter_type
action find
entity Q2587
relation P361
type Q5151
The [ANSWER] is that time interval a component of
['Q2587', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?b WHERE { resource:Q2587 property:P361 ?b . ?b rdf:type ontology:Q5151 }
May
The May is that time interval a component of
May
action filter_type
action find
entity May 27
relation part of
type month
['May 27', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?b WHERE { resource:May_27 property:part_of ?b . ?b rdf:type ontology:month }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q119
P138
Q16521
USER
What is that month named after ?
(Q119,P138,c(Q16521))
action filter_type
action find
entity Q119
relation P138
type Q16521
['Q119', 'P138', {'concept': 'Q16521'}]
SELECT DISTINCT ?k WHERE { resource:Q119 property:P138 ?k . ?k rdf:type ontology:Q16521 }
May
action filter_type
action find
entity May
relation named after
type taxon
['May', 'named after', {'concept': 'taxon'}]
SELECT DISTINCT ?k WHERE { resource:May property:named_after ?k . ?k rdf:type ontology:taxon }
[]
taxon
Q2047589
SYSTEM
Blossom
Q2047589
(Q119,P138,c(Q16521))
action filter_type
action find
entity Q119
relation P138
type Q16521
That month named is after the [ANSWER]
['Q119', 'P138', {'concept': 'Q16521'}]
SELECT DISTINCT ?k WHERE { resource:Q119 property:P138 ?k . ?k rdf:type ontology:Q16521 }
Blossom
That month named is after the Blossom
Blossom
action filter_type
action find
entity May
relation named after
type taxon
['May', 'named after', {'concept': 'taxon'}]
SELECT DISTINCT ?k WHERE { resource:May property:named_after ?k . ?k rdf:type ontology:taxon }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11946202
P180
Q82799 Q17335294 Q18783400
USER
Which names are expressed in approximately the same number of coats of arms or genres of sculpture as butterfly ?
(c(Q17335294)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q11946202
relation P180
type Q17335294
type Q18783400
[[{'concept': 'Q17335294'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:P180 ?m . ?m rdf:type ontology:Q82799 . ?b rdf:type ontology:Q18783400 } UNION { ?b property:P180 ?m . ?m rdf:type ontology:Q82799 . ?b rdf:type ontology:Q17335294 } } GROUP BY ?m } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { { ?h rdf:type ontology:Q17335294 } UNION { ?h rdf:type ontology:Q18783400 } } . ?h property:P180 resource:Q11946202 } } }
butterfly
action approx
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 genre of sculpture
action count
action filter_multi_types
action find_reverse
entity butterfly
relation depicts
type flag or coat of arms
type genre of sculpture
[[{'concept': 'flag or coat of arms'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:depicts ?m . ?m rdf:type ontology:name . ?b rdf:type ontology:genre_of_sculpture } UNION { ?b property:depicts ?m . ?m rdf:type ontology:name . ?b rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?m } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { { ?h rdf:type ontology:flag_or_coat_of_arms } UNION { ?h rdf:type ontology:genre_of_sculpture } } . ?h property:depicts resource:butterfly } } }
[]
name flag or coat of arms genre of sculpture
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q17335294)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q11946202
relation P180
type Q17335294
type Q18783400
[ANSWERS] are expressed in approximately the same number of coats of arms or genres of sculpture as butterfly
[[{'concept': 'Q17335294'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:P180 ?m . ?m rdf:type ontology:Q82799 . ?b rdf:type ontology:Q18783400 } UNION { ?b property:P180 ?m . ?m rdf:type ontology:Q82799 . ?b rdf:type ontology:Q17335294 } } GROUP BY ?m } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { { ?h rdf:type ontology:Q17335294 } UNION { ?h rdf:type ontology:Q18783400 } } . ?h property:P180 resource:Q11946202 } } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Leek, magi and fish are expressed in approximately the same number of coats of arms or genres of sculpture as butterfly
leek magi fish
action approx
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 genre of sculpture
action count
action filter_multi_types
action find_reverse
entity butterfly
relation depicts
type flag or coat of arms
type genre of sculpture
[[{'concept': 'flag or coat of arms'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:depicts ?m . ?m rdf:type ontology:name . ?b rdf:type ontology:genre_of_sculpture } UNION { ?b property:depicts ?m . ?m rdf:type ontology:name . ?b rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?m } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { { ?h rdf:type ontology:flag_or_coat_of_arms } UNION { ?h rdf:type ontology:genre_of_sculpture } } . ?h property:depicts resource:butterfly } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q152
P180
Q82799 Q17335294 Q18783400
USER
And how about fish?
(c(Q17335294)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q152
relation P180
type Q17335294
type Q18783400
[[{'concept': 'Q17335294'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?f = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { { ?x rdf:type ontology:Q18783400 } UNION { ?x rdf:type ontology:Q17335294 } } . ?x property:P180 resource:Q152 } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?p WHERE { { ?a property:P180 ?p . ?a rdf:type ontology:Q17335294 . ?p rdf:type ontology:Q82799 } UNION { ?a property:P180 ?p . ?a rdf:type ontology:Q18783400 . ?p rdf:type ontology:Q82799 } } GROUP BY ?p } }
fish
action approx
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 genre of sculpture
action count
action filter_multi_types
action find_reverse
entity fish
relation depicts
type flag or coat of arms
type genre of sculpture
[[{'concept': 'flag or coat of arms'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?f = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { { ?x rdf:type ontology:genre_of_sculpture } UNION { ?x rdf:type ontology:flag_or_coat_of_arms } } . ?x property:depicts resource:fish } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?p WHERE { { ?a property:depicts ?p . ?a rdf:type ontology:flag_or_coat_of_arms . ?p rdf:type ontology:name } UNION { ?a property:depicts ?p . ?a rdf:type ontology:genre_of_sculpture . ?p rdf:type ontology:name } } GROUP BY ?p } }
[]
name flag or coat of arms genre of sculpture
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q17335294)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q152
relation P180
type Q17335294
type Q18783400
[ANSWERS]
[[{'concept': 'Q17335294'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?f = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { { ?x rdf:type ontology:Q18783400 } UNION { ?x rdf:type ontology:Q17335294 } } . ?x property:P180 resource:Q152 } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?p WHERE { { ?a property:P180 ?p . ?a rdf:type ontology:Q17335294 . ?p rdf:type ontology:Q82799 } UNION { ?a property:P180 ?p . ?a rdf:type ontology:Q18783400 . ?p rdf:type ontology:Q82799 } } GROUP BY ?p } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
leek magi fish
action approx
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 genre of sculpture
action count
action filter_multi_types
action find_reverse
entity fish
relation depicts
type flag or coat of arms
type genre of sculpture
[[{'concept': 'flag or coat of arms'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?f = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { { ?x rdf:type ontology:genre_of_sculpture } UNION { ?x rdf:type ontology:flag_or_coat_of_arms } } . ?x property:depicts resource:fish } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?p WHERE { { ?a property:depicts ?p . ?a rdf:type ontology:flag_or_coat_of_arms . ?p rdf:type ontology:name } UNION { ?a property:depicts ?p . ?a rdf:type ontology:genre_of_sculpture . ?p rdf:type ontology:name } } GROUP BY ?p } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are max number of names in ?
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P407 ?u . ?b rdf:type ontology:Q82799 . ?u rdf:type ontology:Q34770 } GROUP BY ?u } } . { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?t ) WHERE { ?a rdf:type ontology:Q34770 . ?k rdf:type ontology:Q82799 . ?k property:P407 ?a } GROUP BY ?a } . FILTER ( ?t = ?w ) }
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:language_of_work_or_name ?u . ?b rdf:type ontology:name . ?u rdf:type ontology:language } GROUP BY ?u } } . { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?t ) WHERE { ?a rdf:type ontology:language . ?k rdf:type ontology:name . ?k property:language_of_work_or_name ?a } GROUP BY ?a } . FILTER ( ?t = ?w ) }
[]
language name
Q1860
SYSTEM
English
Q1860
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
Which languages is max number of names in
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P407 ?u . ?b rdf:type ontology:Q82799 . ?u rdf:type ontology:Q34770 } GROUP BY ?u } } . { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?t ) WHERE { ?a rdf:type ontology:Q34770 . ?k rdf:type ontology:Q82799 . ?k property:P407 ?a } GROUP BY ?a } . FILTER ( ?t = ?w ) }
English
Which languages is max number of names in
English
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:language_of_work_or_name ?u . ?b rdf:type ontology:name . ?u rdf:type ontology:language } GROUP BY ?u } } . { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?t ) WHERE { ?a rdf:type ontology:language . ?k rdf:type ontology:name . ?k property:language_of_work_or_name ?a } GROUP BY ?a } . FILTER ( ?t = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q9779 Q34770
USER
Which alphabets are the writing systems of atleast 1 language known as ?
(c(Q34770),P282,c(Q9779))
action atleast
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:P282 ?b . ?b rdf:type ontology:Q9779 . ?j rdf:type ontology:Q34770 } GROUP BY ?b } . FILTER ( ?r >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:writing_system ?b . ?b rdf:type ontology:alphabet . ?j rdf:type ontology:language } GROUP BY ?b } . FILTER ( ?r >= 1 ) }
[]
alphabet language
Q8209 Q829464 Q550383
SYSTEM
Cyrillic script, Serbian Cyrillic alphabet, Italian alphabet
Q8209 Q829464 Q550383 Q442244
(c(Q34770),P282,c(Q9779))
action atleast
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
Are the writing systems of atleast 1 language known as Russian [ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:P282 ?b . ?b rdf:type ontology:Q9779 . ?j rdf:type ontology:Q34770 } GROUP BY ?b } . FILTER ( ?r >= 1 ) }
Cyrillic script Serbian Cyrillic alphabet Italian alphabet Early Cyrillic alphabet
Are the writing systems of atleast 1 language known as Russian Cyrillic script, Serbian Cyrillic alphabet and Italian alphabet
Cyrillic script Serbian Cyrillic alphabet Italian alphabet
action atleast
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:writing_system ?b . ?b rdf:type ontology:alphabet . ?j rdf:type ontology:language } GROUP BY ?b } . FILTER ( ?r >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5053608 Q3056474
P106
Q12737077
USER
How many occupations are the job of Cato Sundberg and Mohamed Fawzi ?
(Q5053608,P106,c(Q12737077)) (Q3056474,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q5053608
relation P106
type Q12737077
action filter_type
action find
entity Q3056474
relation P106
type Q12737077
['Q5053608', 'P106', {'concept': 'Q12737077'}] ['Q3056474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q5053608 property:P106 ?f . ?f rdf:type ontology:Q12737077 . resource:Q3056474 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Cato Sundberg Mohamed Fawzi
action count
action intersection
action filter_type
action find
entity Cato Sundberg
relation occupation
type occupation
action filter_type
action find
entity Mohamed Fawzi
relation occupation
type occupation
['Cato Sundberg', 'occupation', {'concept': 'occupation'}] ['Mohamed Fawzi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Cato_Sundberg property:occupation ?f . ?f rdf:type ontology:occupation . resource:Mohamed_Fawzi property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q36834 Q177220
(Q5053608,P106,c(Q12737077)) (Q3056474,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q5053608
relation P106
type Q12737077
action filter_type
action find
entity Q3056474
relation P106
type Q12737077
[ANSWER]
['Q5053608', 'P106', {'concept': 'Q12737077'}] ['Q3056474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q5053608 property:P106 ?f . ?f rdf:type ontology:Q12737077 . resource:Q3056474 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
composer singer
2
action count
action intersection
action filter_type
action find
entity Cato Sundberg
relation occupation
type occupation
action filter_type
action find
entity Mohamed Fawzi
relation occupation
type occupation
['Cato Sundberg', 'occupation', {'concept': 'occupation'}] ['Mohamed Fawzi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Cato_Sundberg property:occupation ?f . ?f rdf:type ontology:occupation . resource:Mohamed_Fawzi property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q9779 Q34770
USER
Which alphabets are the writing systems of exactly 1 language known as ?
(c(Q34770),P282,c(Q9779))
action equal
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P282 ?j . ?j rdf:type ontology:Q9779 . ?n rdf:type ontology:Q34770 } GROUP BY ?j } . FILTER ( ?e = 1 ) }
action equal
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:writing_system ?j . ?j rdf:type ontology:alphabet . ?n rdf:type ontology:language } GROUP BY ?j } . FILTER ( ?e = 1 ) }
[]
alphabet language
Q829464 Q550383 Q442244
SYSTEM
Serbian Cyrillic alphabet, Italian alphabet, Early Cyrillic alphabet
Q829464 Q550383 Q442244
(c(Q34770),P282,c(Q9779))
action equal
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
[ANSWERS] are the writing systems of exactly 1 language known as
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P282 ?j . ?j rdf:type ontology:Q9779 . ?n rdf:type ontology:Q34770 } GROUP BY ?j } . FILTER ( ?e = 1 ) }
Serbian Cyrillic alphabet Italian alphabet Early Cyrillic alphabet
Serbian Cyrillic alphabet, Italian alphabet and Early Cyrillic alphabet are the writing systems of exactly 1 language known as
Serbian Cyrillic alphabet Italian alphabet Early Cyrillic alphabet
action equal
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:writing_system ?j . ?j rdf:type ontology:alphabet . ?n rdf:type ontology:language } GROUP BY ?j } . FILTER ( ?e = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1314503
P282
Q8192 Q34770
USER
Which writing systems are the writing systems of more number of languages known as than Tai Tham alphabet ?
(c(Q34770),P282,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1314503
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P282 ?x . ?d rdf:type ontology:Q34770 . ?x rdf:type ontology:Q8192 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q1314503 property:P282 ?t . ?t rdf:type ontology:Q8192 } } . FILTER ( ?f > ?b ) }
Tai Tham alphabet
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Tai Tham alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:writing_system ?x . ?d rdf:type ontology:language . ?x rdf:type ontology:writing_system } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Tai_Tham_alphabet property:writing_system ?t . ?t rdf:type ontology:writing_system } } . FILTER ( ?f > ?b ) }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1314503
relation P282
type Q8192
[ANSWERS] are the writing systems of more number of languages known as than Tai Tham alphabet
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P282 ?x . ?d rdf:type ontology:Q34770 . ?x rdf:type ontology:Q8192 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q1314503 property:P282 ?t . ?t rdf:type ontology:Q8192 } } . FILTER ( ?f > ?b ) }
katakana Linear A hiragana
Katakana, Linear A and hiragana are the writing systems of more number of languages known as than Tai Tham alphabet
katakana Linear A hiragana
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Tai Tham alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:writing_system ?x . ?d rdf:type ontology:language . ?x rdf:type ontology:writing_system } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Tai_Tham_alphabet property:writing_system ?t . ?t rdf:type ontology:writing_system } } . FILTER ( ?f > ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1421571 Q1314503
P2439
Q25295
USER
Which language families are related to Tai Tham alphabet or Mantis Bug Tracker ?
OR((Q1314503,P2439,c(Q25295)), (Q1421571,P2439,c(Q25295)))
action filter_type
action union
action find
entity Q1314503
relation P2439
action find
entity Q1421571
relation P2439
type Q25295
{'OR': [['Q1314503', 'P2439', {'concept': 'Q25295'}], ['Q1421571', 'P2439', {'concept': 'Q25295'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?x ) { ( resource:Q1314503 ) ( resource:Q1421571 ) } . ?x property:P2439 ?m } . ?m rdf:type ontology:Q25295 }
Mantis Bug Tracker Tai Tham alphabet
action filter_type
action union
action find
entity Tai Tham alphabet
relation language
action find
entity Mantis Bug Tracker
relation language
type language family
{'OR': [['Tai Tham alphabet', 'language', {'concept': 'language family'}], ['Mantis Bug Tracker', 'language', {'concept': 'language family'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?x ) { ( resource:Tai_Tham_alphabet ) ( resource:Mantis_Bug_Tracker ) } . ?x property:language ?m } . ?m rdf:type ontology:language_family }
[]
language family
Q9288 Q565110 Q28244
SYSTEM
Hebrew, Northern Thai, Amharic
Q9288 Q565110 Q28244
OR((Q1314503,P2439,c(Q25295)), (Q1421571,P2439,c(Q25295)))
action filter_type
action union
action find
entity Q1314503
relation P2439
action find
entity Q1421571
relation P2439
type Q25295
[ANSWERS] are related to Tai Tham alphabet or Mantis Bug Tracker
{'OR': [['Q1314503', 'P2439', {'concept': 'Q25295'}], ['Q1421571', 'P2439', {'concept': 'Q25295'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?x ) { ( resource:Q1314503 ) ( resource:Q1421571 ) } . ?x property:P2439 ?m } . ?m rdf:type ontology:Q25295 }
Hebrew Northern Thai Amharic
Hebrew, Northern Thai and Amharic are related to Tai Tham alphabet or Mantis Bug Tracker
Hebrew Northern Thai Amharic
action filter_type
action union
action find
entity Tai Tham alphabet
relation language
action find
entity Mantis Bug Tracker
relation language
type language family
{'OR': [['Tai Tham alphabet', 'language', {'concept': 'language family'}], ['Mantis Bug Tracker', 'language', {'concept': 'language family'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?x ) { ( resource:Tai_Tham_alphabet ) ( resource:Mantis_Bug_Tracker ) } . ?x property:language ?m } . ?m rdf:type ontology:language_family }
[]