Simple Question (Direct)
Simple Question
Q269883
P734
Q82799
USER
Who has the surname Emmanuel Petit ?
(Q269883,P734,c(Q82799))
action filter_type
action find
entity Q269883
relation P734
type Q82799
['Q269883', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q269883 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Emmanuel Petit
action filter_type
action find
entity Emmanuel Petit
relation family name
type name
['Emmanuel Petit', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Emmanuel_Petit property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q19809242
SYSTEM
Petit
Q19809242
(Q269883,P734,c(Q82799))
action filter_type
action find
entity Q269883
relation P734
type Q82799
[ANSWER] has the surname Emmanuel [ANSWER]
['Q269883', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q269883 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Petit
Petit has the surname Emmanuel Petit
Petit
action filter_type
action find
entity Emmanuel Petit
relation family name
type name
['Emmanuel Petit', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Emmanuel_Petit property:family_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q269883
P1344
Q1375427
USER
What did Emmanuel Petit participate in ?
(Q269883,P1344,c(Q1375427))
action filter_type
action find
entity Q269883
relation P1344
type Q1375427
['Q269883', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?s WHERE { resource:Q269883 property:P1344 ?s . ?s rdf:type ontology:Q1375427 }
Emmanuel Petit
action filter_type
action find
entity Emmanuel Petit
relation participant of
type European Championship
['Emmanuel Petit', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?s WHERE { resource:Emmanuel_Petit property:participant_of ?s . ?s rdf:type ontology:European_Championship }
[]
European Championship
Q161810 Q131239
SYSTEM
UEFA Euro 1992, UEFA Euro 2000
Q161810 Q131239
(Q269883,P1344,c(Q1375427))
action filter_type
action find
entity Q269883
relation P1344
type Q1375427
Emmanuel Petit participated in [ANSWERS]
['Q269883', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?s WHERE { resource:Q269883 property:P1344 ?s . ?s rdf:type ontology:Q1375427 }
UEFA Euro 1992 UEFA Euro 2000
Emmanuel Petit participated in UEFA Euro 1992 and UEFA Euro 2000
UEFA Euro 1992 UEFA Euro 2000
action filter_type
action find
entity Emmanuel Petit
relation participant of
type European Championship
['Emmanuel Petit', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?s WHERE { resource:Emmanuel_Petit property:participant_of ?s . ?s rdf:type ontology:European_Championship }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q269883
Q15275719
USER
And which recurring event?
(Q269883,P1344,c(Q15275719))
action filter_type
action find
entity Q269883
relation P1344
type Q15275719
['Q269883', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?x WHERE { resource:Q269883 property:P1344 ?x . ?x rdf:type ontology:Q15275719 }
Emmanuel Petit
action filter_type
action find
entity Emmanuel Petit
relation participant of
type recurring event
['Emmanuel Petit', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?x WHERE { resource:Emmanuel_Petit property:participant_of ?x . ?x rdf:type ontology:recurring_event }
[]
recurring event
Q47735 Q101730
SYSTEM
2002 FIFA World Cup, 1998 FIFA World Cup
Q47735 Q101730
(Q269883,P1344,c(Q15275719))
action filter_type
action find
entity Q269883
relation P1344
type Q15275719
[ANSWERS]
['Q269883', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?x WHERE { resource:Q269883 property:P1344 ?x . ?x rdf:type ontology:Q15275719 }
2002 FIFA World Cup 1998 FIFA World Cup
2002 FIFA World Cup 1998 FIFA World Cup
action filter_type
action find
entity Emmanuel Petit
relation participant of
type recurring event
['Emmanuel Petit', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?x WHERE { resource:Emmanuel_Petit property:participant_of ?x . ?x rdf:type ontology:recurring_event }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1344
Q15275719 Q502895
USER
How many recurring events did greater number of people participate in than that recurring event ?
(c(Q502895),P1344,c(Q15275719))
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1344 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q15275719 }
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participant_of ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:recurring_event }
[]
recurring event common name
Comparative|Count over More/Less|Single entity type|Clarification
Q47735
SYSTEM
Did you mean 2002 FIFA World Cup ?
(c(Q502895),P1344,c(Q15275719))
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1344 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q15275719 }
Did you mean 2002 FIFA World Cup ?
2002 FIFA World Cup
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participant_of ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:recurring_event }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant 1998 FIFA World Cup. Could you tell me the answer for that?
(c(Q502895),P1344,c(Q15275719))
Q101730
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
[]
SYSTEM
5
Q79859 Q176883 Q47735 Q33881 Q37285
(c(Q502895),P1344,c(Q15275719))
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1344 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q15275719 }
2014 FIFA World Cup 2010 FIFA World Cup 2002 FIFA World Cup Tour de France 2006 FIFA World Cup
5
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participant_of ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:recurring_event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q131239
P1923
Q1194951
USER
How many national sports teams were participants in UEFA Euro 2000 ?
(Q131239,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q131239
relation P1923
type Q1194951
['Q131239', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q131239 property:P1923 ?c . ?c rdf:type ontology:Q1194951 }
UEFA Euro 2000
action count
action filter_type
action find
entity UEFA Euro 2000
relation participating teams
type national sports team
['UEFA Euro 2000', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:UEFA_Euro_2000 property:participating_teams ?c . ?c rdf:type ontology:national_sports_team }
[]
national sports team
SYSTEM
16
Q43310 Q676899 Q184387 Q267245 Q160826 Q42267 Q188363 Q483868 Q47050 Q172221 Q168397 Q166776 Q483856 Q47762 Q47774 Q131785
(Q131239,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q131239
relation P1923
type Q1194951
[ANSWER]
['Q131239', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q131239 property:P1923 ?c . ?c rdf:type ontology:Q1194951 }
Germany national football team Italy national football team Norway national football team Portugal national football team Sweden national football team Spain national football team Yugoslavia national football team Czech Republic national football team Netherlands national football team Slovenia national football team Romania national football team Belgium national football team Turkey national football team England national football team France national football team Denmark national football team
16
action count
action filter_type
action find
entity UEFA Euro 2000
relation participating teams
type national sports team
['UEFA Euro 2000', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:UEFA_Euro_2000 property:participating_teams ?c . ?c rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131239
P361
Q500834
USER
Which tournament is a component of that European Championship ?
action filter_type
action find_reverse
entity Q131239
relation P361
type Q500834
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q131239 . ?i rdf:type ontology:Q500834 }
UEFA Euro 2000
action filter_type
action find_reverse
entity UEFA Euro 2000
relation part of
type tournament
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:UEFA_Euro_2000 . ?i rdf:type ontology:tournament }
[]
tournament
Q1074253
SYSTEM
UEFA Euro 2000 squads
Q1074253
action filter_type
action find_reverse
entity Q131239
relation P361
type Q500834
[ANSWER] is a component of that European Championship
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q131239 . ?i rdf:type ontology:Q500834 }
UEFA Euro 2000 squads
UEFA Euro 2000 squads is a component of that European Championship
UEFA Euro 2000 squads
action filter_type
action find_reverse
entity UEFA Euro 2000
relation part of
type tournament
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:UEFA_Euro_2000 . ?i rdf:type ontology:tournament }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q1792379 Q17335294
USER
Which names are expressed in atmost 3 art genres and coats of arms ?
(c(Q1792379)|c(Q17335294),P180,c(Q82799))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 3
[[{'concept': 'Q1792379'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) ?r WHERE { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1792379 ) ( ontology:Q17335294 ) } } GROUP BY ?r } . FILTER ( ?i <= 3 ) }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 3
[[{'concept': 'art genre'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) ?r WHERE { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:art_genre ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?r } . FILTER ( ?i <= 3 ) }
[]
name art genre flag or coat of arms
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
Q13219075 Q134609 Q5 Q726 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q1792379)|c(Q17335294),P180,c(Q82799))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 3
[ANSWERS] are expressed in atmost 3 art genres and coats of arms
[[{'concept': 'Q1792379'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) ?r WHERE { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1792379 ) ( ontology:Q17335294 ) } } GROUP BY ?r } . FILTER ( ?i <= 3 ) }
octopus Cynara scolymus human horse toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Dog, leek and magi are expressed in atmost 3 art genres and coats of arms
dog leek magi
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 3
[[{'concept': 'art genre'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) ?r WHERE { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:art_genre ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?r } . FILTER ( ?i <= 3 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q144
P689
Q16521
USER
Which taxon afflicts that name ?
(c(Q16521),P689,Q144)
action filter_type
action find_reverse
entity Q144
relation P689
type Q16521
[{'concept': 'Q16521'}, 'P689', 'Q144']
SELECT DISTINCT ?j WHERE { ?j property:P689 resource:Q144 . ?j rdf:type ontology:Q16521 }
dog
action filter_type
action find_reverse
entity dog
relation afflicts
type taxon
[{'concept': 'taxon'}, 'afflicts', 'dog']
SELECT DISTINCT ?j WHERE { ?j property:afflicts resource:dog . ?j rdf:type ontology:taxon }
[]
taxon
Clarification for simple ques.
Q144
SYSTEM
Did you mean dog ?
Q144 Q1807269 Q876933
(c(Q16521),P689,Q144) (c(Q16521),P689,Q1807269) (c(Q16521),P689,Q876933)
[ANSWER]
[{'concept': 'Q16521'}, 'P689', 'Q144'] [{'concept': 'Q16521'}, 'P689', 'Q1807269'] [{'concept': 'Q16521'}, 'P689', 'Q876933']
SELECT DISTINCT ?j WHERE { ?j property:P689 resource:Q144 . ?j rdf:type ontology:Q16521 }
dog leek magi
Did you mean dog ?
dog
[{'concept': 'taxon'}, 'afflicts', 'dog'] [{'concept': 'taxon'}, 'afflicts', 'leek'] [{'concept': 'taxon'}, 'afflicts', 'magi']
SELECT DISTINCT ?j WHERE { ?j property:afflicts resource:dog . ?j rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q16521),P689,Q144)
[{'concept': 'Q16521'}, 'P689', 'Q144']
[{'concept': 'taxon'}, 'afflicts', 'dog']
[]
Q1995242
SYSTEM
Dirofilaria repens
Q1995242
(c(Q16521),P689,Q144)
action filter_type
action find_reverse
entity Q144
relation P689
type Q16521
[ANSWER] afflicts that name
[{'concept': 'Q16521'}, 'P689', 'Q144']
SELECT DISTINCT ?j WHERE { ?j property:P689 resource:Q144 . ?j rdf:type ontology:Q16521 }
Dirofilaria repens
Dirofilaria repens afflicts that name
Dirofilaria repens
action filter_type
action find_reverse
entity dog
relation afflicts
type taxon
[{'concept': 'taxon'}, 'afflicts', 'dog']
SELECT DISTINCT ?j WHERE { ?j property:afflicts resource:dog . ?j rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q144
P689
Q12136
USER
Which disease can afflict dog ?
(c(Q12136),P689,Q144)
action filter_type
action find_reverse
entity Q144
relation P689
type Q12136
[{'concept': 'Q12136'}, 'P689', 'Q144']
SELECT DISTINCT ?e WHERE { ?e property:P689 resource:Q144 . ?e rdf:type ontology:Q12136 }
dog
action filter_type
action find_reverse
entity dog
relation afflicts
type disease
[{'concept': 'disease'}, 'afflicts', 'dog']
SELECT DISTINCT ?e WHERE { ?e property:afflicts resource:dog . ?e rdf:type ontology:disease }
[]
disease
Q1033305
SYSTEM
diabetes in dogs
Q1033305
(c(Q12136),P689,Q144)
action filter_type
action find_reverse
entity Q144
relation P689
type Q12136
[ANSWER] can afflict dog
[{'concept': 'Q12136'}, 'P689', 'Q144']
SELECT DISTINCT ?e WHERE { ?e property:P689 resource:Q144 . ?e rdf:type ontology:Q12136 }
diabetes in dogs
Diabetes in dogs can afflict dog
diabetes in dogs
action filter_type
action find_reverse
entity dog
relation afflicts
type disease
[{'concept': 'disease'}, 'afflicts', 'dog']
SELECT DISTINCT ?e WHERE { ?e property:afflicts resource:dog . ?e rdf:type ontology:disease }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q144
P366
Q16521
USER
Which taxon has its main utilization as that name ?
(c(Q16521),P366,Q1033305)
action filter_type
action find_reverse
entity Q144
relation P366
type Q16521
[{'concept': 'Q16521'}, 'P366', 'Q1033305']
SELECT DISTINCT ?r WHERE { ?r property:P366 resource:Q144 . ?r rdf:type ontology:Q16521 }
dog
action filter_type
action find_reverse
entity dog
relation use
type taxon
[{'concept': 'taxon'}, 'use', 'diabetes in dogs']
SELECT DISTINCT ?r WHERE { ?r property:use resource:dog . ?r rdf:type ontology:taxon }
[]
taxon
Q26972265
SYSTEM
Canis lupus familiaris
Q26972265
(c(Q16521),P366,Q1033305)
action filter_type
action find_reverse
entity Q144
relation P366
type Q16521
[ANSWER] has its main utilization as that name
[{'concept': 'Q16521'}, 'P366', 'Q1033305']
SELECT DISTINCT ?r WHERE { ?r property:P366 resource:Q144 . ?r rdf:type ontology:Q16521 }
Canis lupus familiaris
Canis lupus familiaris has its main utilization as that name
Canis lupus familiaris
action filter_type
action find_reverse
entity dog
relation use
type taxon
[{'concept': 'taxon'}, 'use', 'diabetes in dogs']
SELECT DISTINCT ?r WHERE { ?r property:use resource:dog . ?r rdf:type ontology:taxon }
[]