Simple Question (Direct)
Simple Question
Q613234
P106
Q12737077
USER
Which occupation is the profession of Radivoj Korać ?
(Q613234,P106,c(Q12737077))
action filter_type
action find
entity Q613234
relation P106
type Q12737077
['Q613234', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q613234 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Radivoj Korać
action filter_type
action find
entity Radivoj Korać
relation occupation
type occupation
['Radivoj Korać', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Radivoj_Korać property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q613234,P106,c(Q12737077))
action filter_type
action find
entity Q613234
relation P106
type Q12737077
[ANSWER] is the profession of Radivoj Korać
['Q613234', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q613234 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
basketball player
Basketball player is the profession of Radivoj Korać
basketball player
action filter_type
action find
entity Radivoj Korać
relation occupation
type occupation
['Radivoj Korać', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Radivoj_Korać property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q613234
P3279
Q18608583
USER
Which recurring sporting events are that person the statistical leader of ?
(c(Q18608583),P3279,Q3665646)
action filter_type
action find_reverse
entity Q613234
relation P3279
type Q18608583
[{'concept': 'Q18608583'}, 'P3279', 'Q3665646']
SELECT DISTINCT ?k WHERE { ?k property:P3279 resource:Q613234 . ?k rdf:type ontology:Q18608583 }
Radivoj Korać
action filter_type
action find_reverse
entity Radivoj Korać
relation statistical leader
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'statistical leader', 'basketball player']
SELECT DISTINCT ?k WHERE { ?k property:statistical_leader resource:Radivoj_Korać . ?k rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q83097 Q76563 Q76562
SYSTEM
EuroBasket 1959, EuroBasket 1963, EuroBasket 1961
Q83097 Q76563 Q76562
(c(Q18608583),P3279,Q3665646)
action filter_type
action find_reverse
entity Q613234
relation P3279
type Q18608583
[ANSWERS] are that person the statistical leader of
[{'concept': 'Q18608583'}, 'P3279', 'Q3665646']
SELECT DISTINCT ?k WHERE { ?k property:P3279 resource:Q613234 . ?k rdf:type ontology:Q18608583 }
EuroBasket 1959 EuroBasket 1963 EuroBasket 1961
EuroBasket 1959, EuroBasket 1963 and EuroBasket 1961 are that person the statistical leader of
EuroBasket 1959 EuroBasket 1963 EuroBasket 1961
action filter_type
action find_reverse
entity Radivoj Korać
relation statistical leader
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'statistical leader', 'basketball player']
SELECT DISTINCT ?k WHERE { ?k property:statistical_leader resource:Radivoj_Korać . ?k rdf:type ontology:recurring_sporting_event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q18608583 Q799469
USER
How many Badminton World Championshipss are a component of atleast 1 recurring sporting event ?
(c(Q799469),P361,c(Q18608583))
action count
action atleast
action find_tuple_counts
relation P361
type Q799469
type Q18608583
value 1
[{'concept': 'Q799469'}, 'P361', {'concept': 'Q18608583'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?e ) WHERE { ?a property:P361 ?j . ?a rdf:type ontology:Q799469 . ?j rdf:type ontology:Q18608583 } GROUP BY ?a } . FILTER ( ?e >= 1 ) }
action count
action atleast
action find_tuple_counts
relation part of
type Badminton World Championships
type recurring sporting event
value 1
[{'concept': 'Badminton World Championships'}, 'part of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?e ) WHERE { ?a property:part_of ?j . ?a rdf:type ontology:Badminton_World_Championships . ?j rdf:type ontology:recurring_sporting_event } GROUP BY ?a } . FILTER ( ?e >= 1 ) }
[]
recurring sporting event Badminton World Championships
SYSTEM
121
Q14405930 Q14405932 Q799557 Q799555 Q799552 Q799551 Q799558 Q799455 Q162534 Q188406 Q670196 Q20743566 Q799544 Q799545 Q799546 Q799463 Q20740424 Q799461 Q799460 Q799467 Q799465 Q799496 Q799497 Q799494 Q799493 Q254670 Q799498 Q799489 Q20743574 Q17502305 Q17502302 Q799478 Q799572 Q799575 Q799574 Q17559509 Q799579 Q799473 Q799474 Q799475 Q799476 Q535973 Q27669645 Q14405923 Q799481 Q27669646 Q799528 Q256281 Q799444 Q27669901 Q27669900 Q799441 Q799490 Q799442 Q799485 Q799448 Q799568 Q799569 Q799566 Q799565 Q121940 Q799560 Q799561 Q799453 Q799456 Q799457 Q256053 Q799459 Q799519 Q799518 Q799512 Q799511 Q799516 Q799515 Q27669647 Q20742540 Q20742544 Q570045 Q799563 Q175972 Q14507158 Q799508 Q799509 Q773297 Q799501 Q799503 Q799504 Q799507 Q17502294 Q17502298 Q799590 Q799535 Q799534 Q799530 Q799533 Q799539 Q799538 Q799470 Q543889 Q799580 Q799585 Q799586 Q799587 Q799588 Q799522 Q799523 Q799527 Q799524 Q186835 Q27669899 Q799480 Q799483 Q799482 Q14405927 Q799487 Q799446 Q27669815 Q27669817 Q27669816 Q290755 Q575087
(c(Q799469),P361,c(Q18608583))
action count
action atleast
action find_tuple_counts
relation P361
type Q799469
type Q18608583
value 1
[ANSWER]
[{'concept': 'Q799469'}, 'P361', {'concept': 'Q18608583'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?e ) WHERE { ?a property:P361 ?j . ?a rdf:type ontology:Q799469 . ?j rdf:type ontology:Q18608583 } GROUP BY ?a } . FILTER ( ?e >= 1 ) }
2013 Badminton World Championships – Men's doubles 2013 Badminton World Championships – Men's singles 2007 Badminton World Championships – Women's Doubles 2006 Badminton World Championships – Mixed Doubles 2006 Badminton World Championships – Men's Singles 2006 Badminton World Championships – Women's Doubles 2007 Badminton World Championships – Women's Singles 1979 World Badminton Championships – Men's Team 2006 Badminton World Championships – Women's Singles 1999 Badminton World Championships – Men's Doubles 1991 Badminton World Championships – Women's Singles 2015 Badminton World Championships – Men's doubles 2005 Badminton World Championships – Women's Singles 2005 Badminton World Championships – Men's Doubles 2005 Badminton World Championships – Mixed Doubles 1983 Badminton World Championships – Women's Singles 2015 Badminton World Championships – Women's doubles 1980 Badminton World Championships – Men's singles 1980 Badminton World Championships – Mixed Doubles 1983 Badminton World Championships – Men's Singles 1983 Badminton World Championships – Men's Doubles 1993 Badminton World Championships – Women's Singles 1993 Badminton World Championships – Women's Doubles 1991 Badminton World Championships – Men's Doubles 1991 Badminton World Championships – Men's Singles 1989 Badminton World Championships – Men's Singles 1991 Badminton World Championships – Mixed Doubles 1989 Badminton World Championships – Women's Singles 2015 Badminton World Championships – Mixed doubles 2014 Badminton World Championships – Men's singles 2014 Badminton World Championships - Mixed doubles 1987 Badminton World Championships – Women's Doubles 2010 Badminton World Championships – Women's Doubles 2010 Badminton World Championships – Men's Doubles 2010 Badminton World Championships – Women's Singles 2014 Badminton World Championships - Men's doubles 2010 Badminton World Championships – Men's Singles 1985 Badminton World Championships – Women's Doubles 1985 Badminton World Championships – Women's Singles 1985 Badminton World Championships – Mixed Doubles 1985 Badminton World Championships – Men's Doubles 2001 Badminton World Championships – Mixed Doubles 1978 Badminton World Championships – Women's singles 2013 Badminton World Championships – Women's singles 1987 Badminton World Championships – Women's Singles 1979 Badminton World Championships – Women's singles 2001 Badminton World Championships – Women's Singles 2006 Badminton World Championships – Men's Doubles 1977 Badminton World Championships – Men's Singles 1978 Badminton World Championships – Men's singles 1979 Badminton World Championships - Mixed Doubles 1977 Badminton World Championships – Women's Doubles 1991 Badminton World Championships – Women's Doubles 1977 Badminton World Championships – Women's Singles 1989 Badminton World Championships – Women's Doubles 1979 World Badminton Championships – Women's Team 2009 Badminton World Championships – Mixed Doubles 2009 Badminton World Championships – Men's Singles 2009 Badminton World Championships – Men's Doubles 2009 Badminton World Championships – Women's Doubles 2005 Badminton World Championships – Men's Singles 2007 Badminton World Championships – Men's Doubles 2007 Badminton World Championships – Mixed Doubles 1979 World Badminton Championships – Men's Singles 1980 Badminton World Championships – Women's Singles 1980 Badminton World Championships – Women's Doubles 1995 Badminton World Championships – Mixed Doubles 1980 Badminton World Championships – Men's Doubles 1999 Badminton World Championships – Women's Doubles 1999 Badminton World Championships – Women's Singles 1997 Badminton World Championships – Women's Singles 1997 Badminton World Championships – Women's Doubles 1997 Badminton World Championships – Mixed Doubles 1997 Badminton World Championships – Men's Singles 1978 Badminton World Championships - Men's Doubles 2015 Badminton World Championships – Women's singles 2015 Badminton World Championships – Men's singles 1977 Badminton World Championships – Men's Doubles 2007 Badminton World Championships – Men's Singles 1985 Badminton World Championships – Men's Singles 2013 Badminton World Championships – Mixed doubles 1995 Badminton World Championships – Men's Doubles 1995 Badminton World Championships – Men's Singles 1983 Badminton World Championships – Women's Doubles 1993 Badminton World Championships – Men's Doubles 1993 Badminton World Championships – Mixed Doubles 1995 Badminton World Championships – Women's Doubles 1995 Badminton World Championships – Women's Singles 2014 Badminton World Championships – Women's singles 2014 Badminton World Championships – Women's doubles 2011 Badminton World Championships – Mixed Doubles 2003 Badminton World Championships – Men's Doubles 2003 Badminton World Championships – Women's Singles 2001 Badminton World Championships – Men's Singles 2003 Badminton World Championships – Women's Doubles 2003 Badminton World Championships – Men's Singles 2003 Badminton World Championships – Mixed Doubles 1983 Badminton World Championships – Mixed Doubles 2009 Badminton World Championships – Women's Singles 2010 Badminton World Championships – Mixed Doubles 2011 Badminton World Championships – Women's Doubles 2011 Badminton World Championships – Women's Singles 2011 Badminton World Championships – Men's Doubles 2011 Badminton World Championships – Men's Singles 1999 Badminton World Championships – Mixed Doubles 1999 Badminton World Championships – Men's Singles 2001 Badminton World Championships – Men's Doubles 2001 Badminton World Championships – Women's Doubles 1989 Badminton World Championships – Mixed Doubles 1978 Badminton World Championships - Mixed Doubles 1987 Badminton World Championships – Men's Doubles 1987 Badminton World Championships – Men's Singles 1987 Badminton World Championships – Mixed Doubles 2013 Badminton World Championships – Women's doubles 1989 Badminton World Championships – Men's Doubles 1977 Badminton World Championships – Mixed Doubles 1979 Badminton World Championships – Women's doubles 1979 Badminton World Championships - Men's Doubles 1978 Badminton World Championships - Women's Doubles 1993 Badminton World Championships – Men's Singles 1997 Badminton World Championships – Men's Doubles
121
action count
action atleast
action find_tuple_counts
relation part of
type Badminton World Championships
type recurring sporting event
value 1
[{'concept': 'Badminton World Championships'}, 'part of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?e ) WHERE { ?a property:part_of ?j . ?a rdf:type ontology:Badminton_World_Championships . ?j rdf:type ontology:recurring_sporting_event } GROUP BY ?a } . FILTER ( ?e >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1028907 Q613234
P19 P20
Q515
USER
Which cities did Radivoj Korać die or are the birthplace of Camil Roguski ?
OR((Q613234,P20,c(Q515)), (Q1028907,P19,c(Q515)))
action filter_type
action union
action find
entity Q613234
relation P20
action find
entity Q1028907
relation P19
type Q515
{'OR': [['Q613234', 'P20', {'concept': 'Q515'}], ['Q1028907', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . { { resource:Q613234 property:P20 ?n } UNION { resource:Q1028907 property:P19 ?n } } }
Camil Roguski Radivoj Korać
action filter_type
action union
action find
entity Radivoj Korać
relation place of death
action find
entity Camil Roguski
relation place of birth
type city
{'OR': [['Radivoj Korać', 'place of death', {'concept': 'city'}], ['Camil Roguski', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . { { resource:Radivoj_Korać property:place_of_death ?n } UNION { resource:Camil_Roguski property:place_of_birth ?n } } }
[]
city
Q19660 Q11194
SYSTEM
Bucharest, Sarajevo
Q19660 Q11194
OR((Q613234,P20,c(Q515)), (Q1028907,P19,c(Q515)))
action filter_type
action union
action find
entity Q613234
relation P20
action find
entity Q1028907
relation P19
type Q515
Radivoj Korać died in [ANSWERS] or are the birthplace of Camil Roguski
{'OR': [['Q613234', 'P20', {'concept': 'Q515'}], ['Q1028907', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . { { resource:Q613234 property:P20 ?n } UNION { resource:Q1028907 property:P19 ?n } } }
Bucharest Sarajevo
Radivoj Korać died in Bucharest and Sarajevo or are the birthplace of Camil Roguski
Bucharest Sarajevo
action filter_type
action union
action find
entity Radivoj Korać
relation place of death
action find
entity Camil Roguski
relation place of birth
type city
{'OR': [['Radivoj Korać', 'place of death', {'concept': 'city'}], ['Camil Roguski', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . { { resource:Radivoj_Korać property:place_of_death ?n } UNION { resource:Camil_Roguski property:place_of_birth ?n } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q355304 Q337567 Q515
USER
Which cities are situated in the neighbourhood of approximately 6 watercourses or still waterss ?
(c(Q515),P206,c(Q355304)|c(Q337567))
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
value 6
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?u WHERE { { ?u property:P206 ?o . ?u rdf:type ontology:Q515 . ?o rdf:type ontology:Q355304 } UNION { ?u rdf:type ontology:Q515 . ?o rdf:type ontology:Q337567 . ?u property:P206 ?o } } GROUP BY ?u } . FILTER ( ?i = 6 ) }
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
value 6
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?u WHERE { { ?u property:located_next_to_body_of_water ?o . ?u rdf:type ontology:city . ?o rdf:type ontology:watercourse } UNION { ?u rdf:type ontology:city . ?o rdf:type ontology:still_waters . ?u property:located_next_to_body_of_water ?o } } GROUP BY ?u } . FILTER ( ?i = 6 ) }
[]
watercourse still waters city
Q4346 Q3931 Q1731
SYSTEM
Waren (Müritz), Brandenburg an der Havel, Dresden
Q4346 Q3931 Q1731
(c(Q515),P206,c(Q355304)|c(Q337567))
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
value 6
[ANSWERS] are situated in the neighbourhood of approximately 6 watercourses or still waterss
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?u WHERE { { ?u property:P206 ?o . ?u rdf:type ontology:Q515 . ?o rdf:type ontology:Q355304 } UNION { ?u rdf:type ontology:Q515 . ?o rdf:type ontology:Q337567 . ?u property:P206 ?o } } GROUP BY ?u } . FILTER ( ?i = 6 ) }
Waren (Müritz) Brandenburg an der Havel Dresden
Waren (Müritz), Brandenburg an der Havel and Dresden are situated in the neighbourhood of approximately 6 watercourses or still waterss
Waren (Müritz) Brandenburg an der Havel Dresden
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
value 6
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?u WHERE { { ?u property:located_next_to_body_of_water ?o . ?u rdf:type ontology:city . ?o rdf:type ontology:watercourse } UNION { ?u rdf:type ontology:city . ?o rdf:type ontology:still_waters . ?u property:located_next_to_body_of_water ?o } } GROUP BY ?u } . FILTER ( ?i = 6 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q19019097
P1427
Q1048835 Q13539802 Q18608583
USER
How many recurring sporting events have their origin at around the same number of political territories or places with town privileges as 2015 Gran Premio della Costa Etruschi ?
(c(Q18608583),P1427,c(Q1048835)|c(Q13539802))
action count
action approx
action union
action find_tuple_counts
relation P1427
type Q18608583
type Q1048835
action find_tuple_counts
relation P1427
type Q18608583
type Q13539802
action count
action filter_multi_types
action find
entity Q19019097
relation P1427
type Q1048835
type Q13539802
[{'concept': 'Q18608583'}, 'P1427', [{'concept': 'Q1048835'}, {'concept': 'Q13539802'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?f WHERE { { ?f property:P1427 ?a . ?f rdf:type ontology:Q18608583 . ?a rdf:type ontology:Q13539802 } UNION { ?f property:P1427 ?a . ?f rdf:type ontology:Q18608583 . ?a rdf:type ontology:Q1048835 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q19019097 property:P1427 ?v . { { ?v rdf:type ontology:Q1048835 } UNION { ?v rdf:type ontology:Q13539802 } } } } . FILTER ( ?x = ?u ) }
2015 Gran Premio della Costa Etruschi
action count
action approx
action union
action find_tuple_counts
relation start point
type recurring sporting event
type political territorial entity
action find_tuple_counts
relation start point
type recurring sporting event
type place with town rights and privileges
action count
action filter_multi_types
action find
entity 2015 Gran Premio della Costa Etruschi
relation start point
type political territorial entity
type place with town rights and privileges
[{'concept': 'recurring sporting event'}, 'start point', [{'concept': 'political territorial entity'}, {'concept': 'place with town rights and privileges'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?f WHERE { { ?f property:start_point ?a . ?f rdf:type ontology:recurring_sporting_event . ?a rdf:type ontology:place_with_town_rights_and_privileges } UNION { ?f property:start_point ?a . ?f rdf:type ontology:recurring_sporting_event . ?a rdf:type ontology:political_territorial_entity } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:2015_Gran_Premio_della_Costa_Etruschi property:start_point ?v . { { ?v rdf:type ontology:political_territorial_entity } UNION { ?v rdf:type ontology:place_with_town_rights_and_privileges } } } } . FILTER ( ?x = ?u ) }
[]
political territorial entity place with town rights and privileges recurring sporting event
SYSTEM
202
Q643108 Q18914531 Q853300 Q580122 Q910610 Q19366592 Q752416 Q579685 Q15725895 Q19860535 Q591438 Q608649 Q19818801 Q224723 Q730402 Q21008432 Q18579438 Q17303103 Q21008431 Q21008436 Q21008434 Q21008435 Q18579431 Q18579430 Q18579433 Q546013 Q18579435 Q249157 Q18579436 Q19911365 Q586915 Q2059882 Q21074298 Q23662651 Q915903 Q4387851 Q827953 Q261798 Q734077 Q249109 Q18579410 Q20962750 Q903211 Q22041575 Q22976711 Q260299 Q849885 Q21008430 Q849882 Q20165905 Q19588577 Q19455277 Q18579429 Q842396 Q18579422 Q833232 Q18579421 Q18579427 Q18579424 Q18579425 Q19792656 Q840727 Q513819 Q749914 Q639587 Q669669 Q22093610 Q279235 Q842186 Q581491 Q654890 Q221530 Q830097 Q635703 Q3937049 Q221428 Q18579419 Q18579418 Q18579417 Q18579416 Q18579415 Q18579413 Q18579412 Q18579411 Q898077 Q20640108 Q19576833 Q754990 Q2096649 Q754994 Q15946733 Q907282 Q16154620 Q19401979 Q9094837 Q916886 Q847775 Q478420 Q22029432 Q20647589 Q217263 Q20978947 Q1065480 Q849867 Q849864 Q842401 Q18579403 Q18579404 Q18579405 Q18579406 Q18579407 Q614452 Q18579409 Q18710416 Q19803458 Q577246 Q744066 Q681694 Q12007218 Q18471444 Q835582 Q3533787 Q19720568 Q303422 Q907272 Q733200 Q18579439 Q915911 Q655118 Q374222 Q21008433 Q531422 Q849871 Q10949486 Q379467 Q3768638 Q3775241 Q219413 Q20655650 Q219414 Q18946545 Q4621241 Q612937 Q682253 Q1112857 Q22344347 Q329877 Q907308 Q329871 Q19598853 Q19366591 Q833247 Q20055171 Q18579432 Q249102 Q736720 Q378886 Q847615 Q19594844 Q18579437 Q895853 Q644632 Q384895 Q907316 Q389982 Q19947163 Q776876 Q836884 Q910171 Q19749284 Q827936 Q916617 Q21008455 Q220683 Q754426 Q19017361 Q368629 Q634350 Q915918 Q899379 Q729763 Q757405 Q506911 Q19368466 Q249097 Q217287 Q278715 Q847630 Q2349717 Q19019097 Q687902 Q19832841 Q166435 Q18579440 Q45664 Q20199280 Q2508419 Q21008427 Q21008426 Q21008429 Q21008428 Q523804
(c(Q18608583),P1427,c(Q1048835)|c(Q13539802))
action count
action approx
action union
action find_tuple_counts
relation P1427
type Q18608583
type Q1048835
action find_tuple_counts
relation P1427
type Q18608583
type Q13539802
action count
action filter_multi_types
action find
entity Q19019097
relation P1427
type Q1048835
type Q13539802
[ANSWER]
[{'concept': 'Q18608583'}, 'P1427', [{'concept': 'Q1048835'}, {'concept': 'Q13539802'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?f WHERE { { ?f property:P1427 ?a . ?f rdf:type ontology:Q18608583 . ?a rdf:type ontology:Q13539802 } UNION { ?f property:P1427 ?a . ?f rdf:type ontology:Q18608583 . ?a rdf:type ontology:Q1048835 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q19019097 property:P1427 ?v . { { ?v rdf:type ontology:Q1048835 } UNION { ?v rdf:type ontology:Q13539802 } } } } . FILTER ( ?x = ?u ) }
1920 Tour de France 2015 Tour of Qatar 1921 Tour de France 1959 Tour de France 1927 Tour de France 2015 Classic Sud-Ardèche 1999 Tour de France 1912 Tour de France 2014 Tour of Qatar 2015 Tour d'Azerbaïdjan 1958 Tour de France 1983 Tour de France 2015 Paris–Camembert 1992 Tour de France 1965 Tour de France 1965 Grand Prix de Denain 2012 Yukon Quest 2014 Tour of Qinghai Lake 1964 Grand Prix de Denain 1969 Grand Prix de Denain 1967 Grand Prix de Denain 1968 Grand Prix de Denain 2006 Yukon Quest 2005 Yukon Quest 2008 Yukon Quest 1996 Tour de France 2009 Yukon Quest 1909 Tour de France 2010 Yukon Quest 2015 Bayern-Rundfahrt 1948 Tour de France 2006 Scheldeprijs 2016 Classic Sud-Ardèche 2016 Giro d'Italia Femminile 1934 Tour de France 1961 Brabantse Pijl 2002 Tour de France 1932 Tour de France 1905 Tour de France 1907 Tour de France 1990 Yukon Quest Velothon Berlin 2015 1949 Tour de France 2011   Copper Basin 300 2017 Kuurne–Brussels–Kuurne 1986 Tour de France 1913 Tour de France 1963 Grand Prix de Denain 1911 Tour de France 2015 Tour of Slovenia 2015 Ronde van Drenthe 2015 Iditarod 2004 Yukon Quest 1970 Tour de France 2000 Yukon Quest 1984 Tour de France 1999 Yukon Quest 2003 Yukon Quest 2001 Yukon Quest 2002 Yukon Quest 2015 Vuelta a La Rioja 1981 Tour de France 1935 Tour de France 1977 Tour de France 1988 Tour de France 1923 Tour de France 2016 Kuskokwim 300 1980 Tour de France 1971 Tour de France 1975 Tour de France 1966 Tour de France 2008 Tour de France 1993 Tour de France 1924 Tour de France 2013 Tour of Qatar 1954 Tour de France 1998 Yukon Quest 1997 Yukon Quest 1996 Yukon Quest 1995 Yukon Quest 1994 Yukon Quest 1993 Yukon Quest 1992 Yukon Quest 1991 Yukon Quest 1994 Tour de France 2015 Tour of Austria 2015 Tour de Pologne 1991 Tour de France 2012 Tour of Norway 1989 Tour de France Dwars door Drenthe 2014 1960 Tour de France 2014 Ladies Tour of Qatar 2015 Strade Bianche 1925 Vuelta a Andalucía 1938 Tour de France 1933 Tour de France 1987 Tour de France 2016 Copper Basin 300 2015 Tour of Qinghai Lake 2009 Tour de France Boucles de l'Aulne 2015 2013 Tour de France 1951 Tour de France 1922 Tour de France 1972 Tour de France 1984 Yukon Quest 1985 Yukon Quest 1986 Yukon Quest 1987 Yukon Quest 1988 Yukon Quest 1995 Tour de France 1989 Yukon Quest 2015 Milan – San Remo 2015 Brabantse Pijl 1904 Tour de France 1979 Tour de France 1926 Tour de France 2013 Tour of Norway 2015 Volta a Portugal 1978 Tour de France 2013 Ladies Tour of Qatar 2015 Scheldeprijs 1928 Tour de France 1961 Tour de France 1929 Tour de France 2013 Yukon Quest 1930 Tour de France 2005 Tour de France 1982 Tour de France 1966 Grand Prix de Denain 1963 Tour de France 1950 Tour de France 2002 La Flèche Wallonne 1931 Tour de France 2003 Giro d'Italia Femminile 1998 Grand Prix de Denain 2011 Tour de France 2015 Tour de Liege 2012 Tour de France Yukon Quest 2015 2011 Tour of Norway 1973 Tour de France 1955 Tour de France 1980 Amstel Gold Race 2016 Ladies Tour of Qatar 2007 Tour de France 1953 Tour de France 2006 Tour de France 2015 GP Ouest-France 2015 Trofeo Laigueglia 1998 Tour de France 2015 Ster ZLM Toer 2007 Yukon Quest 1908 Tour de France 1962 Tour de France 1968 Tour de France 1964 Tour de France 2015 Dwars door Drenthe 2011 Yukon Quest 2014 Tour de France 2001 Tour de France 1936 Tour de France 1956 Tour de France 1919 Tour de France 2015 World Ports Classic 2000 Tour de France 1969 Tour de France 1925 Tour de France 2015 Route Adélie 1990 Tour de France 1939 Tour de France 1988 Grand Prix de Denain 1947 Tour de France 1974 Tour de France 2015 Ladies Tour of Qatar 1967 Tour de France 1910 Tour de France 1937 Tour de France 1976 Tour de France 2004 Tour de France 1997 Tour de France 1903 Tour de France 2015 Gran Premio di Lugano 1906 Tour de France 2010 Tour de France 1985 Tour de France 1957 Tour de France 2003 Kuurne–Brussels–Kuurne 2015 Gran Premio della Costa Etruschi 1914 Tour de France 2015 Hel van het Mergelland 2010 Tour of Oman 2014 Yukon Quest 2003 Tour de France 2015 Route du Sud 1974 Amstel Gold Race 1960 Grand Prix de Denain 1959 Grand Prix de Denain 1962 Grand Prix de Denain 1961 Grand Prix de Denain 1952 Tour de France
202
action count
action approx
action union
action find_tuple_counts
relation start point
type recurring sporting event
type political territorial entity
action find_tuple_counts
relation start point
type recurring sporting event
type place with town rights and privileges
action count
action filter_multi_types
action find
entity 2015 Gran Premio della Costa Etruschi
relation start point
type political territorial entity
type place with town rights and privileges
[{'concept': 'recurring sporting event'}, 'start point', [{'concept': 'political territorial entity'}, {'concept': 'place with town rights and privileges'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?f WHERE { { ?f property:start_point ?a . ?f rdf:type ontology:recurring_sporting_event . ?a rdf:type ontology:place_with_town_rights_and_privileges } UNION { ?f property:start_point ?a . ?f rdf:type ontology:recurring_sporting_event . ?a rdf:type ontology:political_territorial_entity } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:2015_Gran_Premio_della_Costa_Etruschi property:start_point ?v . { { ?v rdf:type ontology:political_territorial_entity } UNION { ?v rdf:type ontology:place_with_town_rights_and_privileges } } } } . FILTER ( ?x = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19660
P127
Q483110
USER
Which stadia are owned by Bucharest ?
(c(Q483110),P127,Q19660)
action filter_type
action find_reverse
entity Q19660
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q19660']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q19660 . ?f rdf:type ontology:Q483110 }
Bucharest
action filter_type
action find_reverse
entity Bucharest
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Bucharest']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Bucharest . ?f rdf:type ontology:stadium }
[]
stadium
Q338602 Q15977299
SYSTEM
National Arena, Stadionul Național (1953)
Q338602 Q15977299
(c(Q483110),P127,Q19660)
action filter_type
action find_reverse
entity Q19660
relation P127
type Q483110
[ANSWERS] are owned by Bucharest
[{'concept': 'Q483110'}, 'P127', 'Q19660']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q19660 . ?f rdf:type ontology:Q483110 }
National Arena Stadionul Național (1953)
National Arena and Stadionul Național (1953) are owned by Bucharest
National Arena Stadionul Național (1953)
action filter_type
action find_reverse
entity Bucharest
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Bucharest']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Bucharest . ?f rdf:type ontology:stadium }
[]