Simple Question (Direct)
Simple Question
Q27347754
P641
Q349
USER
Which sport was 1970 All England Badminton Championships – Women's doubles a part of ?
(Q27347754,P641,c(Q349))
action filter_type
action find
entity Q27347754
relation P641
type Q349
['Q27347754', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q27347754 property:P641 ?z . ?z rdf:type ontology:Q349 }
1970 All England Badminton Championships – Women's doubles
action filter_type
action find
entity 1970 All England Badminton Championships – Women's doubles
relation sport
type sport
["1970 All England Badminton Championships – Women's doubles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:1970_All_England_Badminton_Championships_–_Women's_doubles property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27347754,P641,c(Q349))
action filter_type
action find
entity Q27347754
relation P641
type Q349
1970 All England [ANSWER] Championships – Women's doubles a part of was her [ANSWER]
['Q27347754', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q27347754 property:P641 ?z . ?z rdf:type ontology:Q349 }
badminton
1970 All England Badminton Championships – Women's doubles a part of was her badminton
badminton
action filter_type
action find
entity 1970 All England Badminton Championships – Women's doubles
relation sport
type sport
["1970 All England Badminton Championships – Women's doubles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:1970_All_England_Badminton_Championships_–_Women's_doubles property:sport ?z . ?z rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P366
Q349 Q39546 Q41176
USER
How many sports are considered to be the main utilization of approximately the same number of tools and buildings as that sport ?
(c(Q39546)|c(Q41176),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q39546
type Q41176
[[{'concept': 'Q39546'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?b ) { ( ontology:Q41176 ) ( ontology:Q39546 ) } . ?v rdf:type ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { VALUES ( ?d ) { ( ontology:Q39546 ) ( ontology:Q41176 ) } . ?u rdf:type ?d } . ?u property:P366 resource:Q7291 } } . FILTER ( ?q = ?a ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type tool
type building
[[{'concept': 'tool'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?b ) { ( ontology:building ) ( ontology:tool ) } . ?v rdf:type ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { VALUES ( ?d ) { ( ontology:tool ) ( ontology:building ) } . ?u rdf:type ?d } . ?u property:use resource:badminton } } . FILTER ( ?q = ?a ) }
[]
sport tool building
SYSTEM
21
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q1194269 Q41323 Q7291
(c(Q39546)|c(Q41176),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q39546
type Q41176
[ANSWER]
[[{'concept': 'Q39546'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?b ) { ( ontology:Q41176 ) ( ontology:Q39546 ) } . ?v rdf:type ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { VALUES ( ?d ) { ( ontology:Q39546 ) ( ontology:Q41176 ) } . ?u rdf:type ?d } . ?u property:P366 resource:Q7291 } } . FILTER ( ?q = ?a ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball association football water sport tennis harness racing American football badminton
21
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type tool
type building
[[{'concept': 'tool'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?b ) { ( ontology:building ) ( ontology:tool ) } . ?v rdf:type ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { VALUES ( ?d ) { ( ontology:tool ) ( ontology:building ) } . ?u rdf:type ?d } . ?u property:use resource:badminton } } . FILTER ( ?q = ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27347754
P1344
Q502895
USER
Which people took part in 1970 All England Badminton Championships – Women's doubles ?
(c(Q502895),P1344,Q27347754)
action filter_type
action find_reverse
entity Q27347754
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q27347754']
SELECT DISTINCT ?b WHERE { ?b property:P1344 resource:Q27347754 . ?b rdf:type ontology:Q502895 }
1970 All England Badminton Championships – Women's doubles
action filter_type
action find_reverse
entity 1970 All England Badminton Championships – Women's doubles
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "1970 All England Badminton Championships – Women's doubles"]
SELECT DISTINCT ?b WHERE { ?b property:participant_of resource:1970_All_England_Badminton_Championships_–_Women's_doubles . ?b rdf:type ontology:common_name }
[]
common name
Q275164 Q1379523 Q2368977
SYSTEM
Gillian Gilks, Eva Twedberg, Susan Whetnall
Q1882672 Q275164 Q1660507 Q748293 Q1379523 Q1550459 Q1621863 Q2368977
(c(Q502895),P1344,Q27347754)
action filter_type
action find_reverse
entity Q27347754
relation P1344
type Q502895
[ANSWERS] took part in 1970 All England Badminton Championships – Women's doubles
[{'concept': 'Q502895'}, 'P1344', 'Q27347754']
SELECT DISTINCT ?b WHERE { ?b property:P1344 resource:Q27347754 . ?b rdf:type ontology:Q502895 }
Machiko Aizawa Gillian Gilks Imre Rietveld Nielsen Etsuko Toganoo Eva Twedberg Margaret Boxall Julie Rickard Susan Whetnall
Gillian Gilks, Eva Twedberg and Susan Whetnall took part in 1970 All England Badminton Championships – Women's doubles
Gillian Gilks Eva Twedberg Susan Whetnall
action filter_type
action find_reverse
entity 1970 All England Badminton Championships – Women's doubles
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "1970 All England Badminton Championships – Women's doubles"]
SELECT DISTINCT ?b WHERE { ?b property:participant_of resource:1970_All_England_Badminton_Championships_–_Women's_doubles . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q275164 Q1379523 Q2368977
P710
Q1396170
USER
Which All England Badminton Championshipss have Gillian Gilks, Eva Twedberg and Susan Whetnall as their participant ?
(c(Q1396170),P710,Q275164) (c(Q1396170),P710,Q1379523) (c(Q1396170),P710,Q2368977)
action union
action filter_type
action find_reverse
entity Q275164
relation P710
type Q1396170
action filter_type
action find_reverse
entity Q1379523
relation P710
type Q1396170
action filter_type
action find_reverse
entity Q2368977
relation P710
type Q1396170
[{'concept': 'Q1396170'}, 'P710', 'Q275164'] [{'concept': 'Q1396170'}, 'P710', 'Q1379523'] [{'concept': 'Q1396170'}, 'P710', 'Q2368977']
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Q275164 ) ( resource:Q1379523 ) } . ?m property:P710 ?l }
Gillian Gilks Eva Twedberg Susan Whetnall
action union
action filter_type
action find_reverse
entity Gillian Gilks
relation participant
type All England Badminton Championships
action filter_type
action find_reverse
entity Eva Twedberg
relation participant
type All England Badminton Championships
action filter_type
action find_reverse
entity Susan Whetnall
relation participant
type All England Badminton Championships
[{'concept': 'All England Badminton Championships'}, 'participant', 'Gillian Gilks'] [{'concept': 'All England Badminton Championships'}, 'participant', 'Eva Twedberg'] [{'concept': 'All England Badminton Championships'}, 'participant', 'Susan Whetnall']
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Gillian_Gilks ) ( resource:Eva_Twedberg ) } . ?m property:participant ?l }
[]
All England Badminton Championships
Q27348500 Q27348502 Q27348473
SYSTEM
1973 All England Badminton Championships – Mixed doubles, 1974 All England Badminton Championships – Mixed doubles, 1969 All England Badminton Championships – Mixed doubles
Q27347798 Q27348548 Q27348540 Q27348500 Q27348502 Q27348516 Q27348521 Q27340368 Q27340364 Q27340377 Q27340354 Q27348479 Q27348473 Q27348475 Q27340387 Q27348482 Q27347754 Q27347746 Q27347772 Q27347770 Q27347778 Q27347765 Q27347761 Q27347801 Q27340348 Q27340322 Q27340342 Q27347754 Q27348502 Q27348473 Q27348475 Q27348468 Q27347754 Q27347750 Q27347772 Q27347778
(c(Q1396170),P710,Q275164) (c(Q1396170),P710,Q1379523) (c(Q1396170),P710,Q2368977)
action union
action filter_type
action find_reverse
entity Q275164
relation P710
type Q1396170
action filter_type
action find_reverse
entity Q1379523
relation P710
type Q1396170
action filter_type
action find_reverse
entity Q2368977
relation P710
type Q1396170
1973 All England Badminton Championships – mixed doubles, 1974 All England Badminton Championships – mixed doubles and 1969 All England Badminton Championships – mixed doubles have Gillian Gilks, Eva Twedberg and Susan Whetnall as their participant
[{'concept': 'Q1396170'}, 'P710', 'Q275164'] [{'concept': 'Q1396170'}, 'P710', 'Q1379523'] [{'concept': 'Q1396170'}, 'P710', 'Q2368977']
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Q275164 ) ( resource:Q1379523 ) } . ?m property:P710 ?l }
1980 All England Badminton Championships – Women's doubles 1984 All England Badminton Championships – Mixed doubles 1982 All England Badminton Championships – Mixed doubles 1973 All England Badminton Championships – Mixed doubles 1974 All England Badminton Championships – Mixed doubles 1976 All England Badminton Championships – Mixed doubles 1977 All England Badminton Championships – Mixed doubles 1975 All England Badminton Championships – Women's singles 1974 All England Badminton Championships – Women's singles 1976 All England Badminton Championships – Women's singles 1973 All England Badminton Championships – Women's singles 1971 All England Badminton Championships – Mixed doubles 1969 All England Badminton Championships – Mixed doubles 1970 All England Badminton Championships – Mixed doubles 1978 All England Badminton Championships – Women's singles 1972 All England Badminton Championships – Mixed doubles 1970 All England Badminton Championships – Women's doubles 1968 All England Badminton Championships – Women's doubles 1974 All England Badminton Championships – Women's doubles 1973 All England Badminton Championships – Women's doubles 1976 All England Badminton Championships – Women's doubles 1972 All England Badminton Championships – Women's doubles 1971 All England Badminton Championships – Women's doubles 1981 All England Badminton Championships – Women's doubles 1972 All England Badminton Championships – Women's singles 1968 All England Badminton Championships – Women's singles 1971 All England Badminton Championships – Women's singles 1970 All England Badminton Championships – Women's doubles 1974 All England Badminton Championships – Mixed doubles 1969 All England Badminton Championships – Mixed doubles 1970 All England Badminton Championships – Mixed doubles 1968 All England Badminton Championships – Mixed doubles 1970 All England Badminton Championships – Women's doubles 1969 All England Badminton Championships – Women's doubles 1974 All England Badminton Championships – Women's doubles 1976 All England Badminton Championships – Women's doubles
1973 All England Badminton Championships – mixed doubles, 1974 All England Badminton Championships – mixed doubles and 1969 All England Badminton Championships – mixed doubles have Gillian Gilks, Eva Twedberg and Susan Whetnall as their participant
1973 All England Badminton Championships – Mixed doubles 1974 All England Badminton Championships – Mixed doubles 1969 All England Badminton Championships – Mixed doubles
action union
action filter_type
action find_reverse
entity Gillian Gilks
relation participant
type All England Badminton Championships
action filter_type
action find_reverse
entity Eva Twedberg
relation participant
type All England Badminton Championships
action filter_type
action find_reverse
entity Susan Whetnall
relation participant
type All England Badminton Championships
[{'concept': 'All England Badminton Championships'}, 'participant', 'Gillian Gilks'] [{'concept': 'All England Badminton Championships'}, 'participant', 'Eva Twedberg'] [{'concept': 'All England Badminton Championships'}, 'participant', 'Susan Whetnall']
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Gillian_Gilks ) ( resource:Eva_Twedberg ) } . ?m property:participant ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2368977
P26
Q502895
USER
Which person is the life partner of Susan Whetnall ?
(c(Q502895),P26,Q2368977)
action filter_type
action find
entity Q2368977
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2368977']
SELECT DISTINCT ?g WHERE { resource:Q2368977 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Susan Whetnall
action filter_type
action find
entity Susan Whetnall
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Susan Whetnall']
SELECT DISTINCT ?g WHERE { resource:Susan_Whetnall property:spouse ?g . ?g rdf:type ontology:common_name }
[]
common name
Q1348411
SYSTEM
Paul Whetnall
Q1348411
(c(Q502895),P26,Q2368977)
action filter_type
action find
entity Q2368977
relation P26
type Q502895
[ANSWER] is the life partner of Susan Whetnall
[{'concept': 'Q502895'}, 'P26', 'Q2368977']
SELECT DISTINCT ?g WHERE { resource:Q2368977 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Paul Whetnall
Paul Whetnall is the life partner of Susan Whetnall
Paul Whetnall
action filter_type
action find
entity Susan Whetnall
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Susan Whetnall']
SELECT DISTINCT ?g WHERE { resource:Susan_Whetnall property:spouse ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1348411
P21
Q290
USER
What is the sex of that person ?
(Q1348411,P21,c(Q290))
action filter_type
action find
entity Q1348411
relation P21
type Q290
['Q1348411', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q1348411 property:P21 ?f }
Paul Whetnall
action filter_type
action find
entity Paul Whetnall
relation gender
type sex
['Paul Whetnall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Paul_Whetnall property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1348411,P21,c(Q290))
action filter_type
action find
entity Q1348411
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1348411', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q1348411 property:P21 ?f }
male
The sex of that person is a male
male
action filter_type
action find
entity Paul Whetnall
relation gender
type sex
['Paul Whetnall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Paul_Whetnall property:gender ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1348411
P106
Q12737077
USER
What do that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1348411
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1348411 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Paul Whetnall
action filter_type
action find
entity Paul Whetnall
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Whetnall property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q13141064 Q15980158
SYSTEM
badminton player, non-fiction writer
Q13141064 Q15980158
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1348411
relation P106
type Q12737077
The [ANSWERS] that person do for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1348411 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
badminton player non-fiction writer
The badminton player and non-fiction writer that person do for a living
badminton player non-fiction writer
action filter_type
action find
entity Paul Whetnall
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Whetnall property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q13406554 Q502895
USER
How many sports were atleast 14646 sport competitions and people a part of ?
(c(Q13406554)|c(Q502895),P641,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 14646
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { { ?j rdf:type ontology:Q349 . ?w rdf:type ontology:Q13406554 . ?w property:P641 ?j } UNION { ?w property:P641 ?j . ?j rdf:type ontology:Q349 . ?w rdf:type ontology:Q502895 } } GROUP BY ?j } . FILTER ( ?c >= 14646 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 14646
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { { ?j rdf:type ontology:sport . ?w rdf:type ontology:sport_competition . ?w property:sport ?j } UNION { ?w property:sport ?j . ?j rdf:type ontology:sport . ?w rdf:type ontology:common_name } } GROUP BY ?j } . FILTER ( ?c >= 14646 ) }
[]
sport sport competition common name
SYSTEM
3
Q5372 Q41466 Q2736
(c(Q13406554)|c(Q502895),P641,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 14646
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { { ?j rdf:type ontology:Q349 . ?w rdf:type ontology:Q13406554 . ?w property:P641 ?j } UNION { ?w property:P641 ?j . ?j rdf:type ontology:Q349 . ?w rdf:type ontology:Q502895 } } GROUP BY ?j } . FILTER ( ?c >= 14646 ) }
basketball ice hockey association football
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 14646
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { { ?j rdf:type ontology:sport . ?w rdf:type ontology:sport_competition . ?w property:sport ?j } UNION { ?w property:sport ?j . ?j rdf:type ontology:sport . ?w rdf:type ontology:common_name } } GROUP BY ?j } . FILTER ( ?c >= 14646 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q335725 Q2368977
P1412
Q34770
USER
Which languages are spoken by Susan Whetnall and George Parker, 2nd Earl of Macclesfield ?
AND((Q2368977,P1412,c(Q34770)), (Q335725,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q2368977
relation P1412
action find
entity Q335725
relation P1412
type Q34770
{'AND': [['Q2368977', 'P1412', {'concept': 'Q34770'}], ['Q335725', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?m WHERE { resource:Q2368977 property:P1412 ?m . resource:Q335725 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
George Parker, 2nd Earl of Macclesfield Susan Whetnall
action filter_type
action intersection
action find
entity Susan Whetnall
relation languages spoken, written or signed
action find
entity George Parker, 2nd Earl of Macclesfield
relation languages spoken, written or signed
type language
{'AND': [['Susan Whetnall', 'languages spoken, written or signed', {'concept': 'language'}], ['George Parker, 2nd Earl of Macclesfield', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?m WHERE { resource:Susan_Whetnall property:languages_spoken,_written_or_signed ?m . resource:George_Parker,_2nd_Earl_of_Macclesfield property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q2368977,P1412,c(Q34770)), (Q335725,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q2368977
relation P1412
action find
entity Q335725
relation P1412
type Q34770
And [ANSWER] is spoken by Susan Whetnall and George Parker, 2nd Earl of Macclesfield
{'AND': [['Q2368977', 'P1412', {'concept': 'Q34770'}], ['Q335725', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?m WHERE { resource:Q2368977 property:P1412 ?m . resource:Q335725 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
English
And English is spoken by Susan Whetnall and George Parker, 2nd Earl of Macclesfield
English
action filter_type
action intersection
action find
entity Susan Whetnall
relation languages spoken, written or signed
action find
entity George Parker, 2nd Earl of Macclesfield
relation languages spoken, written or signed
type language
{'AND': [['Susan Whetnall', 'languages spoken, written or signed', {'concept': 'language'}], ['George Parker, 2nd Earl of Macclesfield', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?m WHERE { resource:Susan_Whetnall property:languages_spoken,_written_or_signed ?m . resource:George_Parker,_2nd_Earl_of_Macclesfield property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
How many languages are the mother tongues of greater number of people than that language ?
(c(Q502895),P103,c(Q34770))
action count
action greater
action find_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q1860
relation P103
type Q34770
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q1860 property:P103 ?v . ?v rdf:type ontology:Q34770 } } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?w ) WHERE { ?o property:P103 ?j . ?o rdf:type ontology:Q34770 . ?j rdf:type ontology:Q502895 } GROUP BY ?o } }
action count
action greater
action find_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity English
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:English property:native_language ?v . ?v rdf:type ontology:language } } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?w ) WHERE { ?o property:native_language ?j . ?o rdf:type ontology:language . ?j rdf:type ontology:common_name } GROUP BY ?o } }
[]
language common name
SYSTEM
0
(c(Q502895),P103,c(Q34770))
action count
action greater
action find_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q1860
relation P103
type Q34770
[ANSWER]
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q1860 property:P103 ?v . ?v rdf:type ontology:Q34770 } } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?w ) WHERE { ?o property:P103 ?j . ?o rdf:type ontology:Q34770 . ?j rdf:type ontology:Q502895 } GROUP BY ?o } }
0
action count
action greater
action find_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity English
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:English property:native_language ?v . ?v rdf:type ontology:language } } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?w ) WHERE { ?o property:native_language ?j . ?o rdf:type ontology:language . ?j rdf:type ontology:common_name } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q219477
P921
Q12737077 Q2342494 Q191067
USER
How many occupations were the main subjects of around the same number of collectables and articles 's work as missionary ?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q219477
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?v ) WHERE { { ?h rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q2342494 . ?x property:P921 ?h } UNION { ?x property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q191067 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { { ?a rdf:type ontology:Q2342494 } UNION { ?a rdf:type ontology:Q191067 } } . ?a property:P921 resource:Q219477 } } . FILTER ( ?v = ?t ) }
missionary
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity missionary
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?v ) WHERE { { ?h rdf:type ontology:occupation . ?x rdf:type ontology:collectable . ?x property:main_subject ?h } UNION { ?x property:main_subject ?h . ?h rdf:type ontology:occupation . ?x rdf:type ontology:article } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { { ?a rdf:type ontology:collectable } UNION { ?a rdf:type ontology:article } } . ?a property:main_subject resource:missionary } } . FILTER ( ?v = ?t ) }
[]
occupation collectable article
SYSTEM
74
Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3809586 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q486839 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q17143199 Q384593 Q2095549 Q372436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q219477
relation P921
type Q2342494
type Q191067
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?v ) WHERE { { ?h rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q2342494 . ?x property:P921 ?h } UNION { ?x property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q191067 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { { ?a rdf:type ontology:Q2342494 } UNION { ?a rdf:type ontology:Q191067 } } . ?a property:P921 resource:Q219477 } } . FILTER ( ?v = ?t ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Wikipedian in Residence Prime Minister of Hungary seiyū clown farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier member of parliament violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist cartoonist judge nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian photographer peasant missionary United States federal judge musician medical examiner police officer aviator statesman rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
74
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity missionary
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?v ) WHERE { { ?h rdf:type ontology:occupation . ?x rdf:type ontology:collectable . ?x property:main_subject ?h } UNION { ?x property:main_subject ?h . ?h rdf:type ontology:occupation . ?x rdf:type ontology:article } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { { ?a rdf:type ontology:collectable } UNION { ?a rdf:type ontology:article } } . ?a property:main_subject resource:missionary } } . FILTER ( ?v = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q42973
P921
Q12737077 Q2342494 Q191067
USER
And also tell me about architect?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q42973
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?o WHERE { VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?u rdf:type ?k } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P921 resource:Q42973 . { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } } } . FILTER ( ?c = ?b ) }
architect
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity architect
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?o WHERE { VALUES ( ?k ) { ( ontology:collectable ) ( ontology:article ) } . ?u rdf:type ?k } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:main_subject resource:architect . { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:collectable ) ( ontology:article ) } } } } . FILTER ( ?c = ?b ) }
[]
occupation collectable article
SYSTEM
23
Q172907 Q774306 Q83307 Q4610556 Q18145518 Q82955 Q730242 Q42973 Q9402 Q43845 Q316070 Q29182 Q510373 Q131524 Q14373094 Q152002 Q18220900 Q16003605 Q732358 Q49757 Q1238570 Q182436 Q2259532
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q42973
relation P921
type Q2342494
type Q191067
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?o WHERE { VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?u rdf:type ?k } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P921 resource:Q42973 . { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } } } . FILTER ( ?c = ?b ) }
praetor surgeon minister model Member of the New Zealand House of Representatives politician test pilot architect ninja businessperson Fletcher Christian bishop Lord High Steward entrepreneur rugby league player pastor Member of the South Australian House of Assembly elementary school student Nomarch poet political scientist librarian cleric
23
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity architect
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?o WHERE { VALUES ( ?k ) { ( ontology:collectable ) ( ontology:article ) } . ?u rdf:type ?k } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:main_subject resource:architect . { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:collectable ) ( ontology:article ) } } } } . FILTER ( ?c = ?b ) }
[]