Simple Question (Direct)
Simple Question
Q371486
P641
Q349
USER
What was the sport that Norberto Peluffo was a part of ?
(Q371486,P641,c(Q349))
action filter_type
action find
entity Q371486
relation P641
type Q349
['Q371486', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q371486 property:P641 ?j . ?j rdf:type ontology:Q349 }
Norberto Peluffo
action filter_type
action find
entity Norberto Peluffo
relation sport
type sport
['Norberto Peluffo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Norberto_Peluffo property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q371486,P641,c(Q349))
action filter_type
action find
entity Q371486
relation P641
type Q349
The sport that Norberto Peluffo was a part of was the [ANSWER]
['Q371486', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q371486 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
The sport that Norberto Peluffo was a part of was the association football
association football
action filter_type
action find
entity Norberto Peluffo
relation sport
type sport
['Norberto Peluffo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Norberto_Peluffo property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q371486
P54
Q1194951
USER
Which national sports team is Norberto Peluffo a member of ?
(Q371486,P54,c(Q1194951))
action filter_type
action find
entity Q371486
relation P54
type Q1194951
['Q371486', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1194951 . resource:Q371486 property:P54 ?y }
Norberto Peluffo
action filter_type
action find
entity Norberto Peluffo
relation member of sports team
type national sports team
['Norberto Peluffo', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:national_sports_team . resource:Norberto_Peluffo property:member_of_sports_team ?y }
[]
national sports team
Q212564
SYSTEM
Colombia national football team
Q212564
(Q371486,P54,c(Q1194951))
action filter_type
action find
entity Q371486
relation P54
type Q1194951
The [ANSWER] is Norberto Peluffo a member of
['Q371486', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1194951 . resource:Q371486 property:P54 ?y }
Colombia national football team
The Colombia national football team is Norberto Peluffo a member of
Colombia national football team
action filter_type
action find
entity Norberto Peluffo
relation member of sports team
type national sports team
['Norberto Peluffo', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:national_sports_team . resource:Norberto_Peluffo property:member_of_sports_team ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q458493
Q1194951
USER
And also tell me about Igor Lediakhov?
(Q458493,P54,c(Q1194951))
action filter_type
action find
entity Q458493
relation P54
type Q1194951
['Q458493', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q458493 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Igor Lediakhov
action filter_type
action find
entity Igor Lediakhov
relation member of sports team
type national sports team
['Igor Lediakhov', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Igor_Lediakhov property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
national sports team
Q189275 Q726080 Q721418
SYSTEM
Soviet Union national football team, Russia national football team, CIS national football team
Q189275 Q726080 Q721418
(Q458493,P54,c(Q1194951))
action filter_type
action find
entity Q458493
relation P54
type Q1194951
[ANSWERS]
['Q458493', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q458493 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Soviet Union national football team Russia national football team CIS national football team
Soviet Union national football team Russia national football team CIS national football team
action filter_type
action find
entity Igor Lediakhov
relation member of sports team
type national sports team
['Igor Lediakhov', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Igor_Lediakhov property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q340595
P54
Q502895
USER
Are Akhrik Tsveiba a member of those national sports teams ?
(Q340595,P54,Q189275) (Q340595,P54,Q726080) (Q340595,P54,Q721418)
action is_in
entity prev_answer
action find
entity Q340595
relation P54
['Q340595', 'P54', 'Q189275'] ['Q340595', 'P54', 'Q726080'] ['Q340595', 'P54', 'Q721418']
ASK WHERE { resource:Q340595 property:P54 ?v . VALUES ( ?v ) { ( resource:Q189275 ) ( resource:Q726080 ) ( resource:Q721418 ) } }
Akhrik Tsveiba
action is_in
entity prev_answer
action find
entity Akhrik Tsveiba
relation member of sports team
['Akhrik Tsveiba', 'member of sports team', 'Soviet Union national football team'] ['Akhrik Tsveiba', 'member of sports team', 'Russia national football team'] ['Akhrik Tsveiba', 'member of sports team', 'CIS national football team']
ASK WHERE { resource:Akhrik_Tsveiba property:member_of_sports_team ?v . VALUES ( ?v ) { ( resource:Soviet_Union_national_football_team ) ( resource:Russia_national_football_team ) ( resource:CIS_national_football_team ) } }
[]
common name
SYSTEM
YES
(Q340595,P54,Q189275) (Q340595,P54,Q726080) (Q340595,P54,Q721418)
action is_in
entity prev_answer
action find
entity Q340595
relation P54
[ANSWER]
['Q340595', 'P54', 'Q189275'] ['Q340595', 'P54', 'Q726080'] ['Q340595', 'P54', 'Q721418']
ASK WHERE { resource:Q340595 property:P54 ?v . VALUES ( ?v ) { ( resource:Q189275 ) ( resource:Q726080 ) ( resource:Q721418 ) } }
Yes
action is_in
entity prev_answer
action find
entity Akhrik Tsveiba
relation member of sports team
['Akhrik Tsveiba', 'member of sports team', 'Soviet Union national football team'] ['Akhrik Tsveiba', 'member of sports team', 'Russia national football team'] ['Akhrik Tsveiba', 'member of sports team', 'CIS national football team']
ASK WHERE { resource:Akhrik_Tsveiba property:member_of_sports_team ?v . VALUES ( ?v ) { ( resource:Soviet_Union_national_football_team ) ( resource:Russia_national_football_team ) ( resource:CIS_national_football_team ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189275
P1532
Q7275
USER
Which state did Soviet Union national football team play for ?
(Q189275,P1532,c(Q7275))
action filter_type
action find
entity Q189275
relation P1532
type Q7275
['Q189275', 'P1532', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q189275 property:P1532 ?z . ?z rdf:type ontology:Q7275 }
Soviet Union national football team
action filter_type
action find
entity Soviet Union national football team
relation country for sport
type state
['Soviet Union national football team', 'country for sport', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Soviet_Union_national_football_team property:country_for_sport ?z . ?z rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q189275,P1532,c(Q7275))
action filter_type
action find
entity Q189275
relation P1532
type Q7275
[ANSWER] national football team played in [ANSWER]
['Q189275', 'P1532', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q189275 property:P1532 ?z . ?z rdf:type ontology:Q7275 }
Soviet Union
Soviet Union national football team played in Soviet Union
Soviet Union
action filter_type
action find
entity Soviet Union national football team
relation country for sport
type state
['Soviet Union national football team', 'country for sport', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Soviet_Union_national_football_team property:country_for_sport ?z . ?z rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q189275
P1344
Q15275719
USER
What recurring events did that national sports team participate in ?
(Q15180,P1344,c(Q15275719))
action filter_type
action find
entity Q189275
relation P1344
type Q15275719
['Q15180', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?c WHERE { resource:Q189275 property:P1344 ?c . ?c rdf:type ontology:Q15275719 }
Soviet Union national football team
action filter_type
action find
entity Soviet Union national football team
relation participant of
type recurring event
['Soviet Union', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?c WHERE { resource:Soviet_Union_national_football_team property:participant_of ?c . ?c rdf:type ontology:recurring_event }
[]
recurring event
Q46934 Q132529 Q46938
SYSTEM
1982 FIFA World Cup, 1990 FIFA World Cup, 1986 FIFA World Cup
Q46934 Q134202 Q132529 Q46938 Q132533 Q132664 Q160813
(Q15180,P1344,c(Q15275719))
action filter_type
action find
entity Q189275
relation P1344
type Q15275719
That national sports team participated in [ANSWERS]
['Q15180', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?c WHERE { resource:Q189275 property:P1344 ?c . ?c rdf:type ontology:Q15275719 }
1982 FIFA World Cup 1966 FIFA World Cup 1990 FIFA World Cup 1986 FIFA World Cup 1958 FIFA World Cup 1970 FIFA World Cup 1962 FIFA World Cup
That national sports team participated in 1982 FIFA World Cup, 1990 FIFA World Cup and 1986 FIFA World Cup
1982 FIFA World Cup 1990 FIFA World Cup 1986 FIFA World Cup
action filter_type
action find
entity Soviet Union national football team
relation participant of
type recurring event
['Soviet Union', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?c WHERE { resource:Soviet_Union_national_football_team property:participant_of ?c . ?c rdf:type ontology:recurring_event }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1344
Q15275719 Q502895
USER
How many recurring events did less number of people participate in than that recurring event ?
(c(Q502895),P1344,c(Q15275719))
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1344 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q15275719 }
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participant_of ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:recurring_event }
[]
recurring event common name
Comparative|Count over More/Less|Single entity type|Clarification
Q132529
SYSTEM
Did you mean 1990 FIFA World Cup ?
(c(Q502895),P1344,c(Q15275719))
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1344 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q15275719 }
Did you mean 1990 FIFA World Cup ?
1990 FIFA World Cup
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participant_of ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:recurring_event }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant 1982 FIFA World Cup. Could you tell me the answer for that?
(c(Q502895),P1344,c(Q15275719))
Q46934
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
[]
SYSTEM
137
Q240629 Q204010 Q1494216 Q1509609 Q648363 Q211478 Q287085 Q772726 Q386612 Q1415959 Q211474 Q1463291 Q689191 Q287649 Q13650943 Q287108 Q131591 Q5354210 Q1537962 Q869121 Q203245 Q194793 Q1477177 Q10152 Q10153 Q10151 Q10157 Q10155 Q10158 Q160813 Q211469 Q287098 Q2301224 Q209751 Q1415949 Q203983 Q203987 Q700917 Q203254 Q179853 Q42369 Q213942 Q1202380 Q132533 Q16913723 Q956843 Q629649 Q211754 Q166121 Q211752 Q5389 Q335281 Q402434 Q211942 Q1415998 Q483279 Q207538 Q1191199 Q695884 Q208524 Q208523 Q14818140 Q3271471 Q890313 Q46943 Q198544 Q209846 Q203329 Q205192 Q763822 Q335271 Q48432 Q335275 Q1974959 Q1536380 Q10162 Q10161 Q10160 Q10146 Q11062 Q179920 Q6015709 Q637844 Q132515 Q8483 Q203975 Q10148 Q19835278 Q171784 Q1343333 Q218761 Q1754568 Q930880 Q218769 Q194811 Q211241 Q1141795 Q11117 Q207815 Q188517 Q959755 Q15215081 Q25266570 Q166246 Q11113 Q250671 Q250677 Q203968 Q210578 Q211490 Q211494 Q209745 Q200794 Q216891 Q654995 Q154846 Q207541 Q769961 Q207889 Q218754 Q153578 Q211487 Q211484 Q208243 Q134202 Q202110 Q250689 Q131075 Q132664 Q15787287 Q209678 Q209673 Q10150 Q226066 Q199924 Q209429 Q1413606
(c(Q502895),P1344,c(Q15275719))
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1344 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q15275719 }
1991 CONCACAF Gold Cup Eurovision Song Contest 1968 15th Chess Olympiad 17th Chess Olympiad 3rd Chess Olympiad Eurovision Song Contest 1988 32nd Chess Olympiad 2000 CONCACAF Gold Cup 39th Chess Olympiad 6th Chess Olympiad Eurovision Song Contest 1987 10th Chess Olympiad 18th Chess Olympiad 30th Chess Olympiad 2013 European Beach Volleyball Championships 28th Chess Olympiad 1938 FIFA World Cup Eurovision Song Contest 2014 Gordon Bennett Cup European Figure Skating Championships Eurovision Song Contest 1960 3rd unofficial Chess Olympiad 1934 FIFA World Cup Eurovision Song Contest 2006 Eurovision Song Contest 2007 Eurovision Song Contest 2005 Eurovision Song Contest 2009 Eurovision Song Contest 2008 Eurovision Song Contest 2010 1962 FIFA World Cup Eurovision Song Contest 1982 31st Chess Olympiad Yukon Quest Eurovision Song Contest 1976 5th Chess Olympiad Eurovision Song Contest 1964 Eurovision Song Contest 1997 14th Chess Olympiad Eurovision Song Contest 1962 Eurovision Song Contest 1985 Cannes Film Festival Eurovision Song Contest 1980 Panafrican Film and Television Festival of Ouagadougou 1958 FIFA World Cup 2014 European Beach Volleyball Championships 11th Chess Olympiad 2011 CONCACAF Gold Cup Eurovision Song Contest 1978 1974 FIFA World Cup Eurovision Song Contest 1981 Olympic Games 36th Chess Olympiad 37th Chess Olympiad Eurovision Song Contest 1972 4th Chess Olympiad Wikimania Eurovision Song Contest 1990 World Artistic Gymnastics Championships 13th Chess Olympiad Eurovision Song Contest 1989 Eurovision Song Contest 1991 2015 CONCACAF Gold Cup Lahti Ski Games 40th Chess Olympiad 1978 FIFA World Cup 19th Chess Olympiad Eurovision Song Contest 1984 Eurovision Song Contest 1969 Eurovision Song Contest 1967 16th Chess Olympiad 33rd Chess Olympiad 1930 FIFA World Cup 35th Chess Olympiad World Rowing Cup 34th Chess Olympiad Eurovision Song Contest 2013 Eurovision Song Contest 2012 Eurovision Song Contest 2011 Eurovision Song Contest 2002 Eurovision Song Contest 2001 24th Chess Olympiad Eurovision Song Contest 2016 38th Chess Olympiad 1950 FIFA World Cup 1st Chess Olympiad Eurovision Song Contest 1965 Eurovision Song Contest 2003 2015 European Beach Volleyball Championships Eurovision Song Contest 1956 9th Chess Olympiad 23rd Chess Olympiad Paris–Bourges 7th Chess Olympiad 21st Chess Olympiad 2nd unofficial Chess Olympiad 20th Chess Olympiad Kentucky Derby Eurovision Song Contest 1999 Eurovision Song Contest 1996 Eurovision Song Contest 1958 South by Southwest Eurovision Song Contest 2015 GLAM on Tour 1st unofficial Chess Olympiad Eurovision Song Contest 2000 27th Chess Olympiad 26th Chess Olympiad Eurovision Song Contest 1963 Eurovision Song Contest 1986 Eurovision Song Contest 1973 Eurovision Song Contest 1977 Eurovision Song Contest 1975 Eurovision Song Contest 1961 Eurovision Song Contest 1979 8th Chess Olympiad Eurovision Song Contest 1957 Eurovision Song Contest 1974 41st Chess Olympiad Eurovision Song Contest 1966 22nd Chess Olympiad Eurovision Song Contest 1983 Eurovision Song Contest 1992 Eurovision Song Contest 1994 Eurovision Song Contest 1993 1966 FIFA World Cup Eurovision Song Contest 1998 25th Chess Olympiad 1954 FIFA World Cup 1970 FIFA World Cup 2016 European Beach Volleyball Championships Eurovision Song Contest 1995 Eurovision Song Contest 1970 Eurovision Song Contest 2004 12th Chess Olympiad Eurovision Song Contest 1959 Eurovision Song Contest 1971 World Rowing Championships
137
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participant_of ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:recurring_event }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3289592
P608
Q464980 Q1656682 Q502895
USER
How many people were exhibited at greater number of exhibitions and events than Moniek Toebosch ?
(c(Q502895),P608,c(Q464980)|c(Q1656682))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action count
action filter_multi_types
action find
entity Q3289592
relation P608
type Q464980
type Q1656682
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q1656682 ) ( ontology:Q464980 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Q3289592 property:P608 ?i . { { ?i rdf:type ontology:Q464980 } UNION { ?i rdf:type ontology:Q1656682 } } } } . FILTER ( ?v > ?m ) }
Moniek Toebosch
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type event
action count
action filter_multi_types
action find
entity Moniek Toebosch
relation exhibition history
type exhibition
type event
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:event ) ( ontology:exhibition ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Moniek_Toebosch property:exhibition_history ?i . { { ?i rdf:type ontology:exhibition } UNION { ?i rdf:type ontology:event } } } } . FILTER ( ?v > ?m ) }
[]
exhibition event common name
SYSTEM
6
Q70006 Q17455385 Q16062545 Q20888837 Q22815085 Q3335569
(c(Q502895),P608,c(Q464980)|c(Q1656682))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action count
action filter_multi_types
action find
entity Q3289592
relation P608
type Q464980
type Q1656682
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q1656682 ) ( ontology:Q464980 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Q3289592 property:P608 ?i . { { ?i rdf:type ontology:Q464980 } UNION { ?i rdf:type ontology:Q1656682 } } } } . FILTER ( ?v > ?m ) }
Lotte Jacobi Jerry Cooke Alice Havers Angélique Bègue Georges Violet Nancy Elizabeth Prophet
6
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type event
action count
action filter_multi_types
action find
entity Moniek Toebosch
relation exhibition history
type exhibition
type event
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:event ) ( ontology:exhibition ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Moniek_Toebosch property:exhibition_history ?i . { { ?i rdf:type ontology:exhibition } UNION { ?i rdf:type ontology:event } } } } . FILTER ( ?v > ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q16121375
P608
Q464980 Q1656682 Q502895
USER
And what about Judith Lowry?
(c(Q502895),P608,c(Q464980)|c(Q1656682))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action count
action filter_multi_types
action find
entity Q16121375
relation P608
type Q464980
type Q1656682
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?j ) WHERE { { ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q464980 . ?i property:P608 ?v } UNION { ?i property:P608 ?v . ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q1656682 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q16121375 property:P608 ?g . { VALUES ( ?s ) { ( ontology:Q464980 ) ( ontology:Q1656682 ) } . ?g rdf:type ?s } } } . FILTER ( ?j > ?t ) }
Judith Lowry
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type event
action count
action filter_multi_types
action find
entity Judith Lowry
relation exhibition history
type exhibition
type event
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?j ) WHERE { { ?i rdf:type ontology:common_name . ?v rdf:type ontology:exhibition . ?i property:exhibition_history ?v } UNION { ?i property:exhibition_history ?v . ?i rdf:type ontology:common_name . ?v rdf:type ontology:event } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Judith_Lowry property:exhibition_history ?g . { VALUES ( ?s ) { ( ontology:exhibition ) ( ontology:event ) } . ?g rdf:type ?s } } } . FILTER ( ?j > ?t ) }
[]
exhibition event common name
SYSTEM
6
Q70006 Q17455385 Q16062545 Q20888837 Q22815085 Q3335569
(c(Q502895),P608,c(Q464980)|c(Q1656682))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action count
action filter_multi_types
action find
entity Q16121375
relation P608
type Q464980
type Q1656682
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?j ) WHERE { { ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q464980 . ?i property:P608 ?v } UNION { ?i property:P608 ?v . ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q1656682 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q16121375 property:P608 ?g . { VALUES ( ?s ) { ( ontology:Q464980 ) ( ontology:Q1656682 ) } . ?g rdf:type ?s } } } . FILTER ( ?j > ?t ) }
Lotte Jacobi Jerry Cooke Alice Havers Angélique Bègue Georges Violet Nancy Elizabeth Prophet
6
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type event
action count
action filter_multi_types
action find
entity Judith Lowry
relation exhibition history
type exhibition
type event
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?j ) WHERE { { ?i rdf:type ontology:common_name . ?v rdf:type ontology:exhibition . ?i property:exhibition_history ?v } UNION { ?i property:exhibition_history ?v . ?i rdf:type ontology:common_name . ?v rdf:type ontology:event } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Judith_Lowry property:exhibition_history ?g . { VALUES ( ?s ) { ( ontology:exhibition ) ( ontology:event ) } . ?g rdf:type ?s } } } . FILTER ( ?j > ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q46934
P1923
Q1194951
USER
How many national sports teams took part in 1982 FIFA World Cup ?
(Q46934,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q46934
relation P1923
type Q1194951
['Q46934', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:Q1194951 . resource:Q46934 property:P1923 ?y }
1982 FIFA World Cup
action count
action filter_type
action find
entity 1982 FIFA World Cup
relation participating teams
type national sports team
['1982 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:national_sports_team . resource:1982_FIFA_World_Cup property:participating_teams ?y }
[]
national sports team
SYSTEM
24
Q182072 Q212166 Q42267 Q166776 Q181903 Q189275 Q166196 Q34044 Q83459 Q175309 Q180187 Q188228 Q190978 Q79800 Q47762 Q163534 Q188363 Q170561 Q172025 Q43310 Q676899 Q175315 Q206828 Q47774
(Q46934,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q46934
relation P1923
type Q1194951
[ANSWER]
['Q46934', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:Q1194951 . resource:Q46934 property:P1923 ?y }
Czechoslovakia national football team Peru national football team Spain national football team Belgium national football team Algeria national football team Soviet Union national football team Poland national football team Scotland national football team Brazil national football team Cameroon national football team Honduras national football team El Salvador national football team Northern Ireland national football team Argentina national football team England national football team Austria national football team Yugoslavia national football team Hungary national football team Chile national football team Germany national football team Italy national football team New Zealand national football team Kuwait national football team France national football team
24
action count
action filter_type
action find
entity 1982 FIFA World Cup
relation participating teams
type national sports team
['1982 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:national_sports_team . resource:1982_FIFA_World_Cup property:participating_teams ?y }
[]