Simple Question (Direct)
Simple Question
Q6047937
P735
Q82799
USER
What the name that Nagehan Akşan is known by ?
(Q6047937,P735,c(Q82799))
action filter_type
action find
entity Q6047937
relation P735
type Q82799
['Q6047937', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q6047937 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Nagehan Akşan
action filter_type
action find
entity Nagehan Akşan
relation given name
type name
['Nagehan Akşan', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Nagehan_Akşan property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q19897852
SYSTEM
Nagehan
Q19897852
(Q6047937,P735,c(Q82799))
action filter_type
action find
entity Q6047937
relation P735
type Q82799
Known 1 [ANSWER]
['Q6047937', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q6047937 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Nagehan
Known 1 Nagehan
Nagehan
action filter_type
action find
entity Nagehan Akşan
relation given name
type name
['Nagehan Akşan', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Nagehan_Akşan property:given_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6047937
P54
Q6979593
USER
What is Nagehan Akşan a member of ?
(Q6047937,P54,c(Q6979593))
action filter_type
action find
entity Q6047937
relation P54
type Q6979593
['Q6047937', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?f WHERE { resource:Q6047937 property:P54 ?f . ?f rdf:type ontology:Q6979593 }
Nagehan Akşan
action filter_type
action find
entity Nagehan Akşan
relation member of sports team
type national association football team
['Nagehan Akşan', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?f WHERE { resource:Nagehan_Akşan property:member_of_sports_team ?f . ?f rdf:type ontology:national_association_football_team }
[]
national association football team
Q937678
SYSTEM
Turkey women's national football team
Q937678
(Q6047937,P54,c(Q6979593))
action filter_type
action find
entity Q6047937
relation P54
type Q6979593
Nagehan Akşan is a member of [ANSWER]
['Q6047937', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?f WHERE { resource:Q6047937 property:P54 ?f . ?f rdf:type ontology:Q6979593 }
Turkey women's national football team
Nagehan Akşan is a member of Turkey women's national football team
Turkey women's national football team
action filter_type
action find
entity Nagehan Akşan
relation member of sports team
type national association football team
['Nagehan Akşan', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?f WHERE { resource:Nagehan_Akşan property:member_of_sports_team ?f . ?f rdf:type ontology:national_association_football_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6047937
P21
Q290
USER
What is the sex of Nagehan Akşan ?
(Q6047937,P21,c(Q290))
action filter_type
action find
entity Q6047937
relation P21
type Q290
['Q6047937', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q6047937 property:P21 ?m . ?m rdf:type ontology:Q290 }
Nagehan Akşan
action filter_type
action find
entity Nagehan Akşan
relation gender
type sex
['Nagehan Akşan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Nagehan_Akşan property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6047937,P21,c(Q290))
action filter_type
action find
entity Q6047937
relation P21
type Q290
The sex of Nagehan Akşan is the [ANSWER]
['Q6047937', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q6047937 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
The sex of Nagehan Akşan is the female
female
action filter_type
action find
entity Nagehan Akşan
relation gender
type sex
['Nagehan Akşan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Nagehan_Akşan property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6047937
P641
Q349
USER
What did Nagehan Akşan participate in ?
(Q6047937,P641,c(Q349))
action filter_type
action find
entity Q6047937
relation P641
type Q349
['Q6047937', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q6047937 property:P641 ?z . ?z rdf:type ontology:Q349 }
Nagehan Akşan
action filter_type
action find
entity Nagehan Akşan
relation sport
type sport
['Nagehan Akşan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Nagehan_Akşan property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6047937,P641,c(Q349))
action filter_type
action find
entity Q6047937
relation P641
type Q349
Nagehan Akşan participated in [ANSWER]
['Q6047937', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q6047937 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
Nagehan Akşan participated in association football
association football
action filter_type
action find
entity Nagehan Akşan
relation sport
type sport
['Nagehan Akşan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Nagehan_Akşan property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4023323
Q349
USER
And what about Yüksel Alkan?
(Q4023323,P641,c(Q349))
action filter_type
action find
entity Q4023323
relation P641
type Q349
['Q4023323', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q4023323 property:P641 ?n . ?n rdf:type ontology:Q349 }
Yüksel Alkan
action filter_type
action find
entity Yüksel Alkan
relation sport
type sport
['Yüksel Alkan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Yüksel_Alkan property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q4023323,P641,c(Q349))
action filter_type
action find
entity Q4023323
relation P641
type Q349
[ANSWER]
['Q4023323', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q4023323 property:P641 ?n . ?n rdf:type ontology:Q349 }
basketball
basketball
action filter_type
action find
entity Yüksel Alkan
relation sport
type sport
['Yüksel Alkan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Yüksel_Alkan property:sport ?n . ?n rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q500834 Q13406554
USER
Which people were considered to be the statistical leader of approximately 3 tournaments or sport competitions ?
(c(Q500834)|c(Q13406554),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
value 3
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?d WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } } GROUP BY ?d } . FILTER ( ?t = 3 ) }
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
value 3
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?d WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:sport_competition ) ( ontology:tournament ) } } GROUP BY ?d } . FILTER ( ?t = 3 ) }
[]
common name tournament sport competition
Q314185 Q553232 Q24002
SYSTEM
George Mikan, Bob McAdoo, Andy Panko
Q314185 Q1353620 Q553232 Q24002 Q27187285 Q380015 Q6547747
(c(Q500834)|c(Q13406554),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
value 3
[ANSWERS] were considered to be the statistical leader of approximately 3 tournaments or sport competitions
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?d WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } } GROUP BY ?d } . FILTER ( ?t = 3 ) }
George Mikan Neil Johnston Bob McAdoo Andy Panko Panikos Efthymiades Igor Rakočević Liliana Kostova
George Mikan, Bob McAdoo and Andy Panko were considered to be the statistical leader of approximately 3 tournaments or sport competitions
George Mikan Bob McAdoo Andy Panko
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
value 3
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?d WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:sport_competition ) ( ontology:tournament ) } } GROUP BY ?d } . FILTER ( ?t = 3 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P69
Q163740 Q2385804
USER
How many nonprofit organizations or educational institutions are that person an alumni of ?
(Q314185,P69,c(Q163740)) (Q314185,P69,c(Q2385804)) (Q314185,P69,c(Q163740)) (Q314185,P69,c(Q2385804)) (Q553232,P69,c(Q163740)) (Q553232,P69,c(Q2385804)) (Q24002,P69,c(Q163740)) (Q24002,P69,c(Q2385804))
['Q314185', 'P69', {'concept': 'Q163740'}] ['Q314185', 'P69', {'concept': 'Q2385804'}] ['Q314185', 'P69', {'concept': 'Q163740'}] ['Q314185', 'P69', {'concept': 'Q2385804'}] ['Q553232', 'P69', {'concept': 'Q163740'}] ['Q553232', 'P69', {'concept': 'Q2385804'}] ['Q24002', 'P69', {'concept': 'Q163740'}] ['Q24002', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q314185 property:P69 ?z } UNION { resource:Q314185 property:P69 ?y } UNION { resource:Q314185 property:P69 ?z } UNION { resource:Q314185 property:P69 ?y } UNION { resource:Q553232 property:P69 ?z } UNION { resource:Q553232 property:P69 ?y } UNION { resource:Q24002 property:P69 ?z } UNION { resource:Q24002 property:P69 ?y } } . ?z rdf:type ontology:Q163740 . ?y rdf:type ontology:Q2385804 }
['George Mikan', 'educated at', {'concept': 'nonprofit organization'}] ['George Mikan', 'educated at', {'concept': 'educational institution'}] ['George Mikan', 'educated at', {'concept': 'nonprofit organization'}] ['George Mikan', 'educated at', {'concept': 'educational institution'}] ['Bob McAdoo', 'educated at', {'concept': 'nonprofit organization'}] ['Bob McAdoo', 'educated at', {'concept': 'educational institution'}] ['Andy Panko', 'educated at', {'concept': 'nonprofit organization'}] ['Andy Panko', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:George_Mikan property:educated_at ?z } UNION { resource:George_Mikan property:educated_at ?y } UNION { resource:George_Mikan property:educated_at ?z } UNION { resource:George_Mikan property:educated_at ?y } UNION { resource:Bob_McAdoo property:educated_at ?z } UNION { resource:Bob_McAdoo property:educated_at ?y } UNION { resource:Andy_Panko property:educated_at ?z } UNION { resource:Andy_Panko property:educated_at ?y } } . ?z rdf:type ontology:nonprofit_organization . ?y rdf:type ontology:educational_institution }
[]
nonprofit organization educational institution
Quantitative|Count|Mult. entity type|Clarification
Q24002
SYSTEM
Did you mean Andy Panko ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q314185 property:P69 ?z } UNION { resource:Q314185 property:P69 ?y } UNION { resource:Q314185 property:P69 ?z } UNION { resource:Q314185 property:P69 ?y } UNION { resource:Q553232 property:P69 ?z } UNION { resource:Q553232 property:P69 ?y } UNION { resource:Q24002 property:P69 ?z } UNION { resource:Q24002 property:P69 ?y } } . ?z rdf:type ontology:Q163740 . ?y rdf:type ontology:Q2385804 }
Did you mean Andy Panko ?
Andy Panko
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:George_Mikan property:educated_at ?z } UNION { resource:George_Mikan property:educated_at ?y } UNION { resource:George_Mikan property:educated_at ?z } UNION { resource:George_Mikan property:educated_at ?y } UNION { resource:Bob_McAdoo property:educated_at ?z } UNION { resource:Bob_McAdoo property:educated_at ?y } UNION { resource:Andy_Panko property:educated_at ?z } UNION { resource:Andy_Panko property:educated_at ?y } } . ?z rdf:type ontology:nonprofit_organization . ?y rdf:type ontology:educational_institution }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant George Mikan. Could you tell me the answer for that?
(Q314185,P69,c(Q163740)) (Q314185,P69,c(Q2385804)) (Q314185,P69,c(Q163740)) (Q314185,P69,c(Q2385804)) (Q553232,P69,c(Q163740)) (Q553232,P69,c(Q2385804)) (Q24002,P69,c(Q163740)) (Q24002,P69,c(Q2385804))
Q314185
['Q314185', 'P69', {'concept': 'Q163740'}] ['Q314185', 'P69', {'concept': 'Q2385804'}] ['Q314185', 'P69', {'concept': 'Q163740'}] ['Q314185', 'P69', {'concept': 'Q2385804'}] ['Q553232', 'P69', {'concept': 'Q163740'}] ['Q553232', 'P69', {'concept': 'Q2385804'}] ['Q24002', 'P69', {'concept': 'Q163740'}] ['Q24002', 'P69', {'concept': 'Q2385804'}]
['George Mikan', 'educated at', {'concept': 'nonprofit organization'}] ['George Mikan', 'educated at', {'concept': 'educational institution'}] ['George Mikan', 'educated at', {'concept': 'nonprofit organization'}] ['George Mikan', 'educated at', {'concept': 'educational institution'}] ['Bob McAdoo', 'educated at', {'concept': 'nonprofit organization'}] ['Bob McAdoo', 'educated at', {'concept': 'educational institution'}] ['Andy Panko', 'educated at', {'concept': 'nonprofit organization'}] ['Andy Panko', 'educated at', {'concept': 'educational institution'}]
[]
SYSTEM
2
Q1179603 Q6269977
(Q314185,P69,c(Q163740)) (Q314185,P69,c(Q2385804)) (Q314185,P69,c(Q163740)) (Q314185,P69,c(Q2385804)) (Q553232,P69,c(Q163740)) (Q553232,P69,c(Q2385804)) (Q24002,P69,c(Q163740)) (Q24002,P69,c(Q2385804))
[ANSWER]
['Q314185', 'P69', {'concept': 'Q163740'}] ['Q314185', 'P69', {'concept': 'Q2385804'}] ['Q314185', 'P69', {'concept': 'Q163740'}] ['Q314185', 'P69', {'concept': 'Q2385804'}] ['Q553232', 'P69', {'concept': 'Q163740'}] ['Q553232', 'P69', {'concept': 'Q2385804'}] ['Q24002', 'P69', {'concept': 'Q163740'}] ['Q24002', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q314185 property:P69 ?z } UNION { resource:Q314185 property:P69 ?y } UNION { resource:Q314185 property:P69 ?z } UNION { resource:Q314185 property:P69 ?y } UNION { resource:Q553232 property:P69 ?z } UNION { resource:Q553232 property:P69 ?y } UNION { resource:Q24002 property:P69 ?z } UNION { resource:Q24002 property:P69 ?y } } . ?z rdf:type ontology:Q163740 . ?y rdf:type ontology:Q2385804 }
DePaul University Joliet Catholic Academy
2
['George Mikan', 'educated at', {'concept': 'nonprofit organization'}] ['George Mikan', 'educated at', {'concept': 'educational institution'}] ['George Mikan', 'educated at', {'concept': 'nonprofit organization'}] ['George Mikan', 'educated at', {'concept': 'educational institution'}] ['Bob McAdoo', 'educated at', {'concept': 'nonprofit organization'}] ['Bob McAdoo', 'educated at', {'concept': 'educational institution'}] ['Andy Panko', 'educated at', {'concept': 'nonprofit organization'}] ['Andy Panko', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:George_Mikan property:educated_at ?z } UNION { resource:George_Mikan property:educated_at ?y } UNION { resource:George_Mikan property:educated_at ?z } UNION { resource:George_Mikan property:educated_at ?y } UNION { resource:Bob_McAdoo property:educated_at ?z } UNION { resource:Bob_McAdoo property:educated_at ?y } UNION { resource:Andy_Panko property:educated_at ?z } UNION { resource:Andy_Panko property:educated_at ?y } } . ?z rdf:type ontology:nonprofit_organization . ?y rdf:type ontology:educational_institution }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q213100
P1303
Q34379 Q502895
USER
How many musical instruments are played by greater number of people than tabla ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213100
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q213100 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?b > ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?b ) WHERE { ?d rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?d } GROUP BY ?d } }
tabla
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tabla
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:tabla property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?b > ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?b ) WHERE { ?d rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?d } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
17
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q8338 Q8371 Q8355 Q3382191 Q742180 Q1444 Q220971 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213100
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q213100 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?b > ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?b ) WHERE { ?d rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?d } GROUP BY ?d } }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone trumpet cello violin upright piano viola d'amore organ marimba drum kit electronic keyboard drum
17
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tabla
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:tabla property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?b > ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?b ) WHERE { ?d rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?d } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q46185
P1303
Q34379 Q502895
USER
And what about bass guitar?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q46185 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?u > ?b ) }
bass guitar
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:bass_guitar property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?u > ?b ) }
[]
musical instrument common name
SYSTEM
5
Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q46185 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?u > ?b ) }
piano trumpet violin organ drum kit
5
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:bass_guitar property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?u > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q757014
P1532
Q15617994 Q56061 Q6979593
USER
How many national association football teams play for lesser number of administrative territories and administrative territories than Brazil women's national football team ?
(c(Q6979593),P1532,c(Q15617994)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P1532
type Q6979593
type Q15617994
action find_tuple_counts
relation P1532
type Q6979593
type Q56061
action count
action filter_multi_types
action find
entity Q757014
relation P1532
type Q15617994
type Q56061
[{'concept': 'Q6979593'}, 'P1532', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?c ) WHERE { ?j rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q757014 property:P1532 ?d . { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } } } } . FILTER ( ?c < ?m ) }
Brazil women's national football team
action count
action less
action union
action find_tuple_counts
relation country for sport
type national association football team
type designation for an administrative territorial entity
action find_tuple_counts
relation country for sport
type national association football team
type administrative territorial entity
action count
action filter_multi_types
action find
entity Brazil women's national football team
relation country for sport
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?c ) WHERE { ?j rdf:type ?g . VALUES ( ?g ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Brazil_women's_national_football_team property:country_for_sport ?d . { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?c < ?m ) }
[]
designation for an administrative territorial entity administrative territorial entity national association football team
SYSTEM
74
Q917512 Q16581708 Q3775351 Q3066716 Q7016339 Q20977930 Q154408 Q7525078 Q3277275 Q3277271 Q3277080 Q130702 Q3277476 Q3589693 Q2281868 Q1711488 Q3277279 Q23013935 Q3873975 Q7386165 Q3277295 Q1679841 Q4823750 Q7016343 Q2117869 Q4534645 Q6906601 Q2697050 Q931329 Q514498 Q4333840 Q23887368 Q3590230 Q3915806 Q303070 Q1712536 Q4763989 Q5201862 Q3873967 Q7267152 Q980162 Q871172 Q16154435 Q4993229 Q1037645 Q503755 Q510953 Q5378068 Q5378067 Q18127855 Q204204 Q3068773 Q4763990 Q15881781 Q5552186 Q16835367 Q3428572 Q3277264 Q499946 Q3277260 Q8060387 Q390326 Q782012 Q3277468 Q1659562 Q3277480 Q1202757 Q6722749 Q5501777 Q5029539 Q5029537 Q747967 Q640408 Q8066308
(c(Q6979593),P1532,c(Q15617994)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P1532
type Q6979593
type Q15617994
action find_tuple_counts
relation P1532
type Q6979593
type Q56061
action count
action filter_multi_types
action find
entity Q757014
relation P1532
type Q15617994
type Q56061
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?c ) WHERE { ?j rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q757014 property:P1532 ?d . { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } } } } . FILTER ( ?c < ?m ) }
Scotland women's national football team Denmark Olympic football team Martinique women's national football team Gabon women's national football team New Zealand women's national under-17 football team Catalonia women's national football team Germany women's national football team Sint Maarten women's national football team British Virgin Islands women's national football team Cayman Islands women's national football team Palestine women's national football team Hong Kong women's national football team Saint Kitts and Nevis women's national football team England women's national under-17 football team Aruba women's national football team Yugoslavia women's national football team Bermuda women's national football team Denmark women's national under-19 football team Australia Olympic football team Réunion women's national football team Antigua and Barbuda women's national football team Jamaica women's national football team Australia women's national under-20 football team New Zealand women's national under-20 football team Cook Islands women's national football team England national youth football team Montserrat women's national football team Netherlands Antilles women's national football team Solomon Islands women's national football team Denmark women's national football team Soviet Union Olympic football team Gabon Olympic football team Guadeloupe women's national football team Aruba Olympic football team Austria women's national football team Tahiti women's national football team Anguilla women's national under-20 football team Czechoslovakia Olympic football team Canada Olympic soccer team Qatar women's national football team Wales women's national football team Czechoslovakia women's national football team Australia women's national under-17 association football team Curaçao women's national football team Netherlands Antilles national football team New Zealand women's national football team New Zealand Olympic football team England women's national under-23 football team England women's national under-19 football team Scotland women's under-23 national football team England women's national football team East Germany women's national football team Anguilla women's national under-17 football team Scotland women's national under-17 football team Germany women's national youth football team England women's national under-20 football team Anguilla women's national football team Bahamas women's national football team Canada women's national soccer team Grenada women's national football team Yugoslavia Olympic football team East Germany Olympic football team Australia women's national association football team Saint Vincent and the Grenadines women's national football team Papua New Guinea women's national football team Turks and Caicos Islands women's national football team Germany Olympic football team Macau women's national football team French Guiana women's national football team Canada women's national under-20 soccer team Canada women's national under-17 soccer team Soviet Union women's national football team Chinese Taipei women's national football team Zanzibar women's national football team
74
action count
action less
action union
action find_tuple_counts
relation country for sport
type national association football team
type designation for an administrative territorial entity
action find_tuple_counts
relation country for sport
type national association football team
type administrative territorial entity
action count
action filter_multi_types
action find
entity Brazil women's national football team
relation country for sport
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?c ) WHERE { ?j rdf:type ?g . VALUES ( ?g ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Brazil_women's_national_football_team property:country_for_sport ?d . { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?c < ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7523234
P1532
Q15617994 Q56061 Q6979593
USER
And how about Singapore national under-22 football team?
(c(Q6979593),P1532,c(Q15617994)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P1532
type Q6979593
type Q15617994
action find_tuple_counts
relation P1532
type Q6979593
type Q56061
action count
action filter_multi_types
action find
entity Q7523234
relation P1532
type Q15617994
type Q56061
[{'concept': 'Q6979593'}, 'P1532', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { { ?c property:P1532 ?m . ?c rdf:type ontology:Q6979593 . ?m rdf:type ontology:Q15617994 } UNION { ?c property:P1532 ?m . ?c rdf:type ontology:Q6979593 . ?m rdf:type ontology:Q56061 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Q7523234 property:P1532 ?k . { { ?k rdf:type ontology:Q56061 } UNION { ?k rdf:type ontology:Q15617994 } } } } . FILTER ( ?x < ?i ) }
Singapore national under-22 football team
action count
action less
action union
action find_tuple_counts
relation country for sport
type national association football team
type designation for an administrative territorial entity
action find_tuple_counts
relation country for sport
type national association football team
type administrative territorial entity
action count
action filter_multi_types
action find
entity Singapore national under-22 football team
relation country for sport
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { { ?c property:country_for_sport ?m . ?c rdf:type ontology:national_association_football_team . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:country_for_sport ?m . ?c rdf:type ontology:national_association_football_team . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Singapore_national_under-22_football_team property:country_for_sport ?k . { { ?k rdf:type ontology:administrative_territorial_entity } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?x < ?i ) }
[]
designation for an administrative territorial entity administrative territorial entity national association football team
SYSTEM
74
Q917512 Q16581708 Q3775351 Q3066716 Q7016339 Q20977930 Q154408 Q7525078 Q3277275 Q3277271 Q3277080 Q130702 Q3277476 Q3589693 Q2281868 Q1711488 Q3277279 Q23013935 Q3873975 Q7386165 Q3277295 Q1679841 Q4823750 Q7016343 Q2117869 Q4534645 Q6906601 Q2697050 Q931329 Q514498 Q4333840 Q23887368 Q3590230 Q3915806 Q303070 Q1712536 Q4763989 Q5201862 Q3873967 Q7267152 Q980162 Q871172 Q16154435 Q4993229 Q1037645 Q503755 Q510953 Q5378068 Q5378067 Q18127855 Q204204 Q3068773 Q4763990 Q15881781 Q5552186 Q16835367 Q3428572 Q3277264 Q499946 Q3277260 Q8060387 Q390326 Q782012 Q3277468 Q1659562 Q3277480 Q1202757 Q6722749 Q5501777 Q5029539 Q5029537 Q747967 Q640408 Q8066308
(c(Q6979593),P1532,c(Q15617994)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P1532
type Q6979593
type Q15617994
action find_tuple_counts
relation P1532
type Q6979593
type Q56061
action count
action filter_multi_types
action find
entity Q7523234
relation P1532
type Q15617994
type Q56061
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { { ?c property:P1532 ?m . ?c rdf:type ontology:Q6979593 . ?m rdf:type ontology:Q15617994 } UNION { ?c property:P1532 ?m . ?c rdf:type ontology:Q6979593 . ?m rdf:type ontology:Q56061 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Q7523234 property:P1532 ?k . { { ?k rdf:type ontology:Q56061 } UNION { ?k rdf:type ontology:Q15617994 } } } } . FILTER ( ?x < ?i ) }
Scotland women's national football team Denmark Olympic football team Martinique women's national football team Gabon women's national football team New Zealand women's national under-17 football team Catalonia women's national football team Germany women's national football team Sint Maarten women's national football team British Virgin Islands women's national football team Cayman Islands women's national football team Palestine women's national football team Hong Kong women's national football team Saint Kitts and Nevis women's national football team England women's national under-17 football team Aruba women's national football team Yugoslavia women's national football team Bermuda women's national football team Denmark women's national under-19 football team Australia Olympic football team Réunion women's national football team Antigua and Barbuda women's national football team Jamaica women's national football team Australia women's national under-20 football team New Zealand women's national under-20 football team Cook Islands women's national football team England national youth football team Montserrat women's national football team Netherlands Antilles women's national football team Solomon Islands women's national football team Denmark women's national football team Soviet Union Olympic football team Gabon Olympic football team Guadeloupe women's national football team Aruba Olympic football team Austria women's national football team Tahiti women's national football team Anguilla women's national under-20 football team Czechoslovakia Olympic football team Canada Olympic soccer team Qatar women's national football team Wales women's national football team Czechoslovakia women's national football team Australia women's national under-17 association football team Curaçao women's national football team Netherlands Antilles national football team New Zealand women's national football team New Zealand Olympic football team England women's national under-23 football team England women's national under-19 football team Scotland women's under-23 national football team England women's national football team East Germany women's national football team Anguilla women's national under-17 football team Scotland women's national under-17 football team Germany women's national youth football team England women's national under-20 football team Anguilla women's national football team Bahamas women's national football team Canada women's national soccer team Grenada women's national football team Yugoslavia Olympic football team East Germany Olympic football team Australia women's national association football team Saint Vincent and the Grenadines women's national football team Papua New Guinea women's national football team Turks and Caicos Islands women's national football team Germany Olympic football team Macau women's national football team French Guiana women's national football team Canada women's national under-20 soccer team Canada women's national under-17 soccer team Soviet Union women's national football team Chinese Taipei women's national football team Zanzibar women's national football team
74
action count
action less
action union
action find_tuple_counts
relation country for sport
type national association football team
type designation for an administrative territorial entity
action find_tuple_counts
relation country for sport
type national association football team
type administrative territorial entity
action count
action filter_multi_types
action find
entity Singapore national under-22 football team
relation country for sport
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { { ?c property:country_for_sport ?m . ?c rdf:type ontology:national_association_football_team . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:country_for_sport ?m . ?c rdf:type ontology:national_association_football_team . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Singapore_national_under-22_football_team property:country_for_sport ?k . { { ?k rdf:type ontology:administrative_territorial_entity } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?x < ?i ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3752862 Q4023323
P27
Q15617994
USER
Which administrative territories are Yüksel Alkan or William Stephen Finsen a civilian of ?
OR((Q4023323,P27,c(Q15617994)), (Q3752862,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4023323
relation P27
action find
entity Q3752862
relation P27
type Q15617994
{'OR': [['Q4023323', 'P27', {'concept': 'Q15617994'}], ['Q3752862', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q4023323 property:P27 ?t } UNION { resource:Q3752862 property:P27 ?t } } }
William Stephen Finsen Yüksel Alkan
action filter_type
action union
action find
entity Yüksel Alkan
relation country of citizenship
action find
entity William Stephen Finsen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yüksel Alkan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['William Stephen Finsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yüksel_Alkan property:country_of_citizenship ?t } UNION { resource:William_Stephen_Finsen property:country_of_citizenship ?t } } }
[]
designation for an administrative territorial entity
Q43 Q258
SYSTEM
Turkey, South Africa
Q43 Q258
OR((Q4023323,P27,c(Q15617994)), (Q3752862,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4023323
relation P27
action find
entity Q3752862
relation P27
type Q15617994
[ANSWERS] are Yüksel Alkan or William Stephen Finsen a civilian of
{'OR': [['Q4023323', 'P27', {'concept': 'Q15617994'}], ['Q3752862', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q4023323 property:P27 ?t } UNION { resource:Q3752862 property:P27 ?t } } }
Turkey South Africa
Turkey and South Africa are Yüksel Alkan or William Stephen Finsen a civilian of
Turkey South Africa
action filter_type
action union
action find
entity Yüksel Alkan
relation country of citizenship
action find
entity William Stephen Finsen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yüksel Alkan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['William Stephen Finsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yüksel_Alkan property:country_of_citizenship ?t } UNION { resource:William_Stephen_Finsen property:country_of_citizenship ?t } } }
[]