Simple Question (Direct)
Simple Question
Q8328866
P39
Q12737077
USER
Which occupation was a position held by Eugène Rendu ?
(Q8328866,P39,c(Q12737077))
action filter_type
action find
entity Q8328866
relation P39
type Q12737077
['Q8328866', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q8328866 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Eugène Rendu
action filter_type
action find
entity Eugène Rendu
relation position held
type occupation
['Eugène Rendu', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Eugène_Rendu property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q8328866,P39,c(Q12737077))
action filter_type
action find
entity Q8328866
relation P39
type Q12737077
The member of the French National Assembly was a position held by Eugène Rendu
['Q8328866', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q8328866 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the French National Assembly
The member of the French National Assembly was a position held by Eugène Rendu
member of the French National Assembly
action filter_type
action find
entity Eugène Rendu
relation position held
type occupation
['Eugène Rendu', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Eugène_Rendu property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8328866
P19
Q56061
USER
Where was Eugène Rendu born ?
(Q8328866,P19,c(Q56061))
action filter_type
action find
entity Q8328866
relation P19
type Q56061
['Q8328866', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q8328866 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Eugène Rendu
action filter_type
action find
entity Eugène Rendu
relation place of birth
type administrative territorial entity
['Eugène Rendu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Eugène_Rendu property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q8328866,P19,c(Q56061))
action filter_type
action find
entity Q8328866
relation P19
type Q56061
Eugène Rendu was born [ANSWER]
['Q8328866', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q8328866 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Paris
Eugène Rendu was born Paris
Paris
action filter_type
action find
entity Eugène Rendu
relation place of birth
type administrative territorial entity
['Eugène Rendu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Eugène_Rendu property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q360213
Q56061
USER
And how about Carlos Jorge Neto Martins?
(Q360213,P19,c(Q56061))
action filter_type
action find
entity Q360213
relation P19
type Q56061
['Q360213', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q360213 property:P19 ?f }
Carlos Jorge Neto Martins
action filter_type
action find
entity Carlos Jorge Neto Martins
relation place of birth
type administrative territorial entity
['Carlos Jorge Neto Martins', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Carlos_Jorge_Neto_Martins property:place_of_birth ?f }
[]
administrative territorial entity
Q45412
SYSTEM
Coimbra
Q45412
(Q360213,P19,c(Q56061))
action filter_type
action find
entity Q360213
relation P19
type Q56061
[ANSWER]
['Q360213', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q360213 property:P19 ?f }
Coimbra
Coimbra
action filter_type
action find
entity Carlos Jorge Neto Martins
relation place of birth
type administrative territorial entity
['Carlos Jorge Neto Martins', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Carlos_Jorge_Neto_Martins property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q360213
P641
Q349
USER
Which sport was that person a part of ?
(Q45412,P641,c(Q349))
action filter_type
action find
entity Q360213
relation P641
type Q349
['Q45412', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q360213 property:P641 ?y . ?y rdf:type ontology:Q349 }
Carlos Jorge Neto Martins
action filter_type
action find
entity Carlos Jorge Neto Martins
relation sport
type sport
['Coimbra', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Carlos_Jorge_Neto_Martins property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q45412,P641,c(Q349))
action filter_type
action find
entity Q360213
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q45412', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q360213 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Carlos Jorge Neto Martins
relation sport
type sport
['Coimbra', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Carlos_Jorge_Neto_Martins property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q449022
Q349
USER
And what about Steve Cummings?
(Q449022,P413,c(Q349))
action filter_type
action find
entity Q449022
relation P413
type Q349
['Q449022', 'P413', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q449022 property:P413 ?g . ?g rdf:type ontology:Q349 }
Steve Cummings
action filter_type
action find
entity Steve Cummings
relation position played on team / speciality
type sport
['Steve Cummings', 'position played on team / speciality', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Steve_Cummings property:position_played_on_team_/_speciality ?g . ?g rdf:type ontology:sport }
[]
sport
Q221635
SYSTEM
track cycling
Q221635
(Q449022,P413,c(Q349))
action filter_type
action find
entity Q449022
relation P413
type Q349
[ANSWER]
['Q449022', 'P413', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q449022 property:P413 ?g . ?g rdf:type ontology:Q349 }
track cycling
track cycling
action filter_type
action find
entity Steve Cummings
relation position played on team / speciality
type sport
['Steve Cummings', 'position played on team / speciality', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Steve_Cummings property:position_played_on_team_/_speciality ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q449022
P1344
Q15275719
USER
Which recurring event did that person participate in ?
(Q221635,P1344,c(Q15275719))
action filter_type
action find
entity Q449022
relation P1344
type Q15275719
['Q221635', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?d WHERE { resource:Q449022 property:P1344 ?d . ?d rdf:type ontology:Q15275719 }
Steve Cummings
action filter_type
action find
entity Steve Cummings
relation participant of
type recurring event
['track cycling', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?d WHERE { resource:Steve_Cummings property:participant_of ?d . ?d rdf:type ontology:recurring_event }
[]
recurring event
Q33881
SYSTEM
Tour de France
Q33881
(Q221635,P1344,c(Q15275719))
action filter_type
action find
entity Q449022
relation P1344
type Q15275719
That person participated in [ANSWER]
['Q221635', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?d WHERE { resource:Q449022 property:P1344 ?d . ?d rdf:type ontology:Q15275719 }
Tour de France
That person participated in Tour de France
Tour de France
action filter_type
action find
entity Steve Cummings
relation participant of
type recurring event
['track cycling', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?d WHERE { resource:Steve_Cummings property:participant_of ?d . ?d rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33881 Q6391241
P1344
Q502895
USER
Did Kenny Ward participate in that recurring event ?
(Q6391241,P1344,Q33881)
action is_in
entity Q6391241
action find
entity Q33881
relation P1344
['Q6391241', 'P1344', 'Q33881']
ASK WHERE { resource:Q33881 property:P1344 resource:Q6391241 }
Tour de France Kenny Ward
action is_in
entity Kenny Ward
action find
entity Tour de France
relation participant of
['Kenny Ward', 'participant of', 'Tour de France']
ASK WHERE { resource:Tour_de_France property:participant_of resource:Kenny_Ward }
[]
common name
SYSTEM
NO
(Q6391241,P1344,Q33881)
action is_in
entity Q6391241
action find
entity Q33881
relation P1344
[ANSWER]
['Q6391241', 'P1344', 'Q33881']
ASK WHERE { resource:Q33881 property:P1344 resource:Q6391241 }
No
action is_in
entity Kenny Ward
action find
entity Tour de France
relation participant of
['Kenny Ward', 'participant of', 'Tour de France']
ASK WHERE { resource:Tour_de_France property:participant_of resource:Kenny_Ward }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q206763
P366
Q349 Q811979 Q3084961
USER
Which sports are recognized as the main use of lesser number of architectural structures or product linings than floorball ?
(c(Q811979)|c(Q3084961),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 Q3084961
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q811979
type Q3084961
[[{'concept': 'Q811979'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?c WHERE { { ?p property:P366 ?c . ?c rdf:type ontology:Q349 . ?p rdf:type ontology:Q811979 } UNION { ?p property:P366 ?c . ?c rdf:type ontology:Q349 . ?p rdf:type ontology:Q3084961 } } GROUP BY ?c } . FILTER ( ?j < ?u ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P366 resource:Q206763 . { { ?o rdf:type ontology:Q811979 } UNION { ?o rdf:type ontology:Q3084961 } } } } }
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 product lining
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type architectural structure
type product lining
[[{'concept': 'architectural structure'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?c WHERE { { ?p property:use ?c . ?c rdf:type ontology:sport . ?p rdf:type ontology:architectural_structure } UNION { ?p property:use ?c . ?c rdf:type ontology:sport . ?p rdf:type ontology:product_lining } } GROUP BY ?c } . FILTER ( ?j < ?u ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:use resource:floorball . { { ?o rdf:type ontology:architectural_structure } UNION { ?o rdf:type ontology:product_lining } } } } }
[]
sport architectural structure product lining
Q183018 Q500050 Q108429
SYSTEM
bandy, cross country running, archery
Q7856 Q206989 Q14300548 Q183018 Q36908 Q500050 Q108429 Q177275 Q2736 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q811979)|c(Q3084961),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 Q3084961
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q811979
type Q3084961
[ANSWERS] are recognized as the main use of lesser number of architectural structures or product linings than floorball
[[{'concept': 'Q811979'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?c WHERE { { ?p property:P366 ?c . ?c rdf:type ontology:Q349 . ?p rdf:type ontology:Q811979 } UNION { ?p property:P366 ?c . ?c rdf:type ontology:Q349 . ?p rdf:type ontology:Q3084961 } } GROUP BY ?c } . FILTER ( ?j < ?u ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P366 resource:Q206763 . { { ?o rdf:type ontology:Q811979 } UNION { ?o rdf:type ontology:Q3084961 } } } } }
rallying shooting sport skating bandy mountaineering cross country running archery bobsleigh association football water sport tennis ice hockey climbing harness racing American football badminton
Bandy, cross country running and archery are recognized as the main use of lesser number of architectural structures or product linings than floorball
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 product lining
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type architectural structure
type product lining
[[{'concept': 'architectural structure'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?c WHERE { { ?p property:use ?c . ?c rdf:type ontology:sport . ?p rdf:type ontology:architectural_structure } UNION { ?p property:use ?c . ?c rdf:type ontology:sport . ?p rdf:type ontology:product_lining } } GROUP BY ?c } . FILTER ( ?j < ?u ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:use resource:floorball . { { ?o rdf:type ontology:architectural_structure } UNION { ?o rdf:type ontology:product_lining } } } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q2342494
USER
How many sports are the area of more number of people or collectables than that sport ?
(c(Q502895)|c(Q2342494),P101,c(Q349))
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
sport common name collectable
Comparative|Count over More/Less|Mult. entity type|Clarification
Q500050
SYSTEM
Did you mean cross country running ?
(c(Q502895)|c(Q2342494),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
Did you mean cross country running ?
cross country running
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant archery. Could you tell me the answer for that?
(c(Q502895)|c(Q2342494),P101,c(Q349))
Q108429
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
[]
SYSTEM
12
Q10962 Q43450 Q4543 Q170737 Q5375 Q1734 Q31920 Q500050 Q2736 Q201965 Q124100 Q41323
(c(Q502895)|c(Q2342494),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
rugby league gymnastics beach volleyball long jump cricket volleyball swimming cross country running association football Nordic combined bodybuilding American football
12
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]