Simple Question (Direct)
Simple Question
Q647562
P54
Q1194951
USER
What is Erich Brabec a member of ?
(Q647562,P54,c(Q1194951))
action filter_type
action find
entity Q647562
relation P54
type Q1194951
['Q647562', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { resource:Q647562 property:P54 ?h . ?h rdf:type ontology:Q1194951 }
Erich Brabec
action filter_type
action find
entity Erich Brabec
relation member of sports team
type national sports team
['Erich Brabec', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { resource:Erich_Brabec property:member_of_sports_team ?h . ?h rdf:type ontology:national_sports_team }
[]
national sports team
Q483868
SYSTEM
Czech Republic national football team
Q483868
(Q647562,P54,c(Q1194951))
action filter_type
action find
entity Q647562
relation P54
type Q1194951
Erich Brabec a member of is the [ANSWER]
['Q647562', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { resource:Q647562 property:P54 ?h . ?h rdf:type ontology:Q1194951 }
Czech Republic national football team
Erich Brabec a member of is the Czech Republic national football team
Czech Republic national football team
action filter_type
action find
entity Erich Brabec
relation member of sports team
type national sports team
['Erich Brabec', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { resource:Erich_Brabec property:member_of_sports_team ?h . ?h rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q483868
P463
Q1346006
USER
What international sport governing bodies had that national sports team as their member ?
(Q483868,P463,c(Q1346006))
action filter_type
action find
entity Q483868
relation P463
type Q1346006
['Q483868', 'P463', {'concept': 'Q1346006'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1346006 . resource:Q483868 property:P463 ?d }
Czech Republic national football team
action filter_type
action find
entity Czech Republic national football team
relation member of
type international sport governing body
['Czech Republic national football team', 'member of', {'concept': 'international sport governing body'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:international_sport_governing_body . resource:Czech_Republic_national_football_team property:member_of ?d }
[]
international sport governing body
Q253414 Q35572
SYSTEM
FIFA, Union of European Football Associations
Q253414 Q35572
(Q483868,P463,c(Q1346006))
action filter_type
action find
entity Q483868
relation P463
type Q1346006
[ANSWERS] had that national sports team as their member
['Q483868', 'P463', {'concept': 'Q1346006'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1346006 . resource:Q483868 property:P463 ?d }
FIFA Union of European Football Associations
FIFA and Union of European Football Associations had that national sports team as their member
FIFA Union of European Football Associations
action filter_type
action find
entity Czech Republic national football team
relation member of
type international sport governing body
['Czech Republic national football team', 'member of', {'concept': 'international sport governing body'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:international_sport_governing_body . resource:Czech_Republic_national_football_team property:member_of ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q647562 Q1717129
P106
Q12737077
USER
How many occupations have Erich Brabec or Jürgen Emig as his/her as a career ?
(Q647562,P106,c(Q12737077)) (Q1717129,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q647562
relation P106
type Q12737077
action filter_type
action find
entity Q1717129
relation P106
type Q12737077
['Q647562', 'P106', {'concept': 'Q12737077'}] ['Q1717129', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s rdf:type ontology:Q12737077 . resource:Q647562 property:P106 ?s } UNION { resource:Q1717129 property:P106 ?s . ?s rdf:type ontology:Q12737077 } }
Erich Brabec Jürgen Emig
action count
action union
action filter_type
action find
entity Erich Brabec
relation occupation
type occupation
action filter_type
action find
entity Jürgen Emig
relation occupation
type occupation
['Erich Brabec', 'occupation', {'concept': 'occupation'}] ['Jürgen Emig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s rdf:type ontology:occupation . resource:Erich_Brabec property:occupation ?s } UNION { resource:Jürgen_Emig property:occupation ?s . ?s rdf:type ontology:occupation } }
[]
occupation
SYSTEM
2
Q947873 Q937857
(Q647562,P106,c(Q12737077)) (Q1717129,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q647562
relation P106
type Q12737077
action filter_type
action find
entity Q1717129
relation P106
type Q12737077
[ANSWER]
['Q647562', 'P106', {'concept': 'Q12737077'}] ['Q1717129', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s rdf:type ontology:Q12737077 . resource:Q647562 property:P106 ?s } UNION { resource:Q1717129 property:P106 ?s . ?s rdf:type ontology:Q12737077 } }
television presenter association football player
2
action count
action union
action filter_type
action find
entity Erich Brabec
relation occupation
type occupation
action filter_type
action find
entity Jürgen Emig
relation occupation
type occupation
['Erich Brabec', 'occupation', {'concept': 'occupation'}] ['Jürgen Emig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s rdf:type ontology:occupation . resource:Erich_Brabec property:occupation ?s } UNION { resource:Jürgen_Emig property:occupation ?s . ?s rdf:type ontology:occupation } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q13406554 Q15275719
USER
Which national sports teams were participants in exactly 2 sport competitions or recurring events ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 2
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?j ) WHERE { { ?c rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q13406554 . ?i property:P1923 ?c } UNION { ?i property:P1923 ?c . ?c rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q15275719 } } GROUP BY ?c } }
action equal
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 2
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?j ) WHERE { { ?c rdf:type ontology:national_sports_team . ?i rdf:type ontology:sport_competition . ?i property:participating_teams ?c } UNION { ?i property:participating_teams ?c . ?c rdf:type ontology:national_sports_team . ?i rdf:type ontology:recurring_event } } GROUP BY ?c } }
[]
national sports team sport competition recurring event
Q236006 Q188228 Q175315
SYSTEM
Haiti national football team, El Salvador national football team, New Zealand national football team
Q188228 Q175315 Q172221 Q235399 Q28089 Q236006 Q14132
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 2
[ANSWERS] were participants in exactly 2 sport competitions or recurring events
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?j ) WHERE { { ?c rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q13406554 . ?i property:P1923 ?c } UNION { ?i property:P1923 ?c . ?c rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q15275719 } } GROUP BY ?c } }
El Salvador national football team New Zealand national football team Slovenia national football team Jamaica national football team Egypt national football team Haiti national football team North Korea national football team
Haiti national football team, El Salvador national football team and New Zealand national football team were participants in exactly 2 sport competitions or recurring events
Haiti national football team El Salvador national football team New Zealand national football team
action equal
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 2
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?j ) WHERE { { ?c rdf:type ontology:national_sports_team . ?i rdf:type ontology:sport_competition . ?i property:participating_teams ?c } UNION { ?i property:participating_teams ?c . ?c rdf:type ontology:national_sports_team . ?i rdf:type ontology:recurring_event } } GROUP BY ?c } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1923
Q1194951 Q13406554
USER
Which sport competitions did max number of national sports teams participate in ?
(c(Q13406554),P1923,c(Q1194951))
action argmax
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?c ) WHERE { ?l property:P1923 ?y . ?l rdf:type ontology:Q13406554 . ?y rdf:type ontology:Q1194951 } GROUP BY ?l } } . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?o ) WHERE { ?j rdf:type ontology:Q13406554 . ?k rdf:type ontology:Q1194951 . ?j property:P1923 ?k } GROUP BY ?j } . FILTER ( ?o = ?z ) }
action argmax
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?c ) WHERE { ?l property:participating_teams ?y . ?l rdf:type ontology:sport_competition . ?y rdf:type ontology:national_sports_team } GROUP BY ?l } } . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?o ) WHERE { ?j rdf:type ontology:sport_competition . ?k rdf:type ontology:national_sports_team . ?j property:participating_teams ?k } GROUP BY ?j } . FILTER ( ?o = ?z ) }
[]
national sports team sport competition
Q576136
SYSTEM
Copa América Centenario
Q576136
(c(Q13406554),P1923,c(Q1194951))
action argmax
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
[ANSWER] max number of national sports teams participated in
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?c ) WHERE { ?l property:P1923 ?y . ?l rdf:type ontology:Q13406554 . ?y rdf:type ontology:Q1194951 } GROUP BY ?l } } . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?o ) WHERE { ?j rdf:type ontology:Q13406554 . ?k rdf:type ontology:Q1194951 . ?j property:P1923 ?k } GROUP BY ?j } . FILTER ( ?o = ?z ) }
Copa América Centenario
Copa América Centenario max number of national sports teams participated in
Copa América Centenario
action argmax
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?c ) WHERE { ?l property:participating_teams ?y . ?l rdf:type ontology:sport_competition . ?y rdf:type ontology:national_sports_team } GROUP BY ?l } } . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?o ) WHERE { ?j rdf:type ontology:sport_competition . ?k rdf:type ontology:national_sports_team . ?j property:participating_teams ?k } GROUP BY ?j } . FILTER ( ?o = ?z ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q349 Q13406554
USER
Which sports were approximately 2701 sport competitions a part of ?
(c(Q13406554),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 2701
[{'concept': 'Q13406554'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:P641 ?u . ?u rdf:type ontology:Q349 . ?p rdf:type ontology:Q13406554 } GROUP BY ?u } . FILTER ( ?t = 2701 ) }
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 2701
[{'concept': 'sport competition'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:sport ?u . ?u rdf:type ontology:sport . ?p rdf:type ontology:sport_competition } GROUP BY ?u } . FILTER ( ?t = 2701 ) }
[]
sport sport competition
Q5369 Q7291 Q5372
SYSTEM
baseball, badminton, basketball
Q7291 Q5372 Q5369 Q41466
(c(Q13406554),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 2701
[ANSWERS] were approximately 2701 sport competitions a part of
[{'concept': 'Q13406554'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:P641 ?u . ?u rdf:type ontology:Q349 . ?p rdf:type ontology:Q13406554 } GROUP BY ?u } . FILTER ( ?t = 2701 ) }
badminton basketball baseball ice hockey
Baseball, badminton and basketball were approximately 2701 sport competitions a part of
baseball badminton basketball
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 2701
[{'concept': 'sport competition'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:sport ?u . ?u rdf:type ontology:sport . ?p rdf:type ontology:sport_competition } GROUP BY ?u } . FILTER ( ?t = 2701 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P6
Q502895
USER
Which people are the head of government of United States of America ?
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q30 property:P6 ?c . ?c rdf:type ontology:Q502895 }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:United_States_of_America property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWERS] are the head of government of United States of America
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q30 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
Barack Obama, Dwight D. Eisenhower and Donald Trump are the head of government of United States of America
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:United_States_of_America property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6842
Q502895
USER
And how about Kleve?
(Q6842,P6,c(Q502895))
action filter_type
action find
entity Q6842
relation P6
type Q502895
['Q6842', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q6842 property:P6 ?h }
Kleve
action filter_type
action find
entity Kleve
relation head of government
type common name
['Kleve', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Kleve property:head_of_government ?h }
[]
common name
Q21031680 Q2417390
SYSTEM
Sonja Northing, Theodor Brauer
Q21031680 Q2417390
(Q6842,P6,c(Q502895))
action filter_type
action find
entity Q6842
relation P6
type Q502895
[ANSWERS]
['Q6842', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q6842 property:P6 ?h }
Sonja Northing Theodor Brauer
Sonja Northing Theodor Brauer
action filter_type
action find
entity Kleve
relation head of government
type common name
['Kleve', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Kleve property:head_of_government ?h }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21031680 Q2417390
P27
Q1048835
USER
Which political territories do Sonja Northing and Theodor Brauer belong to ?
(Q21031680,P27,c(Q1048835)) (Q2417390,P27,c(Q1048835))
action union
action filter_type
action find
entity Q21031680
relation P27
type Q1048835
action filter_type
action find
entity Q2417390
relation P27
type Q1048835
['Q21031680', 'P27', {'concept': 'Q1048835'}] ['Q2417390', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?h ) { ( resource:Q21031680 ) ( resource:Q2417390 ) } . ?h property:P27 ?i }
Sonja Northing Theodor Brauer
action union
action filter_type
action find
entity Sonja Northing
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Theodor Brauer
relation country of citizenship
type political territorial entity
['Sonja Northing', 'country of citizenship', {'concept': 'political territorial entity'}] ['Theodor Brauer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?h ) { ( resource:Sonja_Northing ) ( resource:Theodor_Brauer ) } . ?h property:country_of_citizenship ?i }
[]
political territorial entity
Q183 Q183
SYSTEM
Germany
Q183 Q183
(Q21031680,P27,c(Q1048835)) (Q2417390,P27,c(Q1048835))
action union
action filter_type
action find
entity Q21031680
relation P27
type Q1048835
action filter_type
action find
entity Q2417390
relation P27
type Q1048835
Sonja Northing and Theodor Brauer belong to the [ANSWER] and [ANSWER]
['Q21031680', 'P27', {'concept': 'Q1048835'}] ['Q2417390', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?h ) { ( resource:Q21031680 ) ( resource:Q2417390 ) } . ?h property:P27 ?i }
Germany Germany
Sonja Northing and Theodor Brauer belong to the Germany and Germany
Germany Germany
action union
action filter_type
action find
entity Sonja Northing
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Theodor Brauer
relation country of citizenship
type political territorial entity
['Sonja Northing', 'country of citizenship', {'concept': 'political territorial entity'}] ['Theodor Brauer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?h ) { ( resource:Sonja_Northing ) ( resource:Theodor_Brauer ) } . ?h property:country_of_citizenship ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q76
P102
Q7210356
USER
Which party does Barack Obama belong to ?
(Q76,P102,c(Q7210356))
action filter_type
action find
entity Q76
relation P102
type Q7210356
['Q76', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q76 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Barack Obama
action filter_type
action find
entity Barack Obama
relation member of political party
type political organization
['Barack Obama', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Barack_Obama property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q76,P102,c(Q7210356))
action filter_type
action find
entity Q76
relation P102
type Q7210356
Barack Obama belongs to [ANSWER]
['Q76', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q76 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Democratic Party
Barack Obama belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Barack Obama
relation member of political party
type political organization
['Barack Obama', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Barack_Obama property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q29552 Q30
P17
Q15617994
USER
Is Democratic Party present in United States of America ?
(Q29552,P17,Q30)
action is_in
entity Q30
action find
entity Q29552
relation P17
['Q29552', 'P17', 'Q30']
ASK WHERE { resource:Q29552 property:P17 resource:Q30 }
Democratic Party United States of America
action is_in
entity United States of America
action find
entity Democratic Party
relation country
['Democratic Party', 'country', 'United States of America']
ASK WHERE { resource:Democratic_Party property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q29552,P17,Q30)
action is_in
entity Q30
action find
entity Q29552
relation P17
[ANSWER]
['Q29552', 'P17', 'Q30']
ASK WHERE { resource:Q29552 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Democratic Party
relation country
['Democratic Party', 'country', 'United States of America']
ASK WHERE { resource:Democratic_Party property:country resource:United_States_of_America }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P641
Q349 Q502895 Q18608583
USER
Which sports did min number of people or recurring sporting events participate in ?
(c(Q502895)|c(Q18608583),P641,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:P641 ?x . ?x rdf:type ontology:Q349 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P641 ?x . ?x rdf:type ontology:Q349 . ?i rdf:type ontology:Q18608583 } } GROUP BY ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?v ) WHERE { { ?h rdf:type ontology:Q349 . ?n rdf:type ontology:Q18608583 . ?n property:P641 ?h } UNION { ?h rdf:type ontology:Q349 . ?n rdf:type ontology:Q502895 . ?n property:P641 ?h } } GROUP BY ?h } . FILTER ( ?v = ?m ) }
action argmin
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:sport ?x . ?x rdf:type ontology:sport . ?i rdf:type ontology:common_name } UNION { ?i property:sport ?x . ?x rdf:type ontology:sport . ?i rdf:type ontology:recurring_sporting_event } } GROUP BY ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?v ) WHERE { { ?h rdf:type ontology:sport . ?n rdf:type ontology:recurring_sporting_event . ?n property:sport ?h } UNION { ?h rdf:type ontology:sport . ?n rdf:type ontology:common_name . ?n property:sport ?h } } GROUP BY ?h } . FILTER ( ?v = ?m ) }
[]
sport common name recurring sporting event
Q809831 Q2701632 Q193387
SYSTEM
BASE jumping, muggle quidditch, croquet
Q2348250 Q193387 Q4808504 Q3844480 Q809831 Q244700 Q1497658 Q192832 Q601972 Q192937 Q188966 Q27672886 Q338208 Q148636 Q2887217 Q1050588 Q592031 Q1345388 Q1866478 Q2302906 Q231200 Q990637 Q1358545 Q61065 Q4429020 Q14300548 Q4245261 Q3177899 Q4347112 Q2167372 Q535116 Q1078835 Q1899731 Q943526 Q1063445 Q3325635 Q2701632 Q1875777 Q14405929 Q1129021 Q1199515 Q17988507 Q1784241 Q1188693
(c(Q502895)|c(Q18608583),P641,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
Min number of people or recurring sporting events participated in [ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:P641 ?x . ?x rdf:type ontology:Q349 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P641 ?x . ?x rdf:type ontology:Q349 . ?i rdf:type ontology:Q18608583 } } GROUP BY ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?v ) WHERE { { ?h rdf:type ontology:Q349 . ?n rdf:type ontology:Q18608583 . ?n property:P641 ?h } UNION { ?h rdf:type ontology:Q349 . ?n rdf:type ontology:Q502895 . ?n property:P641 ?h } } GROUP BY ?h } . FILTER ( ?v = ?m ) }
team time trial croquet snocross rink bandy BASE jumping Ultimate memory sport paintball Camogie korfball contract bridge Flying disc games giant slalom skiing Kabaddi women's basketball fistball wingsuit flying greyhound racing American handball Box lacrosse netball Broomball arena football water sport competition aerobatics skating touring car racing bowling strength athletics fell running beach handball Powerchair Football Frisian handball Castell nine-ball Valencian trinquet muggle quidditch air racing high diving super giant slalom skiing formula racing women's tennis korbball mind sport
Min number of people or recurring sporting events participated in BASE jumping, muggle quidditch and croquet
BASE jumping muggle quidditch croquet
action argmin
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:sport ?x . ?x rdf:type ontology:sport . ?i rdf:type ontology:common_name } UNION { ?i property:sport ?x . ?x rdf:type ontology:sport . ?i rdf:type ontology:recurring_sporting_event } } GROUP BY ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?v ) WHERE { { ?h rdf:type ontology:sport . ?n rdf:type ontology:recurring_sporting_event . ?n property:sport ?h } UNION { ?h rdf:type ontology:sport . ?n rdf:type ontology:common_name . ?n property:sport ?h } } GROUP BY ?h } . FILTER ( ?v = ?m ) }
[]