Simple Question (Direct)
Simple Question
Q20639294
P54
Q618123
USER
What sports team is Konrad Kaczmarek a member of ?
(Q20639294,P54,c(Q618123))
action filter_type
action find
entity Q20639294
relation P54
type Q618123
['Q20639294', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618123 . resource:Q20639294 property:P54 ?x }
Konrad Kaczmarek
action filter_type
action find
entity Konrad Kaczmarek
relation member of sports team
type geographical object
['Konrad Kaczmarek', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:geographical_object . resource:Konrad_Kaczmarek property:member_of_sports_team ?x }
[]
geographical object
Q328655
SYSTEM
Śląsk Wrocław
Q328655
(Q20639294,P54,c(Q618123))
action filter_type
action find
entity Q20639294
relation P54
type Q618123
The [ANSWER] is Konrad Kaczmarek a member of
['Q20639294', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618123 . resource:Q20639294 property:P54 ?x }
Śląsk Wrocław
The Śląsk Wrocław is Konrad Kaczmarek a member of
Śląsk Wrocław
action filter_type
action find
entity Konrad Kaczmarek
relation member of sports team
type geographical object
['Konrad Kaczmarek', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:geographical_object . resource:Konrad_Kaczmarek property:member_of_sports_team ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20639294
P106
Q12737077
USER
Which occupation has Konrad Kaczmarek as his/her 's career ?
(Q20639294,P106,c(Q12737077))
action filter_type
action find
entity Q20639294
relation P106
type Q12737077
['Q20639294', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q20639294 property:P106 ?j }
Konrad Kaczmarek
action filter_type
action find
entity Konrad Kaczmarek
relation occupation
type occupation
['Konrad Kaczmarek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Konrad_Kaczmarek property:occupation ?j }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20639294,P106,c(Q12737077))
action filter_type
action find
entity Q20639294
relation P106
type Q12737077
Player [ANSWER] has Konrad Kaczmarek as his/her 's career
['Q20639294', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q20639294 property:P106 ?j }
association football player
Player association football player has Konrad Kaczmarek as his/her 's career
association football player
action filter_type
action find
entity Konrad Kaczmarek
relation occupation
type occupation
['Konrad Kaczmarek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Konrad_Kaczmarek property:occupation ?j }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q973659 Q328655
P1344
Q13406554
USER
Which sport competitions did Śląsk Wrocław or Evan Jager participate in ?
OR((Q328655,P1344,c(Q13406554)), (Q973659,P1344,c(Q13406554)))
action filter_type
action union
action find
entity Q328655
relation P1344
action find
entity Q973659
relation P1344
type Q13406554
{'OR': [['Q328655', 'P1344', {'concept': 'Q13406554'}], ['Q973659', 'P1344', {'concept': 'Q13406554'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q328655 property:P1344 ?n } UNION { resource:Q973659 property:P1344 ?n } } . ?n rdf:type ontology:Q13406554 }
Evan Jager Śląsk Wrocław
action filter_type
action union
action find
entity Śląsk Wrocław
relation participant of
action find
entity Evan Jager
relation participant of
type sport competition
{'OR': [['Śląsk Wrocław', 'participant of', {'concept': 'sport competition'}], ['Evan Jager', 'participant of', {'concept': 'sport competition'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Śląsk_Wrocław property:participant_of ?n } UNION { resource:Evan_Jager property:participant_of ?n } } . ?n rdf:type ontology:sport_competition }
[]
sport competition
Q11093415 Q16543222 Q1026555 Q842232
SYSTEM
2013–14 Ekstraklasa, 2014–15 Ekstraklasa, 2015 World Championships in Athletics, 2013 World Championships in Athletics
Q11093415 Q16543222 Q1026555 Q842232
OR((Q328655,P1344,c(Q13406554)), (Q973659,P1344,c(Q13406554)))
action filter_type
action union
action find
entity Q328655
relation P1344
action find
entity Q973659
relation P1344
type Q13406554
Śląsk Wrocław or Evan Jager participated in [ANSWERS]
{'OR': [['Q328655', 'P1344', {'concept': 'Q13406554'}], ['Q973659', 'P1344', {'concept': 'Q13406554'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q328655 property:P1344 ?n } UNION { resource:Q973659 property:P1344 ?n } } . ?n rdf:type ontology:Q13406554 }
2013–14 Ekstraklasa 2014–15 Ekstraklasa 2015 World Championships in Athletics 2013 World Championships in Athletics
Śląsk Wrocław or Evan Jager participated in 2013–14 Ekstraklasa, 2014–15 Ekstraklasa, 2015 World Championships in Athletics and 2013 World Championships in Athletics
2013–14 Ekstraklasa 2014–15 Ekstraklasa 2015 World Championships in Athletics 2013 World Championships in Athletics
action filter_type
action union
action find
entity Śląsk Wrocław
relation participant of
action find
entity Evan Jager
relation participant of
type sport competition
{'OR': [['Śląsk Wrocław', 'participant of', {'concept': 'sport competition'}], ['Evan Jager', 'participant of', {'concept': 'sport competition'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Śląsk_Wrocław property:participant_of ?n } UNION { resource:Evan_Jager property:participant_of ?n } } . ?n rdf:type ontology:sport_competition }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q288394
P2522
Q13406554 Q502895
USER
How many people were victorious in less number of sport competitions than Éric Tabarly ?
(c(Q502895),P2522,c(Q13406554))
action count
action less
action find_tuple_counts
relation P2522
type Q502895
type Q13406554
action count
action filter_type
action find
entity Q288394
relation P2522
type Q13406554
[{'concept': 'Q502895'}, 'P2522', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q288394 property:P2522 ?y . ?y rdf:type ontology:Q13406554 } } . FILTER ( ?u < ?z ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?u ) WHERE { ?c property:P2522 ?w . ?w rdf:type ontology:Q13406554 . ?c rdf:type ontology:Q502895 } GROUP BY ?c } }
Éric Tabarly
action count
action less
action find_tuple_counts
relation victory
type common name
type sport competition
action count
action filter_type
action find
entity Éric Tabarly
relation victory
type sport competition
[{'concept': 'common name'}, 'victory', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Éric_Tabarly property:victory ?y . ?y rdf:type ontology:sport_competition } } . FILTER ( ?u < ?z ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?u ) WHERE { ?c property:victory ?w . ?w rdf:type ontology:sport_competition . ?c rdf:type ontology:common_name } GROUP BY ?c } }
[]
sport competition common name
SYSTEM
26
Q18638320 Q15792007 Q26224845 Q26707680 Q188197 Q285340 Q16217211 Q266733 Q15143907 Q240555 Q20810472 Q3881585 Q274636 Q256946 Q24326862 Q20993746 Q13592785 Q289826 Q21183713 Q24326884 Q309911 Q563737 Q18587958 Q6286898 Q21537410 Q239208
(c(Q502895),P2522,c(Q13406554))
action count
action less
action find_tuple_counts
relation P2522
type Q502895
type Q13406554
action count
action filter_type
action find
entity Q288394
relation P2522
type Q13406554
[ANSWER]
[{'concept': 'Q502895'}, 'P2522', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q288394 property:P2522 ?y . ?y rdf:type ontology:Q13406554 } } . FILTER ( ?u < ?z ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?u ) WHERE { ?c property:P2522 ?w . ?w rdf:type ontology:Q13406554 . ?c rdf:type ontology:Q502895 } GROUP BY ?c } }
Keith Aili Antoine Demoitié Virginia Thrasher Ludovic Pommeret Fabian Cancellara Antoinette Nana Djimou Sarah Cahill Valentina Yegorova Dylan Groenewegen Natalie Glebova Kevin Bazinet Oleksandr Polivoda Christophe Lemaitre Matthew Goss Matt Hoy Florian Roller Andrea Huser Annemiek van Vleuten Antoine Guillon Richard Marsh Peter Sagan Anna van der Breggen Brent Sass Joseph Schooling Robert Brodribb Hammond Fatuma Roba
26
action count
action less
action find_tuple_counts
relation victory
type common name
type sport competition
action count
action filter_type
action find
entity Éric Tabarly
relation victory
type sport competition
[{'concept': 'common name'}, 'victory', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Éric_Tabarly property:victory ?y . ?y rdf:type ontology:sport_competition } } . FILTER ( ?u < ?z ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?u ) WHERE { ?c property:victory ?w . ?w rdf:type ontology:sport_competition . ?c rdf:type ontology:common_name } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2213222
P2522
Q13406554 Q502895
USER
And also tell me about Romain Pitau?
(c(Q502895),P2522,c(Q13406554))
action count
action less
action find_tuple_counts
relation P2522
type Q502895
type Q13406554
action count
action filter_type
action find
entity Q2213222
relation P2522
type Q13406554
[{'concept': 'Q502895'}, 'P2522', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?p ) WHERE { ?i property:P2522 ?a . ?a rdf:type ontology:Q13406554 . ?i rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q2213222 property:P2522 ?s . ?s rdf:type ontology:Q13406554 } } . FILTER ( ?p < ?f ) }
Romain Pitau
action count
action less
action find_tuple_counts
relation victory
type common name
type sport competition
action count
action filter_type
action find
entity Romain Pitau
relation victory
type sport competition
[{'concept': 'common name'}, 'victory', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?p ) WHERE { ?i property:victory ?a . ?a rdf:type ontology:sport_competition . ?i rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Romain_Pitau property:victory ?s . ?s rdf:type ontology:sport_competition } } . FILTER ( ?p < ?f ) }
[]
sport competition common name
SYSTEM
27
Q18638320 Q15792007 Q26224845 Q26707680 Q188197 Q285340 Q16217211 Q266733 Q15143907 Q240555 Q20810472 Q3881585 Q274636 Q256946 Q24326862 Q20993746 Q13592785 Q289826 Q21183713 Q24326884 Q309911 Q563737 Q288394 Q18587958 Q6286898 Q21537410 Q239208
(c(Q502895),P2522,c(Q13406554))
action count
action less
action find_tuple_counts
relation P2522
type Q502895
type Q13406554
action count
action filter_type
action find
entity Q2213222
relation P2522
type Q13406554
[ANSWER]
[{'concept': 'Q502895'}, 'P2522', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?p ) WHERE { ?i property:P2522 ?a . ?a rdf:type ontology:Q13406554 . ?i rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q2213222 property:P2522 ?s . ?s rdf:type ontology:Q13406554 } } . FILTER ( ?p < ?f ) }
Keith Aili Antoine Demoitié Virginia Thrasher Ludovic Pommeret Fabian Cancellara Antoinette Nana Djimou Sarah Cahill Valentina Yegorova Dylan Groenewegen Natalie Glebova Kevin Bazinet Oleksandr Polivoda Christophe Lemaitre Matthew Goss Matt Hoy Florian Roller Andrea Huser Annemiek van Vleuten Antoine Guillon Richard Marsh Peter Sagan Anna van der Breggen Éric Tabarly Brent Sass Joseph Schooling Robert Brodribb Hammond Fatuma Roba
27
action count
action less
action find_tuple_counts
relation victory
type common name
type sport competition
action count
action filter_type
action find
entity Romain Pitau
relation victory
type sport competition
[{'concept': 'common name'}, 'victory', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?p ) WHERE { ?i property:victory ?a . ?a rdf:type ontology:sport_competition . ?i rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Romain_Pitau property:victory ?s . ?s rdf:type ontology:sport_competition } } . FILTER ( ?p < ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9642
P276
Q41176
USER
Which building is the location of 1968 Winter Olympics ?
(Q9642,P276,c(Q41176))
action filter_type
action find
entity Q9642
relation P276
type Q41176
['Q9642', 'P276', {'concept': 'Q41176'}]
SELECT DISTINCT ?c WHERE { resource:Q9642 property:P276 ?c . ?c rdf:type ontology:Q41176 }
1968 Winter Olympics
action filter_type
action find
entity 1968 Winter Olympics
relation location
type building
['1968 Winter Olympics', 'location', {'concept': 'building'}]
SELECT DISTINCT ?c WHERE { resource:1968_Winter_Olympics property:location ?c . ?c rdf:type ontology:building }
[]
building
Q3496212
SYSTEM
Olympic Stadium
Q3496212
(Q9642,P276,c(Q41176))
action filter_type
action find
entity Q9642
relation P276
type Q41176
Stadium [ANSWER] is the location of 1968 Winter Olympics
['Q9642', 'P276', {'concept': 'Q41176'}]
SELECT DISTINCT ?c WHERE { resource:Q9642 property:P276 ?c . ?c rdf:type ontology:Q41176 }
Olympic Stadium
Stadium Olympic Stadium is the location of 1968 Winter Olympics
Olympic Stadium
action filter_type
action find
entity 1968 Winter Olympics
relation location
type building
['1968 Winter Olympics', 'location', {'concept': 'building'}]
SELECT DISTINCT ?c WHERE { resource:1968_Winter_Olympics property:location ?c . ?c rdf:type ontology:building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9642
P361
Q16510064
USER
What are a component of 1968 Winter Olympics ?
(c(Q16510064),P361,Q9642)
action filter_type
action find_reverse
entity Q9642
relation P361
type Q16510064
[{'concept': 'Q16510064'}, 'P361', 'Q9642']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q9642 . ?n rdf:type ontology:Q16510064 }
1968 Winter Olympics
action filter_type
action find_reverse
entity 1968 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1968 Winter Olympics']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:1968_Winter_Olympics . ?n rdf:type ontology:sporting_event }
[]
sporting event
Q747229 Q646423 Q261540
SYSTEM
Speed skating at the 1968 Winter Olympics, Figure skating at the 1968 Winter Olympics, Ice hockey at the 1968 Winter Olympics
Q747229 Q1627600 Q646423 Q988337 Q580619 Q1005630 Q1222452 Q1004907 Q426818 Q988353 Q1005144 Q261540 Q1005021 Q832686 Q1005795 Q643545 Q660715 Q1222512 Q794562 Q905414 Q730376 Q11297492 Q1005316 Q966888 Q1222240 Q1222698 Q1005176 Q663176 Q1005445 Q775928 Q785503 Q1005563
(c(Q16510064),P361,Q9642)
action filter_type
action find_reverse
entity Q9642
relation P361
type Q16510064
A component of 1968 Winter Olympics are [ANSWERS]
[{'concept': 'Q16510064'}, 'P361', 'Q9642']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q9642 . ?n rdf:type ontology:Q16510064 }
Speed skating at the 1968 Winter Olympics Nordic skiing at the 1968 Winter Olympics Figure skating at the 1968 Winter Olympics Ski jumping at the 1968 Winter Olympics – Large hill individual Speed skating at the 1968 Winter Olympics – Men's 1500 metres Alpine skiing at the 1968 Winter Olympics – Men's slalom Alpine skiing at the 1968 Winter Olympics – Women's downhill Speed skating at the 1968 Winter Olympics – Men's 10000 metres Speed skating at the 1968 Winter Olympics – Women's 3000 metres Ski jumping at the 1968 Winter Olympics – Normal hill individual Speed skating at the 1968 Winter Olympics – Men's 5000 metres Ice hockey at the 1968 Winter Olympics Biathlon at the 1968 Winter Olympics – Individual Bobsleigh at the 1968 Winter Olympics Alpine skiing at the 1968 Winter Olympics – Men's giant slalom Cross-country skiing at the 1968 Winter Olympics Alpine skiing at the 1968 Winter Olympics Alpine skiing at the 1968 Winter Olympics – Women's slalom Biathlon at the 1968 Winter Olympics Luge at the 1968 Winter Olympics Speed skating at the 1968 Winter Olympics – Women's 1500 metres Biathlon at the 1968 Winter Olympics – Relay Luge at the 1968 Winter Olympics – Men's singles Speed skating at the 1968 Winter Olympics – Women's 1000 metres Luge at the 1968 Winter Olympics – Women's singles Alpine skiing at the 1968 Winter Olympics – Women's giant slalom Speed skating at the 1968 Winter Olympics – Men's 500 metres Ski jumping at the 1968 Winter Olympics Luge at the 1968 Winter Olympics – Doubles Speed skating at the 1968 Winter Olympics – Women's 500 metres Nordic combined at the 1968 Winter Olympics Alpine skiing at the 1968 Winter Olympics – Men's downhill
A component of 1968 Winter Olympics are Speed skating at the 1968 Winter Olympics, Figure skating at the 1968 Winter Olympics and Ice hockey at the 1968 Winter Olympics
Speed skating at the 1968 Winter Olympics Figure skating at the 1968 Winter Olympics Ice hockey at the 1968 Winter Olympics
action filter_type
action find_reverse
entity 1968 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1968 Winter Olympics']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:1968_Winter_Olympics . ?n rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9642
P466
Q41176
USER
What was inhabited by 1968 Winter Olympics ?
(c(Q41176),P466,Q9642)
action filter_type
action find_reverse
entity Q9642
relation P466
type Q41176
[{'concept': 'Q41176'}, 'P466', 'Q9642']
SELECT DISTINCT ?c WHERE { ?c property:P466 resource:Q9642 . ?c rdf:type ontology:Q41176 }
1968 Winter Olympics
action filter_type
action find_reverse
entity 1968 Winter Olympics
relation occupant
type building
[{'concept': 'building'}, 'occupant', '1968 Winter Olympics']
SELECT DISTINCT ?c WHERE { ?c property:occupant resource:1968_Winter_Olympics . ?c rdf:type ontology:building }
[]
building
Q3496212
SYSTEM
Olympic Stadium
Q3496212
(c(Q41176),P466,Q9642)
action filter_type
action find_reverse
entity Q9642
relation P466
type Q41176
[ANSWER] was inhabited by 1968 Winter Olympics
[{'concept': 'Q41176'}, 'P466', 'Q9642']
SELECT DISTINCT ?c WHERE { ?c property:P466 resource:Q9642 . ?c rdf:type ontology:Q41176 }
Olympic Stadium
Olympic Stadium was inhabited by 1968 Winter Olympics
Olympic Stadium
action filter_type
action find_reverse
entity 1968 Winter Olympics
relation occupant
type building
[{'concept': 'building'}, 'occupant', '1968 Winter Olympics']
SELECT DISTINCT ?c WHERE { ?c property:occupant resource:1968_Winter_Olympics . ?c rdf:type ontology:building }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q749888 Q646423
P361
Q15900616
USER
Which event sequences are Figure skating at the 1968 Winter Olympics or Speed skating at the 2006 Winter Olympics – Women's team pursuit a component of ?
OR((Q646423,P361,c(Q15900616)), (Q749888,P361,c(Q15900616)))
action filter_type
action union
action find
entity Q646423
relation P361
action find
entity Q749888
relation P361
type Q15900616
{'OR': [['Q646423', 'P361', {'concept': 'Q15900616'}], ['Q749888', 'P361', {'concept': 'Q15900616'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q646423 property:P361 ?h } UNION { resource:Q749888 property:P361 ?h } } . ?h rdf:type ontology:Q15900616 }
Speed skating at the 2006 Winter Olympics – Women's team pursuit Figure skating at the 1968 Winter Olympics
action filter_type
action union
action find
entity Figure skating at the 1968 Winter Olympics
relation part of
action find
entity Speed skating at the 2006 Winter Olympics – Women's team pursuit
relation part of
type event sequence
{'OR': [['Figure skating at the 1968 Winter Olympics', 'part of', {'concept': 'event sequence'}], ["Speed skating at the 2006 Winter Olympics – Women's team pursuit", 'part of', {'concept': 'event sequence'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Figure_skating_at_the_1968_Winter_Olympics property:part_of ?h } UNION { resource:Speed_skating_at_the_2006_Winter_Olympics_–_Women's_team_pursuit property:part_of ?h } } . ?h rdf:type ontology:event_sequence }
[]
event sequence
Q9672 Q9642
SYSTEM
2006 Winter Olympics, 1968 Winter Olympics
Q9672 Q9642
OR((Q646423,P361,c(Q15900616)), (Q749888,P361,c(Q15900616)))
action filter_type
action union
action find
entity Q646423
relation P361
action find
entity Q749888
relation P361
type Q15900616
The [ANSWERS] are Figure skating at the 1968 Winter Olympics or Speed skating at the 2006 Winter Olympics – Women's team pursuit a component of
{'OR': [['Q646423', 'P361', {'concept': 'Q15900616'}], ['Q749888', 'P361', {'concept': 'Q15900616'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q646423 property:P361 ?h } UNION { resource:Q749888 property:P361 ?h } } . ?h rdf:type ontology:Q15900616 }
2006 Winter Olympics 1968 Winter Olympics
The 2006 Winter Olympics and 1968 Winter Olympics are Figure skating at the 1968 Winter Olympics or Speed skating at the 2006 Winter Olympics – Women's team pursuit a component of
2006 Winter Olympics 1968 Winter Olympics
action filter_type
action union
action find
entity Figure skating at the 1968 Winter Olympics
relation part of
action find
entity Speed skating at the 2006 Winter Olympics – Women's team pursuit
relation part of
type event sequence
{'OR': [['Figure skating at the 1968 Winter Olympics', 'part of', {'concept': 'event sequence'}], ["Speed skating at the 2006 Winter Olympics – Women's team pursuit", 'part of', {'concept': 'event sequence'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Figure_skating_at_the_1968_Winter_Olympics property:part_of ?h } UNION { resource:Speed_skating_at_the_2006_Winter_Olympics_–_Women's_team_pursuit property:part_of ?h } } . ?h rdf:type ontology:event_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q7275 Q35798
USER
How many people are elected as the head of state of atleast 11 states and executive branches ?
(c(Q7275)|c(Q35798),P35,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
value 11
[[{'concept': 'Q7275'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?t WHERE { { ?b property:P35 ?t . ?t rdf:type ontology:Q502895 . ?b rdf:type ontology:Q35798 } UNION { ?b property:P35 ?t . ?t rdf:type ontology:Q502895 . ?b rdf:type ontology:Q7275 } } GROUP BY ?t } . FILTER ( ?j >= 11 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
value 11
[[{'concept': 'state'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?t WHERE { { ?b property:head_of_state ?t . ?t rdf:type ontology:common_name . ?b rdf:type ontology:executive_branch } UNION { ?b property:head_of_state ?t . ?t rdf:type ontology:common_name . ?b rdf:type ontology:state } } GROUP BY ?t } . FILTER ( ?j >= 11 ) }
[]
common name state executive branch
SYSTEM
5
Q153688 Q150642 Q269412 Q168691 Q9682
(c(Q7275)|c(Q35798),P35,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
value 11
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?t WHERE { { ?b property:P35 ?t . ?t rdf:type ontology:Q502895 . ?b rdf:type ontology:Q35798 } UNION { ?b property:P35 ?t . ?t rdf:type ontology:Q502895 . ?b rdf:type ontology:Q7275 } } GROUP BY ?t } . FILTER ( ?j >= 11 ) }
Umberto I of Italy Vittorio Emanuele III George V Victor Emmanuel II of Savoy Elizabeth II
5
action count
action atleast
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
value 11
[[{'concept': 'state'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?t WHERE { { ?b property:head_of_state ?t . ?t rdf:type ontology:common_name . ?b rdf:type ontology:executive_branch } UNION { ?b property:head_of_state ?t . ?t rdf:type ontology:common_name . ?b rdf:type ontology:state } } GROUP BY ?t } . FILTER ( ?j >= 11 ) }
[]