Simple Question (Direct)
Simple Question
Q519077
P102
Q7210356
USER
Which political organization is Algirdas Šemeta a member of ?
(Q519077,P102,c(Q7210356))
action filter_type
action find
entity Q519077
relation P102
type Q7210356
['Q519077', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q519077 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Algirdas Šemeta
action filter_type
action find
entity Algirdas Šemeta
relation member of political party
type political organization
['Algirdas Šemeta', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Algirdas_Šemeta property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q81556
SYSTEM
Homeland Union
Q81556
(Q519077,P102,c(Q7210356))
action filter_type
action find
entity Q519077
relation P102
type Q7210356
The [ANSWER] is Algirdas Šemeta a member of
['Q519077', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q519077 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Homeland Union
The Homeland Union is Algirdas Šemeta a member of
Homeland Union
action filter_type
action find
entity Algirdas Šemeta
relation member of political party
type political organization
['Algirdas Šemeta', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Algirdas_Šemeta property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81556
P17
Q15617994
USER
Which administrative territory is that political organization located in ?
(Q81556,P17,c(Q15617994))
action filter_type
action find
entity Q81556
relation P17
type Q15617994
['Q81556', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q81556 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Homeland Union
action filter_type
action find
entity Homeland Union
relation country
type designation for an administrative territorial entity
['Homeland Union', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Homeland_Union property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
(Q81556,P17,c(Q15617994))
action filter_type
action find
entity Q81556
relation P17
type Q15617994
That political organization is located in [ANSWER]
['Q81556', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q81556 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Lithuania
That political organization is located in Lithuania
Lithuania
action filter_type
action find
entity Homeland Union
relation country
type designation for an administrative territorial entity
['Homeland Union', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Homeland_Union property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81556
P488
Q502895
USER
Who chaired Homeland Union ?
(Q81556,P488,c(Q502895))
action filter_type
action find
entity Q81556
relation P488
type Q502895
['Q81556', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q81556 property:P488 ?t }
Homeland Union
action filter_type
action find
entity Homeland Union
relation chairperson
type common name
['Homeland Union', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Homeland_Union property:chairperson ?t }
[]
common name
Q57663
SYSTEM
Andrius Kubilius
Q57663
(Q81556,P488,c(Q502895))
action filter_type
action find
entity Q81556
relation P488
type Q502895
[ANSWER] chaired Homeland Union
['Q81556', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q81556 property:P488 ?t }
Andrius Kubilius
Andrius Kubilius chaired Homeland Union
Andrius Kubilius
action filter_type
action find
entity Homeland Union
relation chairperson
type common name
['Homeland Union', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Homeland_Union property:chairperson ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37
P1532
Q6979593
USER
Who represent Lithuania ?
(c(Q6979593),P1532,Q37)
action filter_type
action find_reverse
entity Q37
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q37']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q6979593 . ?p property:P1532 resource:Q37 }
Lithuania
action filter_type
action find_reverse
entity Lithuania
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Lithuania']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:national_association_football_team . ?p property:country_for_sport resource:Lithuania }
[]
national association football team
Q1093060 Q19577239
SYSTEM
Lithuania women's national football team, Lithuania women's national under-17 football team
Q1093060 Q19577239
(c(Q6979593),P1532,Q37)
action filter_type
action find_reverse
entity Q37
relation P1532
type Q6979593
And [ANSWERS] represent Lithuania
[{'concept': 'Q6979593'}, 'P1532', 'Q37']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q6979593 . ?p property:P1532 resource:Q37 }
Lithuania women's national football team Lithuania women's national under-17 football team
And Lithuania women's national football team and Lithuania women's national under-17 football team represent Lithuania
Lithuania women's national football team Lithuania women's national under-17 football team
action filter_type
action find_reverse
entity Lithuania
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Lithuania']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:national_association_football_team . ?p property:country_for_sport resource:Lithuania }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1093060 Q19577239
P641
Q349
USER
Which sports did those national association football teams participate in ?
(Q1093060,P641,c(Q349)) (Q19577239,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
['Q1093060', 'P641', {'concept': 'Q349'}] ['Q19577239', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Q1093060 ) ( resource:Q19577239 ) } . ?m property:P641 ?h . ?h rdf:type ontology:Q349 }
Lithuania women's national football team Lithuania women's national under-17 football team
action filter_type
action find
entity prev_answer
relation sport
type sport
["Lithuania women's national football team", 'sport', {'concept': 'sport'}] ["Lithuania women's national under-17 football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Lithuania_women's_national_football_team ) ( resource:Lithuania_women's_national_under-17_football_team ) } . ?m property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q606060 Q606060
SYSTEM
women's association football
Q606060 Q606060
(Q1093060,P641,c(Q349)) (Q19577239,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
Those national association football teams participated in [ANSWER] and [ANSWER]
['Q1093060', 'P641', {'concept': 'Q349'}] ['Q19577239', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Q1093060 ) ( resource:Q19577239 ) } . ?m property:P641 ?h . ?h rdf:type ontology:Q349 }
women's association football women's association football
Those national association football teams participated in women's association football and women's association football
women's association football women's association football
action filter_type
action find
entity prev_answer
relation sport
type sport
["Lithuania women's national football team", 'sport', {'concept': 'sport'}] ["Lithuania women's national under-17 football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Lithuania_women's_national_football_team ) ( resource:Lithuania_women's_national_under-17_football_team ) } . ?m property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1093060
P54
Q502895
USER
Which people are one of the members of Lithuania women's national football team ?
(c(Q502895),P54,Q1093060)
action filter_type
action find_reverse
entity Q1093060
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q1093060']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P54 resource:Q1093060 }
Lithuania women's national football team
action filter_type
action find_reverse
entity Lithuania women's national football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Lithuania women's national football team"]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:member_of_sports_team resource:Lithuania_women's_national_football_team }
[]
common name
Q14776627 Q17591488
SYSTEM
Ieva Kibirkštis, Rita Mažukėlytė
Q14776627 Q17591488
(c(Q502895),P54,Q1093060)
action filter_type
action find_reverse
entity Q1093060
relation P54
type Q502895
[ANSWERS] are one of the members of Lithuania women's national football team
[{'concept': 'Q502895'}, 'P54', 'Q1093060']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P54 resource:Q1093060 }
Ieva Kibirkštis Rita Mažukėlytė
Ieva Kibirkštis and Rita Mažukėlytė are one of the members of Lithuania women's national football team
Ieva Kibirkštis Rita Mažukėlytė
action filter_type
action find_reverse
entity Lithuania women's national football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Lithuania women's national football team"]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:member_of_sports_team resource:Lithuania_women's_national_football_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q14776627
P106
Q12737077
USER
What does that person do for a living ?
(Q14776627,P106,c(Q12737077))
action filter_type
action find
entity Q14776627
relation P106
type Q12737077
['Q14776627', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q14776627 property:P106 ?y }
Ieva Kibirkštis
action filter_type
action find
entity Ieva Kibirkštis
relation occupation
type occupation
['Ieva Kibirkštis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Ieva_Kibirkštis property:occupation ?y }
[]
occupation
Clarification for simple ques.
Q17591488
SYSTEM
Did you mean Rita Mažukėlytė ?
Q14776627 Q17591488
(Q14776627,P106,c(Q12737077)) (Q17591488,P106,c(Q12737077))
[ANSWER]
['Q14776627', 'P106', {'concept': 'Q12737077'}] ['Q17591488', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q14776627 property:P106 ?y }
Ieva Kibirkštis Rita Mažukėlytė
Did you mean Rita Mažukėlytė ?
Rita Mažukėlytė
['Ieva Kibirkštis', 'occupation', {'concept': 'occupation'}] ['Rita Mažukėlytė', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Ieva_Kibirkštis property:occupation ?y }
[]
Simple Question (Coreferenced)
USER
No, I meant Ieva Kibirkštis. Could you tell me the answer for that?
(Q14776627,P106,c(Q12737077))
Q14776627
['Q14776627', 'P106', {'concept': 'Q12737077'}]
['Ieva Kibirkštis', 'occupation', {'concept': 'occupation'}]
[]
Q937857
SYSTEM
association football player
Q937857
(Q14776627,P106,c(Q12737077))
action filter_type
action find
entity Q14776627
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q14776627', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q14776627 property:P106 ?y }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Ieva Kibirkštis
relation occupation
type occupation
['Ieva Kibirkštis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Ieva_Kibirkštis property:occupation ?y }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12834857
P641
Q349 Q502895 Q13406554
USER
How many sports did more number of people or sport competitions participate in than strength training ?
(c(Q502895)|c(Q13406554),P641,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q12834857
relation P641
type Q502895
type Q13406554
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } . ?u rdf:type ?q } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P641 resource:Q12834857 . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q13406554 } } } } . FILTER ( ?e > ?j ) }
strength training
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity strength training
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:sport_competition ) } . ?u rdf:type ?q } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:sport resource:strength_training . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:sport_competition } } } } . FILTER ( ?e > ?j ) }
[]
sport common name sport competition
SYSTEM
100
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q7707 Q108429 Q171038 Q191051 Q17163326 Q206763 Q133201 Q847 Q902378 Q46241 Q83462 Q3372565 Q328716 Q131359 Q22857 Q11420 Q41323 Q7291 Q136851 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q8418 Q74542 Q1758324 Q40561 Q42486 Q2483334 Q2922870 Q41466 Q204632 Q627165 Q213796 Q182570 Q2302906 Q989473 Q2497700 Q231200 Q105674 Q215862 Q212845 Q1757181 Q43450 Q2284014 Q221635 Q2413978 Q1455 Q2215841 Q36908 Q1081491 Q389654 Q61465 Q185851 Q213711 Q271277 Q3177899 Q376040 Q5465793 Q3930 Q130949 Q20856109 Q16996906 Q213934 Q838781 Q26787631 Q201965 Q1541373 Q606060 Q134211 Q1734 Q31920 Q2701632 Q1875777 Q1358925 Q1748406 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q2736 Q178678 Q159992 Q3341285 Q210778 Q124100 Q2440459 Q429006
(c(Q502895)|c(Q13406554),P641,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q12834857
relation P641
type Q502895
type Q13406554
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } . ?u rdf:type ?q } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P641 resource:Q12834857 . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q13406554 } } } } . FILTER ( ?e > ?j ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running water polo archery softball windsurfing motorcycle racing floorball squash tennis equestrian sport drag racing weightlifting Kettlebell lifting motorcycle sport professional wrestling climbing judo American football badminton curling rallying rallycross basketball cricket golf shooting sport baseball handball para-alpine skiing stock car racing sumo wrestling Valencian pilota boxe ice hockey Gaelic football Harri-jasotze powerlifting discus throw Box lacrosse international draughts Aizkolaritza netball running motocross Basque pelota paralympic athletics gymnastics Contact sport track cycling paralympic swimming field hockey cycle sport mountaineering football Greco-Roman wrestling rhythmic gymnastics lacrosse hurling Savate bowling wakeboarding CP football table tennis skiing canoeing Indoor American football canoeing and kayaking eventing K-1 Nordic combined sport climbing women's association football polo volleyball swimming muggle quidditch air racing speed skiing roller hockey (quad) bandy hockey Chilean rodeo pankration bobsleigh boxing association football kick boxing surfing cue sports beach soccer bodybuilding wheelchair fencing Duathlon
100
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity strength training
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:sport_competition ) } . ?u rdf:type ?q } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:sport resource:strength_training . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:sport_competition } } } } . FILTER ( ?e > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1899731
P641
Q349 Q502895 Q13406554
USER
And what about Frisian handball?
(c(Q502895)|c(Q13406554),P641,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q1899731
relation P641
type Q502895
type Q13406554
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?a ) WHERE { { ?i rdf:type ontology:Q349 . ?o rdf:type ontology:Q502895 . ?o property:P641 ?i } UNION { ?o property:P641 ?i . ?i rdf:type ontology:Q349 . ?o rdf:type ontology:Q13406554 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P641 resource:Q1899731 . { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?a > ?y ) }
Frisian handball
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity Frisian handball
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?a ) WHERE { { ?i rdf:type ontology:sport . ?o rdf:type ontology:common_name . ?o property:sport ?i } UNION { ?o property:sport ?i . ?i rdf:type ontology:sport . ?o rdf:type ontology:sport_competition } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:sport resource:Frisian_handball . { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:sport_competition ) } } } } . FILTER ( ?a > ?y ) }
[]
sport common name sport competition
SYSTEM
144
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q3337306 Q7707 Q108429 Q171038 Q191051 Q17163326 Q206763 Q133201 Q847 Q902378 Q1761866 Q1148620 Q601972 Q46241 Q83462 Q3372565 Q208607 Q961015 Q328716 Q131359 Q22857 Q657196 Q11420 Q41323 Q7291 Q738622 Q136851 Q2887217 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1758324 Q1457676 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 Q850256 Q204632 Q627165 Q393808 Q213796 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q43450 Q6034982 Q12834857 Q2284014 Q221635 Q2413978 Q13108218 Q4851143 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q2360406 Q20856109 Q16996906 Q213934 Q838781 Q26787631 Q201965 Q647559 Q1541373 Q606060 Q1150656 Q134211 Q1734 Q31920 Q6140386 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q2736 Q178678 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q502895)|c(Q13406554),P641,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q1899731
relation P641
type Q502895
type Q13406554
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?a ) WHERE { { ?i rdf:type ontology:Q349 . ?o rdf:type ontology:Q502895 . ?o property:P641 ?i } UNION { ?o property:P641 ?i . ?i rdf:type ontology:Q349 . ?o rdf:type ontology:Q13406554 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P641 resource:Q1899731 . { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?a > ?y ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running yachting water polo archery softball windsurfing motorcycle racing floorball squash tennis equestrian sport puroresu Finswimming Camogie drag racing weightlifting Kettlebell lifting kung fu women's boxing motorcycle sport professional wrestling climbing medley swimming judo American football badminton dancesport curling women's basketball rallying rallycross basketball cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing stock car racing rackets tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque ice hockey shinty Gaelic football Harri-jasotze Dog agility powerlifting discus throw Box lacrosse international draughts harness racing Aizkolaritza netball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football gymnastics Inline skating strength training Contact sport track cycling paralympic swimming gymnastics balkline and straight rail field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse gliding relay race hurling Savate bowling wakeboarding CP football table tennis jeu de paume Sledge hockey fell running skiing real tennis canoeing Indoor American football canoeing and kayaking eventing K-1 Nordic combined Goalball sport climbing women's association football wheelchair curling polo volleyball swimming Kitō-ryū rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing association football kick boxing Kalari surfing combined track and field events cue sports beach soccer Kart racing winter sport pallone bodybuilding wheelchair fencing Duathlon
144
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity Frisian handball
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?a ) WHERE { { ?i rdf:type ontology:sport . ?o rdf:type ontology:common_name . ?o property:sport ?i } UNION { ?o property:sport ?i . ?i rdf:type ontology:sport . ?o rdf:type ontology:sport_competition } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:sport resource:Frisian_handball . { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:sport_competition ) } } } } . FILTER ( ?a > ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q838948 Q3305213
USER
How many occupations are depicted in atmost 5 works of art or paintings ?
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 5
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?p WHERE { { ?p rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q838948 . ?d property:P180 ?p } UNION { ?d property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q3305213 } } GROUP BY ?p } . FILTER ( ?o <= 5 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 5
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?p WHERE { { ?p rdf:type ontology:occupation . ?d rdf:type ontology:work_of_art . ?d property:depicts ?p } UNION { ?d property:depicts ?p . ?p rdf:type ontology:occupation . ?d rdf:type ontology:painting } } GROUP BY ?p } . FILTER ( ?o <= 5 ) }
[]
occupation work of art painting
SYSTEM
222
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 5
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?p WHERE { { ?p rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q838948 . ?d property:P180 ?p } UNION { ?d property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q3305213 } } GROUP BY ?p } . FILTER ( ?o <= 5 ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer fisherman baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
222
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 5
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?p WHERE { { ?p rdf:type ontology:occupation . ?d rdf:type ontology:work_of_art . ?d property:depicts ?p } UNION { ?d property:depicts ?p . ?p rdf:type ontology:occupation . ?d rdf:type ontology:painting } } GROUP BY ?p } . FILTER ( ?o <= 5 ) }
[]