Simple Question (Direct)
Simple Question
Q6381087
P54
Q12973014
USER
What is Mark Major a member of ?
(Q6381087,P54,c(Q12973014))
action filter_type
action find
entity Q6381087
relation P54
type Q12973014
['Q6381087', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12973014 . resource:Q6381087 property:P54 ?z }
Mark Major
action filter_type
action find
entity Mark Major
relation member of sports team
type sports team
['Mark Major', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sports_team . resource:Mark_Major property:member_of_sports_team ?z }
[]
sports team
Q194116
SYSTEM
Detroit Red Wings
Q194116
(Q6381087,P54,c(Q12973014))
action filter_type
action find
entity Q6381087
relation P54
type Q12973014
Mark Major a member of is the [ANSWER]
['Q6381087', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12973014 . resource:Q6381087 property:P54 ?z }
Detroit Red Wings
Mark Major a member of is the Detroit Red Wings
Detroit Red Wings
action filter_type
action find
entity Mark Major
relation member of sports team
type sports team
['Mark Major', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sports_team . resource:Mark_Major property:member_of_sports_team ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q194116
P641
Q349
USER
Which sport did that sports team participate in ?
(Q194116,P641,c(Q349))
action filter_type
action find
entity Q194116
relation P641
type Q349
['Q194116', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q194116 property:P641 ?f . ?f rdf:type ontology:Q349 }
Detroit Red Wings
action filter_type
action find
entity Detroit Red Wings
relation sport
type sport
['Detroit Red Wings', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Detroit_Red_Wings property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q194116,P641,c(Q349))
action filter_type
action find
entity Q194116
relation P641
type Q349
That sports team participated in [ANSWER]
['Q194116', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q194116 property:P641 ?f . ?f rdf:type ontology:Q349 }
ice hockey
That sports team participated in ice hockey
ice hockey
action filter_type
action find
entity Detroit Red Wings
relation sport
type sport
['Detroit Red Wings', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Detroit_Red_Wings property:sport ?f . ?f rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q22857
P366
Q349 Q811979 Q39546
USER
Which sports are considered as the main functionality of lesser number of architectural structures or tools than climbing ?
(c(Q811979)|c(Q39546),P366,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q22857
relation P366
type Q811979
type Q39546
[[{'concept': 'Q811979'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?q ) WHERE { { ?o property:P366 ?e . ?e rdf:type ontology:Q349 . ?o rdf:type ontology:Q811979 } UNION { ?o property:P366 ?e . ?o rdf:type ontology:Q39546 . ?e rdf:type ontology:Q349 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P366 resource:Q22857 . { { ?f rdf:type ontology:Q39546 } UNION { ?f rdf:type ontology:Q811979 } } } } . FILTER ( ?q < ?z ) }
climbing
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity climbing
relation use
type architectural structure
type tool
[[{'concept': 'architectural structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?q ) WHERE { { ?o property:use ?e . ?e rdf:type ontology:sport . ?o rdf:type ontology:architectural_structure } UNION { ?o property:use ?e . ?o rdf:type ontology:tool . ?e rdf:type ontology:sport } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:use resource:climbing . { { ?f rdf:type ontology:tool } UNION { ?f rdf:type ontology:architectural_structure } } } } . FILTER ( ?q < ?z ) }
[]
sport architectural structure tool
Q183018 Q500050 Q108429
SYSTEM
bandy, cross country running, archery
Q7856 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q177275 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q811979)|c(Q39546),P366,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q22857
relation P366
type Q811979
type Q39546
[ANSWERS] are considered as the main functionality of lesser number of architectural structures or tools than climbing
[[{'concept': 'Q811979'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?q ) WHERE { { ?o property:P366 ?e . ?e rdf:type ontology:Q349 . ?o rdf:type ontology:Q811979 } UNION { ?o property:P366 ?e . ?o rdf:type ontology:Q39546 . ?e rdf:type ontology:Q349 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P366 resource:Q22857 . { { ?f rdf:type ontology:Q39546 } UNION { ?f rdf:type ontology:Q811979 } } } } . FILTER ( ?q < ?z ) }
rallying shooting sport skating bandy mountaineering cross country running air racing archery bobsleigh association football water sport tennis ice hockey harness racing American football badminton
Bandy, cross country running and archery are considered as the main functionality of lesser number of architectural structures or tools than climbing
bandy cross country running archery
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity climbing
relation use
type architectural structure
type tool
[[{'concept': 'architectural structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?q ) WHERE { { ?o property:use ?e . ?e rdf:type ontology:sport . ?o rdf:type ontology:architectural_structure } UNION { ?o property:use ?e . ?o rdf:type ontology:tool . ?e rdf:type ontology:sport } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:use resource:climbing . { { ?f rdf:type ontology:tool } UNION { ?f rdf:type ontology:architectural_structure } } } } . FILTER ( ?q < ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q206763
P366
Q349 Q811979 Q39546
USER
And also tell me about floorball?
(c(Q811979)|c(Q39546),P366,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q811979
type Q39546
[[{'concept': 'Q811979'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:Q39546 ) ( ontology:Q811979 ) } . ?i rdf:type ?e } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P366 resource:Q206763 . { VALUES ( ?v ) { ( ontology:Q39546 ) ( ontology:Q811979 ) } . ?r rdf:type ?v } } } . FILTER ( ?h < ?s ) }
floorball
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type architectural structure
type tool
[[{'concept': 'architectural structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:tool ) ( ontology:architectural_structure ) } . ?i rdf:type ?e } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:use resource:floorball . { VALUES ( ?v ) { ( ontology:tool ) ( ontology:architectural_structure ) } . ?r rdf:type ?v } } } . FILTER ( ?h < ?s ) }
[]
sport architectural structure tool
Q183018 Q500050 Q108429
SYSTEM
bandy, cross country running, archery
Q7856 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q177275 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q811979)|c(Q39546),P366,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q811979
type Q39546
[ANSWERS]
[[{'concept': 'Q811979'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:Q39546 ) ( ontology:Q811979 ) } . ?i rdf:type ?e } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P366 resource:Q206763 . { VALUES ( ?v ) { ( ontology:Q39546 ) ( ontology:Q811979 ) } . ?r rdf:type ?v } } } . FILTER ( ?h < ?s ) }
rallying shooting sport skating bandy mountaineering cross country running air racing archery bobsleigh association football water sport tennis ice hockey harness racing American football badminton
bandy cross country running archery
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type architectural structure
type tool
[[{'concept': 'architectural structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:tool ) ( ontology:architectural_structure ) } . ?i rdf:type ?e } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:use resource:floorball . { VALUES ( ?v ) { ( ontology:tool ) ( ontology:architectural_structure ) } . ?r rdf:type ?v } } } . FILTER ( ?h < ?s ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q206763
P21 P641
Q502895
USER
Which people play floorball and have the gender as female ?
AND((c(Q502895),P641,Q206763), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q206763
relation P641
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q206763'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?n WHERE { ?n property:P641 resource:Q206763 . ?n property:P21 resource:Q6581072 . ?n rdf:type ontology:Q502895 }
female floorball
action filter_type
action intersection
action find_reverse
entity floorball
relation sport
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'floorball'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?n WHERE { ?n property:sport resource:floorball . ?n property:gender resource:female . ?n rdf:type ontology:common_name }
[]
common name
Q4990429 Q23040954 Q16299777 Q23040484 Q23040630
SYSTEM
Emelie Wibron, Anni-Maija Seppänen, Juliette Kemppi, Johanna Hellsten, Inka Lampinen
Q4990429 Q23040954 Q16299777 Q23040484 Q23040630
AND((c(Q502895),P641,Q206763), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q206763
relation P641
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] play floorball and have the gender as female
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q206763'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?n WHERE { ?n property:P641 resource:Q206763 . ?n property:P21 resource:Q6581072 . ?n rdf:type ontology:Q502895 }
Emelie Wibron Anni-Maija Seppänen Juliette Kemppi Johanna Hellsten Inka Lampinen
Emelie Wibron, Anni-Maija Seppänen, Juliette Kemppi, Johanna Hellsten and Inka Lampinen play floorball and have the gender as female
Emelie Wibron Anni-Maija Seppänen Juliette Kemppi Johanna Hellsten Inka Lampinen
action filter_type
action intersection
action find_reverse
entity floorball
relation sport
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'floorball'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?n WHERE { ?n property:sport resource:floorball . ?n property:gender resource:female . ?n rdf:type ontology:common_name }
[]