Simple Question (Direct)
Simple Question
Q5964151
P21
Q290
USER
Which sex does Hélder Filipe Oliveira Lopes have ?
(Q5964151,P21,c(Q290))
action filter_type
action find
entity Q5964151
relation P21
type Q290
['Q5964151', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q5964151 property:P21 ?v . ?v rdf:type ontology:Q290 }
Hélder Filipe Oliveira Lopes
action filter_type
action find
entity Hélder Filipe Oliveira Lopes
relation gender
type sex
['Hélder Filipe Oliveira Lopes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Hélder_Filipe_Oliveira_Lopes property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5964151,P21,c(Q290))
action filter_type
action find
entity Q5964151
relation P21
type Q290
Hélder Filipe Oliveira Lopes has 1 [ANSWER]
['Q5964151', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q5964151 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Hélder Filipe Oliveira Lopes has 1 male
male
action filter_type
action find
entity Hélder Filipe Oliveira Lopes
relation gender
type sex
['Hélder Filipe Oliveira Lopes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Hélder_Filipe_Oliveira_Lopes property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5964151
P641
Q349
USER
What did Hélder Filipe Oliveira Lopes participate in ?
(Q5964151,P641,c(Q349))
action filter_type
action find
entity Q5964151
relation P641
type Q349
['Q5964151', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q5964151 property:P641 ?s . ?s rdf:type ontology:Q349 }
Hélder Filipe Oliveira Lopes
action filter_type
action find
entity Hélder Filipe Oliveira Lopes
relation sport
type sport
['Hélder Filipe Oliveira Lopes', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Hélder_Filipe_Oliveira_Lopes property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5964151,P641,c(Q349))
action filter_type
action find
entity Q5964151
relation P641
type Q349
Hélder Filipe Oliveira Lopes participated in [ANSWER]
['Q5964151', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q5964151 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Hélder Filipe Oliveira Lopes participated in association football
association football
action filter_type
action find
entity Hélder Filipe Oliveira Lopes
relation sport
type sport
['Hélder Filipe Oliveira Lopes', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Hélder_Filipe_Oliveira_Lopes property:sport ?s . ?s rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q14300548
P641
Q349 Q18608583 Q12973014
USER
How many sports did around the same number of recurring sporting events and sports teams participate in as skating ?
(c(Q18608583)|c(Q12973014),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P641
type Q18608583
type Q12973014
[[{'concept': 'Q18608583'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P641 resource:Q14300548 . { { ?j rdf:type ontology:Q12973014 } UNION { ?j rdf:type ontology:Q18608583 } } } } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:P641 ?b . ?b rdf:type ontology:Q349 . ?r rdf:type ontology:Q18608583 } UNION { ?r property:P641 ?b . ?b rdf:type ontology:Q349 . ?r rdf:type ontology:Q12973014 } } GROUP BY ?b } }
skating
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_multi_types
action find_reverse
entity skating
relation sport
type recurring sporting event
type sports team
[[{'concept': 'recurring sporting event'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:sport resource:skating . { { ?j rdf:type ontology:sports_team } UNION { ?j rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:sport ?b . ?b rdf:type ontology:sport . ?r rdf:type ontology:recurring_sporting_event } UNION { ?r property:sport ?b . ?b rdf:type ontology:sport . ?r rdf:type ontology:sports_team } } GROUP BY ?b } }
[]
sport recurring sporting event sports team
SYSTEM
176
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q2736 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q18608583)|c(Q12973014),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P641
type Q18608583
type Q12973014
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P641 resource:Q14300548 . { { ?j rdf:type ontology:Q12973014 } UNION { ?j rdf:type ontology:Q18608583 } } } } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:P641 ?b . ?b rdf:type ontology:Q349 . ?r rdf:type ontology:Q18608583 } UNION { ?r property:P641 ?b . ?b rdf:type ontology:Q349 . ?r rdf:type ontology:Q12973014 } } GROUP BY ?b } }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing association football high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
176
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_multi_types
action find_reverse
entity skating
relation sport
type recurring sporting event
type sports team
[[{'concept': 'recurring sporting event'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:sport resource:skating . { { ?j rdf:type ontology:sports_team } UNION { ?j rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:sport ?b . ?b rdf:type ontology:sport . ?r rdf:type ontology:recurring_sporting_event } UNION { ?r property:sport ?b . ?b rdf:type ontology:sport . ?r rdf:type ontology:sports_team } } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5964151
P19
Q56061
USER
Which administrative territory is the place of birth of Hélder Filipe Oliveira Lopes ?
(Q5964151,P19,c(Q56061))
action filter_type
action find
entity Q5964151
relation P19
type Q56061
['Q5964151', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q5964151 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Hélder Filipe Oliveira Lopes
action filter_type
action find
entity Hélder Filipe Oliveira Lopes
relation place of birth
type administrative territorial entity
['Hélder Filipe Oliveira Lopes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Hélder_Filipe_Oliveira_Lopes property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q191135
SYSTEM
Vila Nova de Gaia
Q191135
(Q5964151,P19,c(Q56061))
action filter_type
action find
entity Q5964151
relation P19
type Q56061
[ANSWER] is the place of birth of Hélder Filipe Oliveira Lopes
['Q5964151', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q5964151 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Vila Nova de Gaia
Vila Nova de Gaia is the place of birth of Hélder Filipe Oliveira Lopes
Vila Nova de Gaia
action filter_type
action find
entity Hélder Filipe Oliveira Lopes
relation place of birth
type administrative territorial entity
['Hélder Filipe Oliveira Lopes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Hélder_Filipe_Oliveira_Lopes property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5964151
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q191135,P27,c(Q15617994))
action filter_type
action find
entity Q5964151
relation P27
type Q15617994
['Q191135', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q5964151 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Hélder Filipe Oliveira Lopes
action filter_type
action find
entity Hélder Filipe Oliveira Lopes
relation country of citizenship
type designation for an administrative territorial entity
['Vila Nova de Gaia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Hélder_Filipe_Oliveira_Lopes property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q191135,P27,c(Q15617994))
action filter_type
action find
entity Q5964151
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q191135', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q5964151 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Portugal
Portugal is that person an inhabitant of
Portugal
action filter_type
action find
entity Hélder Filipe Oliveira Lopes
relation country of citizenship
type designation for an administrative territorial entity
['Vila Nova de Gaia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Hélder_Filipe_Oliveira_Lopes property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q45 Q403
P530
Q1048835
USER
How many political territories have diplomatic relations with Portugal and Serbia ?
(c(Q1048835),P530,Q45) (c(Q1048835),P530,Q403)
action count
action intersection
action filter_type
action find_reverse
entity Q45
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q403
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q45'] [{'concept': 'Q1048835'}, 'P530', 'Q403']
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P530 resource:Q45 . ?h rdf:type ontology:Q1048835 . ?h property:P530 resource:Q403 . ?h rdf:type ontology:Q1048835 }
Portugal Serbia
action count
action intersection
action filter_type
action find_reverse
entity Portugal
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Serbia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Portugal'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Serbia']
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:diplomatic_relation resource:Portugal . ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation resource:Serbia . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q45) (c(Q1048835),P530,Q403)
action count
action intersection
action filter_type
action find_reverse
entity Q45
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q403
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q45'] [{'concept': 'Q1048835'}, 'P530', 'Q403']
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P530 resource:Q45 . ?h rdf:type ontology:Q1048835 . ?h property:P530 resource:Q403 . ?h rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Portugal
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Serbia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Portugal'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Serbia']
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:diplomatic_relation resource:Portugal . ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation resource:Serbia . ?h rdf:type ontology:political_territorial_entity }
[]