Simple Question (Direct)
Simple Question
Q3857417
P106
Q12737077
USER
Which occupation is the profession of Mike Lewis ?
(Q3857417,P106,c(Q12737077))
action filter_type
action find
entity Q3857417
relation P106
type Q12737077
['Q3857417', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q3857417 property:P106 ?f }
Mike Lewis
action filter_type
action find
entity Mike Lewis
relation occupation
type occupation
['Mike Lewis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Mike_Lewis property:occupation ?f }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q3857417,P106,c(Q12737077))
action filter_type
action find
entity Q3857417
relation P106
type Q12737077
The [ANSWER] is the profession of Mike Lewis
['Q3857417', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q3857417 property:P106 ?f }
basketball player
The basketball player is the profession of Mike Lewis
basketball player
action filter_type
action find
entity Mike Lewis
relation occupation
type occupation
['Mike Lewis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Mike_Lewis property:occupation ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3857417
P641
Q349
USER
What was the sport that Mike Lewis was a part of ?
(Q3857417,P641,c(Q349))
action filter_type
action find
entity Q3857417
relation P641
type Q349
['Q3857417', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q3857417 property:P641 ?d }
Mike Lewis
action filter_type
action find
entity Mike Lewis
relation sport
type sport
['Mike Lewis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Mike_Lewis property:sport ?d }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3857417,P641,c(Q349))
action filter_type
action find
entity Q3857417
relation P641
type Q349
The sport that Mike Lewis was a part of was h [ANSWER]
['Q3857417', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q3857417 property:P641 ?d }
basketball
The sport that Mike Lewis was a part of was h basketball
basketball
action filter_type
action find
entity Mike Lewis
relation sport
type sport
['Mike Lewis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Mike_Lewis property:sport ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3857417
P27
Q15617994
USER
Which administrative territory is the native country of Mike Lewis ?
(Q3857417,P27,c(Q15617994))
action filter_type
action find
entity Q3857417
relation P27
type Q15617994
['Q3857417', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3857417 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Mike Lewis
action filter_type
action find
entity Mike Lewis
relation country of citizenship
type designation for an administrative territorial entity
['Mike Lewis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Mike_Lewis property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3857417,P27,c(Q15617994))
action filter_type
action find
entity Q3857417
relation P27
type Q15617994
The [ANSWER] is the native country of Mike Lewis
['Q3857417', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3857417 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Mike Lewis
United States of America
action filter_type
action find
entity Mike Lewis
relation country of citizenship
type designation for an administrative territorial entity
['Mike Lewis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Mike_Lewis property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3857417
P734
Q82799
USER
Which name is associated with Mike Lewis ?
(Q3857417,P734,c(Q82799))
action filter_type
action find
entity Q3857417
relation P734
type Q82799
['Q3857417', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q3857417 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Mike Lewis
action filter_type
action find
entity Mike Lewis
relation family name
type name
['Mike Lewis', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Mike_Lewis property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q426463
SYSTEM
Lewis
Q426463
(Q3857417,P734,c(Q82799))
action filter_type
action find
entity Q3857417
relation P734
type Q82799
[ANSWER] is associated with Mike [ANSWER]
['Q3857417', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q3857417 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Lewis
Lewis is associated with Mike Lewis
Lewis
action filter_type
action find
entity Mike Lewis
relation family name
type name
['Mike Lewis', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Mike_Lewis property:family_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11005077
Q82799
USER
And also tell me about Rhiannon Davies Jones?
(Q11005077,P734,c(Q82799))
action filter_type
action find
entity Q11005077
relation P734
type Q82799
['Q11005077', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q82799 . resource:Q11005077 property:P734 ?m }
Rhiannon Davies Jones
action filter_type
action find
entity Rhiannon Davies Jones
relation family name
type name
['Rhiannon Davies Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:name . resource:Rhiannon_Davies_Jones property:family_name ?m }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q11005077,P734,c(Q82799))
action filter_type
action find
entity Q11005077
relation P734
type Q82799
[ANSWER]
['Q11005077', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q82799 . resource:Q11005077 property:P734 ?m }
Jones
Jones
action filter_type
action find
entity Rhiannon Davies Jones
relation family name
type name
['Rhiannon Davies Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:name . resource:Rhiannon_Davies_Jones property:family_name ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11005077
P21
Q290
USER
Which sex does that person have ?
(Q59853,P21,c(Q290))
action filter_type
action find
entity Q11005077
relation P21
type Q290
['Q59853', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q11005077 property:P21 ?l . ?l rdf:type ontology:Q290 }
Rhiannon Davies Jones
action filter_type
action find
entity Rhiannon Davies Jones
relation gender
type sex
['Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Rhiannon_Davies_Jones property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q59853,P21,c(Q290))
action filter_type
action find
entity Q11005077
relation P21
type Q290
That person has a [ANSWER]
['Q59853', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q11005077 property:P21 ?l . ?l rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Rhiannon Davies Jones
relation gender
type sex
['Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Rhiannon_Davies_Jones property:gender ?l . ?l rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2352788 Q3665646
P54 P361
Q618123
USER
Which geographical objects are basketball player a portion of or are Leandro dos Santos de Jesus a member of ?
OR((Q3665646,P361,c(Q618123)), (Q2352788,P54,c(Q618123)))
action filter_type
action union
action find
entity Q3665646
relation P361
action find
entity Q2352788
relation P54
type Q618123
{'OR': [['Q3665646', 'P361', {'concept': 'Q618123'}], ['Q2352788', 'P54', {'concept': 'Q618123'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3665646 property:P361 ?a } UNION { resource:Q2352788 property:P54 ?a } } . ?a rdf:type ontology:Q618123 }
Leandro dos Santos de Jesus basketball player
action filter_type
action union
action find
entity basketball player
relation part of
action find
entity Leandro dos Santos de Jesus
relation member of sports team
type geographical object
{'OR': [['basketball player', 'part of', {'concept': 'geographical object'}], ['Leandro dos Santos de Jesus', 'member of sports team', {'concept': 'geographical object'}]]}
SELECT DISTINCT ?a WHERE { { { resource:basketball_player property:part_of ?a } UNION { resource:Leandro_dos_Santos_de_Jesus property:member_of_sports_team ?a } } . ?a rdf:type ontology:geographical_object }
[]
geographical object
Q13393265 Q80964
SYSTEM
basketball team, S.E. Palmeiras
Q13393265 Q80964
OR((Q3665646,P361,c(Q618123)), (Q2352788,P54,c(Q618123)))
action filter_type
action union
action find
entity Q3665646
relation P361
action find
entity Q2352788
relation P54
type Q618123
[ANSWERS] are basketball player a portion of or are Leandro dos Santos de Jesus a member of
{'OR': [['Q3665646', 'P361', {'concept': 'Q618123'}], ['Q2352788', 'P54', {'concept': 'Q618123'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3665646 property:P361 ?a } UNION { resource:Q2352788 property:P54 ?a } } . ?a rdf:type ontology:Q618123 }
basketball team S.E. Palmeiras
Basketball team and S.E. Palmeiras are basketball player a portion of or are Leandro dos Santos de Jesus a member of
basketball team S.E. Palmeiras
action filter_type
action union
action find
entity basketball player
relation part of
action find
entity Leandro dos Santos de Jesus
relation member of sports team
type geographical object
{'OR': [['basketball player', 'part of', {'concept': 'geographical object'}], ['Leandro dos Santos de Jesus', 'member of sports team', {'concept': 'geographical object'}]]}
SELECT DISTINCT ?a WHERE { { { resource:basketball_player property:part_of ?a } UNION { resource:Leandro_dos_Santos_de_Jesus property:member_of_sports_team ?a } } . ?a rdf:type ontology:geographical_object }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P118
Q623109 Q618123
USER
How many geographical objects play in lesser number of sports leagues than that geographical object ?
(c(Q618123),P118,c(Q623109))
[{'concept': 'Q618123'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q660818 ?y . ?z rdf:type ontology:Q618123 . ?y rdf:type ontology:Q623109 }
[{'concept': 'geographical object'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:league ?y . ?z rdf:type ontology:geographical_object . ?y rdf:type ontology:sports_league }
[]
sports league geographical object
Comparative|Count over More/Less|Single entity type|Clarification
Q13393265
SYSTEM
Did you mean basketball team ?
(c(Q618123),P118,c(Q623109))
[ANSWER]
[{'concept': 'Q618123'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q660818 ?y . ?z rdf:type ontology:Q618123 . ?y rdf:type ontology:Q623109 }
Did you mean basketball team ?
basketball team
[{'concept': 'geographical object'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:league ?y . ?z rdf:type ontology:geographical_object . ?y rdf:type ontology:sports_league }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant S.E. Palmeiras. Could you tell me the answer for that?
(c(Q618123),P118,c(Q623109))
Q80964
[{'concept': 'Q618123'}, 'P118', {'concept': 'Q623109'}]
[{'concept': 'geographical object'}, 'league', {'concept': 'sports league'}]
[]
SYSTEM
33
Q267574 Q5050536 Q2385062 Q7604904 Q17015538 Q20830918 Q15849953 Q80899 Q7416281 Q7305437 Q4877471 Q6781154 Q15843657 Q6953250 Q5332853 Q2652468 Q919062 Q1359341 Q7109151 Q15126761 Q1544450 Q596796 Q7186906 Q17321080 Q127549 Q7851144 Q2640559 Q2234547 Q13384290 Q142349 Q3502793 Q5243170 Q23308388
(c(Q618123),P118,c(Q623109))
[ANSWER]
[{'concept': 'Q618123'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q660818 ?y . ?z rdf:type ontology:Q618123 . ?y rdf:type ontology:Q623109 }
Aalborg Boldspilklub Castlemaine Football Club TSV 1865 Dachau Stawell Football Club Labette Cardinals Club Atlético Güemes TSV Bogen Unión de Santa Fe Sandhurst Football Club Redan Football Netball Club Beaufort Football Club Maryborough Football Club SV Raisting NC State Wolfpack Echuca Football Club Club Korfbal Vacarisses BC Lions Kjøbenhavns Boldklub Ottawa Redblacks SV Pullach TTC Frickenhausen Saskatchewan Roughriders Phoenix Inferno DJK Vilzing Erie SeaWolves Tucson Amigos Independiente de Neuquén Door Ontwikkeling Tot Ontspanning SV Erlenbach Toronto Argonauts Praga Rugby Daylesford Football Club TV 1879 Hilpoltstein
33
[{'concept': 'geographical object'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:league ?y . ?z rdf:type ontology:geographical_object . ?y rdf:type ontology:sports_league }
[]