Simple Question (Direct)
Simple Question
Q7477358
P1344
Q18608583
USER
What recurring sporting events did Yukari Konishi participate in ?
(Q7477358,P1344,c(Q18608583))
action filter_type
action find
entity Q7477358
relation P1344
type Q18608583
['Q7477358', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?h WHERE { resource:Q7477358 property:P1344 ?h . ?h rdf:type ontology:Q18608583 }
Yukari Konishi
action filter_type
action find
entity Yukari Konishi
relation participant of
type recurring sporting event
['Yukari Konishi', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?h WHERE { resource:Yukari_Konishi property:participant_of ?h . ?h rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q494906 Q244322 Q329679
SYSTEM
2002 Asian Games, 2010 Asian Games, 2006 Asian Games
Q494906 Q244322 Q329679
(Q7477358,P1344,c(Q18608583))
action filter_type
action find
entity Q7477358
relation P1344
type Q18608583
Yukari Konishi participated in [ANSWERS]
['Q7477358', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?h WHERE { resource:Q7477358 property:P1344 ?h . ?h rdf:type ontology:Q18608583 }
2002 Asian Games 2010 Asian Games 2006 Asian Games
Yukari Konishi participated in 2002 Asian Games, 2010 Asian Games and 2006 Asian Games
2002 Asian Games 2010 Asian Games 2006 Asian Games
action filter_type
action find
entity Yukari Konishi
relation participant of
type recurring sporting event
['Yukari Konishi', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?h WHERE { resource:Yukari_Konishi property:participant_of ?h . ?h rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7477358
P734
Q82799
USER
Who has the surname that person ?
(Q494906,P734,c(Q82799)) (Q244322,P734,c(Q82799)) (Q329679,P734,c(Q82799))
action filter_type
action find
entity Q7477358
relation P734
type Q82799
['Q494906', 'P734', {'concept': 'Q82799'}] ['Q244322', 'P734', {'concept': 'Q82799'}] ['Q329679', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q7477358 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Yukari Konishi
action filter_type
action find
entity Yukari Konishi
relation family name
type name
['2002 Asian Games', 'family name', {'concept': 'name'}] ['2010 Asian Games', 'family name', {'concept': 'name'}] ['2006 Asian Games', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Yukari_Konishi property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q21475401
SYSTEM
Konishi
Q21475401
(Q494906,P734,c(Q82799)) (Q244322,P734,c(Q82799)) (Q329679,P734,c(Q82799))
action filter_type
action find
entity Q7477358
relation P734
type Q82799
[ANSWER] has the surname that person
['Q494906', 'P734', {'concept': 'Q82799'}] ['Q244322', 'P734', {'concept': 'Q82799'}] ['Q329679', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q7477358 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Konishi
Konishi has the surname that person
Konishi
action filter_type
action find
entity Yukari Konishi
relation family name
type name
['2002 Asian Games', 'family name', {'concept': 'name'}] ['2010 Asian Games', 'family name', {'concept': 'name'}] ['2006 Asian Games', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Yukari_Konishi property:family_name ?m . ?m rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21475401 Q5662772
P734
Q502895
USER
Does José Elósegui have that name as surname ?
(Q5662772,P734,Q21475401)
action is_in
entity Q5662772
action find
entity Q21475401
relation P734
['Q5662772', 'P734', 'Q21475401']
ASK WHERE { resource:Q21475401 property:P734 resource:Q5662772 }
Konishi José Elósegui
action is_in
entity José Elósegui
action find
entity Konishi
relation family name
['José Elósegui', 'family name', 'Konishi']
ASK WHERE { resource:Konishi property:family_name resource:José_Elósegui }
[]
common name
SYSTEM
NO
(Q5662772,P734,Q21475401)
action is_in
entity Q5662772
action find
entity Q21475401
relation P734
[ANSWER]
['Q5662772', 'P734', 'Q21475401']
ASK WHERE { resource:Q21475401 property:P734 resource:Q5662772 }
No
action is_in
entity José Elósegui
action find
entity Konishi
relation family name
['José Elósegui', 'family name', 'Konishi']
ASK WHERE { resource:Konishi property:family_name resource:José_Elósegui }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q144
P180
Q82799 Q17335294 Q11060274
USER
How many names are depicted in less number of coats of arms or prints than dog ?
(c(Q17335294)|c(Q11060274),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q144
relation P180
type Q17335294
type Q11060274
[[{'concept': 'Q17335294'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P180 resource:Q144 . { { ?c rdf:type ontology:Q17335294 } UNION { ?c rdf:type ontology:Q11060274 } } } } . FILTER ( ?g < ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?o WHERE { { ?z property:P180 ?o . ?o rdf:type ontology:Q82799 . ?z rdf:type ontology:Q17335294 } UNION { ?z property:P180 ?o . ?o rdf:type ontology:Q82799 . ?z rdf:type ontology:Q11060274 } } GROUP BY ?o } }
dog
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type print
action count
action filter_multi_types
action find_reverse
entity dog
relation depicts
type flag or coat of arms
type print
[[{'concept': 'flag or coat of arms'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:depicts resource:dog . { { ?c rdf:type ontology:flag_or_coat_of_arms } UNION { ?c rdf:type ontology:print } } } } . FILTER ( ?g < ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?o WHERE { { ?z property:depicts ?o . ?o rdf:type ontology:name . ?z rdf:type ontology:flag_or_coat_of_arms } UNION { ?z property:depicts ?o . ?o rdf:type ontology:name . ?z rdf:type ontology:print } } GROUP BY ?o } }
[]
name flag or coat of arms print
SYSTEM
51
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q17335294)|c(Q11060274),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q144
relation P180
type Q17335294
type Q11060274
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P180 resource:Q144 . { { ?c rdf:type ontology:Q17335294 } UNION { ?c rdf:type ontology:Q11060274 } } } } . FILTER ( ?g < ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?o WHERE { { ?z property:P180 ?o . ?o rdf:type ontology:Q82799 . ?z rdf:type ontology:Q17335294 } UNION { ?z property:P180 ?o . ?o rdf:type ontology:Q82799 . ?z rdf:type ontology:Q11060274 } } GROUP BY ?o } }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
51
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type print
action count
action filter_multi_types
action find_reverse
entity dog
relation depicts
type flag or coat of arms
type print
[[{'concept': 'flag or coat of arms'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:depicts resource:dog . { { ?c rdf:type ontology:flag_or_coat_of_arms } UNION { ?c rdf:type ontology:print } } } } . FILTER ( ?g < ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?o WHERE { { ?z property:depicts ?o . ?o rdf:type ontology:name . ?z rdf:type ontology:flag_or_coat_of_arms } UNION { ?z property:depicts ?o . ?o rdf:type ontology:name . ?z rdf:type ontology:print } } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8488
P276
Q56061
USER
Where is 1992 Summer Olympics located ?
(Q8488,P276,c(Q56061))
action filter_type
action find
entity Q8488
relation P276
type Q56061
['Q8488', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q8488 property:P276 ?j . ?j rdf:type ontology:Q56061 }
1992 Summer Olympics
action filter_type
action find
entity 1992 Summer Olympics
relation location
type administrative territorial entity
['1992 Summer Olympics', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:1992_Summer_Olympics property:location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q8488,P276,c(Q56061))
action filter_type
action find
entity Q8488
relation P276
type Q56061
1992 Summer Olympics is located in [ANSWER]
['Q8488', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q8488 property:P276 ?j . ?j rdf:type ontology:Q56061 }
Barcelona
1992 Summer Olympics is located in Barcelona
Barcelona
action filter_type
action find
entity 1992 Summer Olympics
relation location
type administrative territorial entity
['1992 Summer Olympics', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:1992_Summer_Olympics property:location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q8488
Q1076486
USER
And which sports venue?
(Q8488,P276,c(Q1076486))
action filter_type
action find
entity Q8488
relation P276
type Q1076486
['Q8488', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?a WHERE { resource:Q8488 property:P276 ?a . ?a rdf:type ontology:Q1076486 }
1992 Summer Olympics
action filter_type
action find
entity 1992 Summer Olympics
relation location
type sports venue
['1992 Summer Olympics', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?a WHERE { resource:1992_Summer_Olympics property:location ?a . ?a rdf:type ontology:sports_venue }
[]
sports venue
Q275715
SYSTEM
Estadi Olímpic Lluís Companys
Q275715
(Q8488,P276,c(Q1076486))
action filter_type
action find
entity Q8488
relation P276
type Q1076486
[ANSWER]
['Q8488', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?a WHERE { resource:Q8488 property:P276 ?a . ?a rdf:type ontology:Q1076486 }
Estadi Olímpic Lluís Companys
Estadi Olímpic Lluís Companys
action filter_type
action find
entity 1992 Summer Olympics
relation location
type sports venue
['1992 Summer Olympics', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?a WHERE { resource:1992_Summer_Olympics property:location ?a . ?a rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q275715
P84
Q502895
USER
Who designed the architecture of that sports venue ?
(Q275715,P84,c(Q502895))
action filter_type
action find
entity Q275715
relation P84
type Q502895
['Q275715', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q275715 property:P84 ?v . ?v rdf:type ontology:Q502895 }
Estadi Olímpic Lluís Companys
action filter_type
action find
entity Estadi Olímpic Lluís Companys
relation architect
type common name
['Estadi Olímpic Lluís Companys', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Estadi_Olímpic_Lluís_Companys property:architect ?v . ?v rdf:type ontology:common_name }
[]
common name
Q2070359
SYSTEM
Pere Domènech i Roura
Q2070359
(Q275715,P84,c(Q502895))
action filter_type
action find
entity Q275715
relation P84
type Q502895
[ANSWER] designed the architecture of that sports venue
['Q275715', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q275715 property:P84 ?v . ?v rdf:type ontology:Q502895 }
Pere Domènech i Roura
Pere Domènech i Roura designed the architecture of that sports venue
Pere Domènech i Roura
action filter_type
action find
entity Estadi Olímpic Lluís Companys
relation architect
type common name
['Estadi Olímpic Lluís Companys', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Estadi_Olímpic_Lluís_Companys property:architect ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q275715
P1435
Q2065736
USER
Which cultural property heritage status does that sports venue have ?
(Q2070359,P1435,c(Q2065736))
action filter_type
action find
entity Q275715
relation P1435
type Q2065736
['Q2070359', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2065736 . resource:Q275715 property:P1435 ?h }
Estadi Olímpic Lluís Companys
action filter_type
action find
entity Estadi Olímpic Lluís Companys
relation heritage status
type cultural property
['Pere Domènech i Roura', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:cultural_property . resource:Estadi_Olímpic_Lluís_Companys property:heritage_status ?h }
[]
cultural property
Q11910250
SYSTEM
Cultural Asset of Local Interest
Q11910250
(Q2070359,P1435,c(Q2065736))
action filter_type
action find
entity Q275715
relation P1435
type Q2065736
That sports venue has a [ANSWER]
['Q2070359', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2065736 . resource:Q275715 property:P1435 ?h }
Cultural Asset of Local Interest
That sports venue has a Cultural Asset of Local Interest
Cultural Asset of Local Interest
action filter_type
action find
entity Estadi Olímpic Lluís Companys
relation heritage status
type cultural property
['Pere Domènech i Roura', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:cultural_property . resource:Estadi_Olímpic_Lluís_Companys property:heritage_status ?h }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1435
Q2065736 Q27686
USER
How many cultural properties represent the heritage status given to more number of hotels than that cultural property ?
(c(Q27686),P1435,c(Q2065736))
action count
action greater
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
action count
action filter_type
action find
entity Q11910250
relation P1435
type Q2065736
[{'concept': 'Q27686'}, 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P1435 ?y . ?y rdf:type ontology:Q2065736 . ?k rdf:type ontology:Q27686 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q11910250 property:P1435 ?u . ?u rdf:type ontology:Q2065736 } } . FILTER ( ?n > ?f ) }
action count
action greater
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
action count
action filter_type
action find
entity Cultural Asset of Local Interest
relation heritage status
type cultural property
[{'concept': 'hotel'}, 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:heritage_status ?y . ?y rdf:type ontology:cultural_property . ?k rdf:type ontology:hotel } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Cultural_Asset_of_Local_Interest property:heritage_status ?u . ?u rdf:type ontology:cultural_property } } . FILTER ( ?n > ?f ) }
[]
cultural property hotel
SYSTEM
7
Q19558910 Q916333 Q2650048 Q15632117 Q1568567 Q14916934 Q14842506
(c(Q27686),P1435,c(Q2065736))
action count
action greater
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
action count
action filter_type
action find
entity Q11910250
relation P1435
type Q2065736
[ANSWER]
[{'concept': 'Q27686'}, 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P1435 ?y . ?y rdf:type ontology:Q2065736 . ?k rdf:type ontology:Q27686 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q11910250 property:P1435 ?u . ?u rdf:type ontology:Q2065736 } } . FILTER ( ?n > ?f ) }
place listed on the National Register of Historic Places Rijksmonument municipal monument Baudenkmal national historic site of Canada Municipally Registered Property municipal heritage property
7
action count
action greater
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
action count
action filter_type
action find
entity Cultural Asset of Local Interest
relation heritage status
type cultural property
[{'concept': 'hotel'}, 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:heritage_status ?y . ?y rdf:type ontology:cultural_property . ?k rdf:type ontology:hotel } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Cultural_Asset_of_Local_Interest property:heritage_status ?u . ?u rdf:type ontology:cultural_property } } . FILTER ( ?n > ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1492
P840
Q838948
USER
Which works of art have their setting located at Barcelona ?
(c(Q838948),P840,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q1492']
SELECT DISTINCT ?m WHERE { ?m property:P840 resource:Q1492 . ?m rdf:type ontology:Q838948 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Barcelona']
SELECT DISTINCT ?m WHERE { ?m property:narrative_location resource:Barcelona . ?m rdf:type ontology:work_of_art }
[]
work of art
Q643805 Q879174 Q1365797
SYSTEM
Land and Freedom, Biutiful, L'Auberge espagnole
Q16885369 Q643805 Q5824859 Q879174 Q1365797
(c(Q838948),P840,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P840
type Q838948
[ANSWERS] have their setting located at Barcelona
[{'concept': 'Q838948'}, 'P840', 'Q1492']
SELECT DISTINCT ?m WHERE { ?m property:P840 resource:Q1492 . ?m rdf:type ontology:Q838948 }
Sagrada - el misteri de la creació Land and Freedom The Shanghai Spell Biutiful L'Auberge espagnole
Land and Freedom, Biutiful and L'Auberge espagnole have their setting located at Barcelona
Land and Freedom Biutiful L'Auberge espagnole
action filter_type
action find_reverse
entity Barcelona
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Barcelona']
SELECT DISTINCT ?m WHERE { ?m property:narrative_location resource:Barcelona . ?m rdf:type ontology:work_of_art }
[]