Simple Question (Direct)
Simple Question
Q246390
P641
Q349
USER
What did Vladimir Kondra participate in ?
(Q246390,P641,c(Q349))
action filter_type
action find
entity Q246390
relation P641
type Q349
['Q246390', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q246390 property:P641 ?k . ?k rdf:type ontology:Q349 }
Vladimir Kondra
action filter_type
action find
entity Vladimir Kondra
relation sport
type sport
['Vladimir Kondra', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Vladimir_Kondra property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q1734
SYSTEM
volleyball
Q1734
(Q246390,P641,c(Q349))
action filter_type
action find
entity Q246390
relation P641
type Q349
Vladimir Kondra participated in [ANSWER]
['Q246390', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q246390 property:P641 ?k . ?k rdf:type ontology:Q349 }
volleyball
Vladimir Kondra participated in volleyball
volleyball
action filter_type
action find
entity Vladimir Kondra
relation sport
type sport
['Vladimir Kondra', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Vladimir_Kondra property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1734
P425
Q12737077
USER
Which occupations do that sport belong to ?
(c(Q12737077),P425,Q1734)
action filter_type
action find_reverse
entity Q1734
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q1734']
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q1734 . ?k rdf:type ontology:Q12737077 }
volleyball
action filter_type
action find_reverse
entity volleyball
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'volleyball']
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:volleyball . ?k rdf:type ontology:occupation }
[]
occupation
Q20730881 Q15117302
SYSTEM
volleyball coach, volleyball player
Q20730881 Q15117302
(c(Q12737077),P425,Q1734)
action filter_type
action find_reverse
entity Q1734
relation P425
type Q12737077
That sport belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q1734']
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q1734 . ?k rdf:type ontology:Q12737077 }
volleyball coach volleyball player
That sport belong to volleyball coach and volleyball player
volleyball coach volleyball player
action filter_type
action find_reverse
entity volleyball
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'volleyball']
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:volleyball . ?k rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2736 Q1734
P641
Q502895
USER
Which people play volleyball and association football ?
AND((c(Q502895),P641,Q1734), (c(Q502895),P641,Q2736))
action filter_type
action intersection
action find_reverse
entity Q1734
relation P641
action find_reverse
entity Q2736
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q1734'], [{'concept': 'Q502895'}, 'P641', 'Q2736']]}
SELECT DISTINCT ?z WHERE { ?z property:P641 resource:Q1734 . ?z property:P641 resource:Q2736 . ?z rdf:type ontology:Q502895 }
association football volleyball
action filter_type
action intersection
action find_reverse
entity volleyball
relation sport
action find_reverse
entity association football
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'volleyball'], [{'concept': 'common name'}, 'sport', 'association football']]}
SELECT DISTINCT ?z WHERE { ?z property:sport resource:volleyball . ?z property:sport resource:association_football . ?z rdf:type ontology:common_name }
[]
common name
Q106387
SYSTEM
Stefan Kießling
Q106387
AND((c(Q502895),P641,Q1734), (c(Q502895),P641,Q2736))
action filter_type
action intersection
action find_reverse
entity Q1734
relation P641
action find_reverse
entity Q2736
relation P641
type Q502895
Player [ANSWER] play volleyball and association football
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q1734'], [{'concept': 'Q502895'}, 'P641', 'Q2736']]}
SELECT DISTINCT ?z WHERE { ?z property:P641 resource:Q1734 . ?z property:P641 resource:Q2736 . ?z rdf:type ontology:Q502895 }
Stefan Kießling
Player Stefan Kießling play volleyball and association football
Stefan Kießling
action filter_type
action intersection
action find_reverse
entity volleyball
relation sport
action find_reverse
entity association football
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'volleyball'], [{'concept': 'common name'}, 'sport', 'association football']]}
SELECT DISTINCT ?z WHERE { ?z property:sport resource:volleyball . ?z property:sport resource:association_football . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q106387
P21
Q290
USER
Which sex does that person possess ?
(Q106387,P21,c(Q290))
action filter_type
action find
entity Q106387
relation P21
type Q290
['Q106387', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q106387 property:P21 ?l . ?l rdf:type ontology:Q290 }
Stefan Kießling
action filter_type
action find
entity Stefan Kießling
relation gender
type sex
['Stefan Kießling', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Stefan_Kießling property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q106387,P21,c(Q290))
action filter_type
action find
entity Q106387
relation P21
type Q290
That person possesses a [ANSWER]
['Q106387', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q106387 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Stefan Kießling
relation gender
type sex
['Stefan Kießling', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Stefan_Kießling property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q106387
P54
Q1194951
USER
Which national sports teams are Stefan Kießling a member of ?
(Q106387,P54,c(Q1194951))
action filter_type
action find
entity Q106387
relation P54
type Q1194951
['Q106387', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q106387 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Stefan Kießling
action filter_type
action find
entity Stefan Kießling
relation member of sports team
type national sports team
['Stefan Kießling', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Stefan_Kießling property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
national sports team
Q43310 Q822990
SYSTEM
Germany national football team, Germany national football B team
Q43310 Q822990
(Q106387,P54,c(Q1194951))
action filter_type
action find
entity Q106387
relation P54
type Q1194951
The [ANSWERS] are Stefan Kießling a member of
['Q106387', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q106387 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Germany national football team Germany national football B team
The Germany national football team and Germany national football B team are Stefan Kießling a member of
Germany national football team Germany national football B team
action filter_type
action find
entity Stefan Kießling
relation member of sports team
type national sports team
['Stefan Kießling', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Stefan_Kießling property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4802822
Q1194951
USER
And what about Arūnas Šuika?
(Q4802822,P54,c(Q1194951))
action filter_type
action find
entity Q4802822
relation P54
type Q1194951
['Q4802822', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q4802822 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Arūnas Šuika
action filter_type
action find
entity Arūnas Šuika
relation member of sports team
type national sports team
['Arūnas Šuika', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Arūnas_Šuika property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
national sports team
Q186276
SYSTEM
Lithuania national football team
Q186276
(Q4802822,P54,c(Q1194951))
action filter_type
action find
entity Q4802822
relation P54
type Q1194951
[ANSWER]
['Q4802822', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q4802822 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Lithuania national football team
Lithuania national football team
action filter_type
action find
entity Arūnas Šuika
relation member of sports team
type national sports team
['Arūnas Šuika', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Arūnas_Šuika property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q33999 Q246390
P106 P22
Q502895
USER
Which people have Vladimir Kondra as dad and have a job as actor ?
AND((c(Q502895),P22,Q246390), (c(Q502895),P106,Q33999))
action filter_type
action intersection
action find_reverse
entity Q246390
relation P22
action find_reverse
entity Q33999
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q246390'], [{'concept': 'Q502895'}, 'P106', 'Q33999']]}
SELECT DISTINCT ?l WHERE { ?l property:P106 resource:Q33999 . ?l property:P22 resource:Q246390 . ?l rdf:type ontology:Q502895 }
actor Vladimir Kondra
action filter_type
action intersection
action find_reverse
entity Vladimir Kondra
relation father
action find_reverse
entity actor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Vladimir Kondra'], [{'concept': 'common name'}, 'occupation', 'actor']]}
SELECT DISTINCT ?l WHERE { ?l property:occupation resource:actor . ?l property:father resource:Vladimir_Kondra . ?l rdf:type ontology:common_name }
[]
common name
Q4230533
SYSTEM
Valeriya Kondra
Q4230533
AND((c(Q502895),P22,Q246390), (c(Q502895),P106,Q33999))
action filter_type
action intersection
action find_reverse
entity Q246390
relation P22
action find_reverse
entity Q33999
relation P106
type Q502895
[ANSWER] have Vladimir Kondra as dad and have a job as actor
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q246390'], [{'concept': 'Q502895'}, 'P106', 'Q33999']]}
SELECT DISTINCT ?l WHERE { ?l property:P106 resource:Q33999 . ?l property:P22 resource:Q246390 . ?l rdf:type ontology:Q502895 }
Valeriya Kondra
Valeriya Kondra have Vladimir Kondra as dad and have a job as actor
Valeriya Kondra
action filter_type
action intersection
action find_reverse
entity Vladimir Kondra
relation father
action find_reverse
entity actor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Vladimir Kondra'], [{'concept': 'common name'}, 'occupation', 'actor']]}
SELECT DISTINCT ?l WHERE { ?l property:occupation resource:actor . ?l property:father resource:Vladimir_Kondra . ?l rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q4096274
P725
Q502895 Q1001378
USER
How many cinematic techniques did less number of people do the dubbing for than The Bremen Town Musicians ?
(c(Q1001378),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q4096274
relation P725
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q4096274 property:P725 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?c < ?m ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?c ) WHERE { ?a property:P725 ?y . ?y rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1001378 } GROUP BY ?a } }
The Bremen Town Musicians
action count
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity The Bremen Town Musicians
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:The_Bremen_Town_Musicians property:voice_actor ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?c < ?m ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?c ) WHERE { ?a property:voice_actor ?y . ?y rdf:type ontology:common_name . ?a rdf:type ontology:cinematic_technique } GROUP BY ?a } }
[]
common name cinematic technique
SYSTEM
14
Q562140 Q221679 Q908816 Q3623997 Q170035 Q2613318 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q656396 Q187266 Q104905
(c(Q1001378),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q4096274
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q4096274 property:P725 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?c < ?m ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?c ) WHERE { ?a property:P725 ?y . ?y rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1001378 } GROUP BY ?a } }
Yobi, the Five Tailed Fox Meet the Robinsons The Secret of Kells FernGully 2: The Magical Rescue Ratatouille Garfield's Fun Fest The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 WALL•E
14
action count
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity The Bremen Town Musicians
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:The_Bremen_Town_Musicians property:voice_actor ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?c < ?m ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?c ) WHERE { ?a property:voice_actor ?y . ?y rdf:type ontology:common_name . ?a rdf:type ontology:cinematic_technique } GROUP BY ?a } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q11204 Q701632 Q12737077
USER
Which occupations did around 1 legislatures or municipal councils appoint ?
(c(Q12737077),P748,c(Q11204)|c(Q701632))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q701632
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) ?r WHERE { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:Q11204 ) ( ontology:Q701632 ) } } GROUP BY ?r } . FILTER ( ?k = 1 ) }
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type municipal council
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) ?r WHERE { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:legislature ) ( ontology:municipal_council ) } } GROUP BY ?r } . FILTER ( ?k = 1 ) }
[]
legislature municipal council occupation
Q655407 Q4122271 Q26000995
SYSTEM
President of the People's Republic of China, Premier of the People's Republic of China, President of the Parliament of Catalonia
Q20748656 Q20890913 Q11793630 Q21371106 Q21013169 Q20872382 Q20872273 Q655407 Q20891385 Q21384866 Q596123 Q20194364 Q21383592 Q1043568 Q20859388 Q20867550 Q866680 Q20872296 Q26000995 Q4122271 Q20872339 Q26209358 Q20992515 Q26721218
(c(Q12737077),P748,c(Q11204)|c(Q701632))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q701632
value 1
Around 1 legislatures or municipal councils appointed by [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) ?r WHERE { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:Q11204 ) ( ontology:Q701632 ) } } GROUP BY ?r } . FILTER ( ?k = 1 ) }
municipal executive of Zoetermeer municipal executive of Eindhoven governor of national banks of Serbia and Yugoslavia municipal executive of Amersfoort municipal executive of The Hague municipal executive of Coevorden municipal executive of Boxmeer President of the People's Republic of China municipal executive of Deventer municipal executive of Rotterdam president of Bangladesh municipal executive of Amsterdam municipal executive of Haarlem Prime Minister of Vietnam municipal executive of Mierlo municipal executive of Gorinchem President of Vietnam municipal executive of Almere President of the Parliament of Catalonia Premier of the People's Republic of China municipal executive of Woerden municipal executive of Warffum municipal executive of Utrecht municipal executive of Almere
Around 1 legislatures or municipal councils appointed by President of the People's Republic of China, Premier of the People's Republic of China and President of the Parliament of Catalonia
President of the People's Republic of China Premier of the People's Republic of China President of the Parliament of Catalonia
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type municipal council
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) ?r WHERE { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:legislature ) ( ontology:municipal_council ) } } GROUP BY ?r } . FILTER ( ?k = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q1792379 Q838948
USER
How many occupations are depicted in atleast 2 art genres and works of art ?
(c(Q1792379)|c(Q838948),P180,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 2
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q1792379 } UNION { ?c property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q838948 } } GROUP BY ?x } . FILTER ( ?a >= 2 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 2
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:depicts ?x . ?x rdf:type ontology:occupation . ?c rdf:type ontology:art_genre } UNION { ?c property:depicts ?x . ?x rdf:type ontology:occupation . ?c rdf:type ontology:work_of_art } } GROUP BY ?x } . FILTER ( ?a >= 2 ) }
[]
occupation art genre work of art
SYSTEM
21
Q1250916 Q81710 Q47064 Q12902372 Q1028181 Q12059906 Q19546 Q4991371 Q3127709 Q1639825 Q45722 Q2730732 Q5716684 Q3128486 Q2309784 Q838811 Q331432 Q639669 Q49757 Q1281618 Q39631
(c(Q1792379)|c(Q838948),P180,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 2
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q1792379 } UNION { ?c property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q838948 } } GROUP BY ?x } . FILTER ( ?a >= 2 ) }
warrior shepherd military personnel flautist painter herder pope soldier harpist blacksmith cardinal equestrian dancer high-ranking civil servant in France sport cyclist peasant fisherman musician poet sculptor physician
21
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 2
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:depicts ?x . ?x rdf:type ontology:occupation . ?c rdf:type ontology:art_genre } UNION { ?c property:depicts ?x . ?x rdf:type ontology:occupation . ?c rdf:type ontology:work_of_art } } GROUP BY ?x } . FILTER ( ?a >= 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q44248
P417
Q502895 Q12737077
USER
How many people are the patron saints of lesser number of occupations than Jerome ?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q44248
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P417 ?r . ?r rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P417 resource:Q44248 . ?q rdf:type ontology:Q12737077 } } . FILTER ( ?i < ?u ) }
Jerome
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Jerome
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:patron_saint ?r . ?r rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:patron_saint resource:Jerome . ?q rdf:type ontology:occupation } } . FILTER ( ?i < ?u ) }
[]
common name occupation
SYSTEM
304
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q163900 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q44248
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P417 ?r . ?r rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P417 resource:Q44248 . ?q rdf:type ontology:Q12737077 } } . FILTER ( ?i < ?u ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Saint Roch Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Saint Francis Xavier Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Vitus Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
304
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Jerome
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:patron_saint ?r . ?r rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:patron_saint resource:Jerome . ?q rdf:type ontology:occupation } } . FILTER ( ?i < ?u ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q186276
P54 P21
Q502895
USER
Which people are one of the members of Lithuania national football team and have male as the sex ?
AND((c(Q502895),P54,Q186276), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q186276
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q186276'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P21 resource:Q6581097 . ?y property:P54 resource:Q186276 }
male Lithuania national football team
action filter_type
action intersection
action find_reverse
entity Lithuania national football team
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Lithuania national football team'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:gender resource:male . ?y property:member_of_sports_team resource:Lithuania_national_football_team }
[]
common name
Q20050554 Q49639 Q2080981 Q4077668 Q380024 Q338550 Q7818345 Q2039170 Q682419 Q2528021
SYSTEM
Some of them are Vykintas Slivka, Artūras Rimkevičius, Darius Maciulevičius, Stasys Baranauskas, Edgaras Jankauskas, Markus Palionis, Tomas Žiukas, Vidmantas Vyšniauskas, Linas Pilibaitis, Vyacheslav Sukristov
Q2059472 Q10471910 Q5337547 Q2641042 Q2466682 Q5415257 Q155484 Q7944012 Q1999515 Q10504131 Q2483130 Q5563277 Q4820208 Q4724236 Q561376 Q9258450 Q4979250 Q3932422 Q3759192 Q1395249 Q14912130 Q983975 Q4077668 Q9146527 Q9019668 Q1398076 Q512004 Q2483105 Q1395233 Q2080981 Q16452758 Q2064714 Q1999497 Q3720334 Q498063 Q2001038 Q983786 Q557854 Q9368112 Q781971 Q3629847 Q2039170 Q2757231 Q2445531 Q2574994 Q15610017 Q15577730 Q16455435 Q4399853 Q7351549 Q394372 Q496603 Q5620552 Q1232843 Q1855973 Q381401 Q1291574 Q921051 Q2058620 Q1395261 Q380028 Q4292944 Q5763678 Q380021 Q471660 Q2761089 Q5977477 Q719258 Q983007 Q983000 Q49639 Q12664647 Q2719818 Q2483069 Q957167 Q4801963 Q2739542 Q403933 Q2059482 Q4292970 Q2976570 Q2337655 Q16606341 Q552262 Q7908696 Q6490102 Q2656866 Q4443065 Q7427370 Q2562716 Q5222961 Q3629516 Q15975839 Q6765987 Q2488351 Q5349548 Q471674 Q8667562 Q972091 Q2025016 Q7908312 Q952422 Q2055491 Q20050554 Q5618414 Q7599095 Q458558 Q2007525 Q5761997 Q982988 Q2097093 Q2662566 Q4792882 Q2558754 Q2070464 Q2739540 Q5559768 Q5761210 Q5765068 Q736783 Q5761514 Q240816 Q4334459 Q11238150 Q2494982 Q2698154 Q610321 Q7818345 Q981664 Q380024 Q1165981 Q669823 Q937464 Q5765747 Q2576883 Q5347963 Q512135 Q2447868 Q5209506 Q2759609 Q2080894 Q5762637 Q682419 Q2064767 Q7284389 Q5209508 Q338444 Q775507 Q3807356 Q2528021 Q2805658 Q983004 Q557942 Q16526566 Q4759370 Q717583 Q1750901 Q4759374 Q1118818 Q4274414 Q4015855 Q167225 Q2345296 Q2068174 Q280448 Q5761422 Q14405845 Q16636551 Q166642 Q907722 Q7351553 Q776281 Q589132 Q428108 Q7674345 Q458604 Q16449805 Q338550 Q4802822 Q3044793 Q1656854 Q126406
AND((c(Q502895),P54,Q186276), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q186276
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are one of the members of Lithuania national football team and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q186276'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P21 resource:Q6581097 . ?y property:P54 resource:Q186276 }
Giedrius Tomkevičius Marius Poškus Edgaras Tumasonis Vitalijus Kavaliauskas Tomas Mikuckis Evaldas Razulis Valdas Ivanauskas Vytautas Apanavičius Karolis Jasaitis Vidas Dančenka Marius Skinderis Gintaras Kvitkauskas Audrius Žuta Algimantas Briaunis Virginijus Baltušnikas Vaidas Šilėnas Emilijus Zubas Remigijus Pocius Gedas Butrimavičius Saulius Klevinskas Gratas Sirgėdas Giedrius Arlauskis Stasys Baranauskas Mantas Kuklys Egidijus Vaitkūnas Gražvydas Mikulėnas Andrius Jokšas Donatas Vencevičius Gediminas Paulauskas Darius Maciulevičius Igoris Kirilovas Vidas Alunderis Darius Žutautas Egidijus Žukauskas Vaidotas Šlekys Egidijus Juška Ignas Dedura Edgaras Česnauskis Valdemar Borovskij Tadas Kijanskas Aurimas Vilkaitis Vidmantas Vyšniauskas Vytautas Andriuškevičius Valdemaras Martinkėnas Tomas Daumantas Artūras Žulpa Nerijus Valskis Karolis Chvedukas Kęstutis Ruzgys Robertas Fridrikas Žydrūnas Karčemarskas Ernestas Šetkus Rimantas Žvingilas Dmitrijus Guščinas Mindaugas Panka Tomas Danilevičius Steponas Darius Dainius Gleveckas Andrius Arlauskas Irmantas Zelmikas Deividas Šemberas Arūnas Mika Tomas Kančelskis Marius Stankevičius Marius Bezykornovas Mindaugas Grigalevičius Tadas Eliošius Arūnas Klimavičius Mindaugas Kalonas Tomas Žvirgždauskas Artūras Rimkevičius Martynas Dapkus Eduardas Kurskis Ramūnas Radavičius Valdas Trakys Artūras Fomenka Darius Regelskis Aidas Preikšaitis Egidijus Varnas Saulius Mikalajūnas Nerijus Barasa Laurynas Rimavičius Simonas Stankevičius Dominykas Galkevičius Vaidas Žutautas Larry Cohen Kęstutis Ivaškevičius Ramūnas Stonkus Saulius Atmanavičius Nerijus Vasiliauskas Darius Sanajevas Audrius Šlekys Deimantas Petravičius Marius Papšys Ričardas Beniušis Eimantas Poderis Nerijus Radžius Valerijonas Balčiūnas Gediminas Vičius Igoris Pankratjevas Vadimas Petrenko Vaidas Slavickas Tomas Ražanauskas Vykintas Slivka Tomas Ramelis Stanislovas Vitkovskis Arminas Narbekovas Tomas Radzinevičius Mantas Fridrikas Saulius Mikoliūnas Povilas Lukšys Tomas Tamošauskas Armantas Vitkauskas Darius Miceika Irmantas Stumbrys Modestas Stonys Giedrius Žutautas Igoris Steško Artūras Steško Gintaras Staučė Raimondas Vilėniškis Paulius Grybauskas Viktoras Olšanskis Georgas Freidgeimas Linas Klimavičius Deimantas Bička Mantas Savėnas Tomas Žiukas Darvydas Šernas Edgaras Jankauskas Darius Gvildys Audrius Kšanavičius Igoris Morinas Orestas Buitkus Vytautas Lukša Egidijus Majus Andrius Velička Raimondas Žutautas Dainius Saulėnas Rolandas Džiaukštas Deivydas Matulevičius Povilas Leimonas Linas Pilibaitis Mantas Samusiovas Raimondas Vainoras Dainius Šuliauskas Antanas Lingis Aurelijus Skarbalius Jaroslavas Citavičius Vyacheslav Sukristov Algis Jankauskas Robertas Poškus Deividas Česnauskis Andrius Petreikis Andrius Puotkalis Arvydas Novikovas Romas Čirba Andrius Upstas Andrėjus Tereškinas Romas Mažeikis Vladimiras Buzmakovas Marius Žaliūkas Tadas Labukas Valerijus Mižigurskis Vytautas Černiauskas Pavelas Leusas Lukas Spalvis Edvinas Gertmonas Tadas Papečkys Mindaugas Malinauskas Robertas Ringys Aurimas Kučys Romualdas Marcinkus Alfredas Skroblas Tadas Gražiūnas Andrius Skerla Donatas Kazlauskas Markus Palionis Arūnas Šuika Giedrius Barevičius Fiodor Cernych Nerijus Astrauskas
Vykintas Slivka, Artūras Rimkevičius, Darius Maciulevičius, Stasys Baranauskas, Edgaras Jankauskas, Markus Palionis, Tomas Žiukas, Vidmantas Vyšniauskas, Linas Pilibaitis and Vyacheslav Sukristov are one of the members of Lithuania national football team and have male as the sex
Vykintas Slivka Artūras Rimkevičius Darius Maciulevičius Stasys Baranauskas Edgaras Jankauskas Markus Palionis Tomas Žiukas Vidmantas Vyšniauskas Linas Pilibaitis Vyacheslav Sukristov
action filter_type
action intersection
action find_reverse
entity Lithuania national football team
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Lithuania national football team'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:gender resource:male . ?y property:member_of_sports_team resource:Lithuania_national_football_team }
[]