Simple Question (Direct)
Simple Question
Q1320975
P20
Q56061
USER
Which administrative territory is the place of death of András Tihanyi ?
(Q1320975,P20,c(Q56061))
action filter_type
action find
entity Q1320975
relation P20
type Q56061
['Q1320975', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q1320975 property:P20 ?t }
András Tihanyi
action filter_type
action find
entity András Tihanyi
relation place of death
type administrative territorial entity
['András Tihanyi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:András_Tihanyi property:place_of_death ?t }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q1320975,P20,c(Q56061))
action filter_type
action find
entity Q1320975
relation P20
type Q56061
[ANSWER] is the place of death of András Tihanyi
['Q1320975', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q1320975 property:P20 ?t }
Budapest
Budapest is the place of death of András Tihanyi
Budapest
action filter_type
action find
entity András Tihanyi
relation place of death
type administrative territorial entity
['András Tihanyi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:András_Tihanyi property:place_of_death ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1320975
P641
Q349
USER
Which sport did András Tihanyi participate in ?
(Q1320975,P641,c(Q349))
action filter_type
action find
entity Q1320975
relation P641
type Q349
['Q1320975', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q1320975 property:P641 ?k }
András Tihanyi
action filter_type
action find
entity András Tihanyi
relation sport
type sport
['András Tihanyi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:András_Tihanyi property:sport ?k }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1320975,P641,c(Q349))
action filter_type
action find
entity Q1320975
relation P641
type Q349
András Tihanyi participated in [ANSWER]
['Q1320975', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q1320975 property:P641 ?k }
association football
András Tihanyi participated in association football
association football
action filter_type
action find
entity András Tihanyi
relation sport
type sport
['András Tihanyi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:András_Tihanyi property:sport ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q465062
Q349
USER
And how about Guillem Martí Misut?
(Q465062,P641,c(Q349))
action filter_type
action find
entity Q465062
relation P641
type Q349
['Q465062', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q465062 property:P641 ?l . ?l rdf:type ontology:Q349 }
Guillem Martí Misut
action filter_type
action find
entity Guillem Martí Misut
relation sport
type sport
['Guillem Martí Misut', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Guillem_Martí_Misut property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q465062,P641,c(Q349))
action filter_type
action find
entity Q465062
relation P641
type Q349
[ANSWER]
['Q465062', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q465062 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Guillem Martí Misut
relation sport
type sport
['Guillem Martí Misut', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Guillem_Martí_Misut property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3873500
P1532
Q15617994
USER
Which administrative territory is played by Norway under-16 national football team ?
(Q3873500,P1532,c(Q15617994))
action filter_type
action find
entity Q3873500
relation P1532
type Q15617994
['Q3873500', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3873500 property:P1532 ?v . ?v rdf:type ontology:Q15617994 }
Norway under-16 national football team
action filter_type
action find
entity Norway under-16 national football team
relation country for sport
type designation for an administrative territorial entity
['Norway under-16 national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Norway_under-16_national_football_team property:country_for_sport ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q3873500,P1532,c(Q15617994))
action filter_type
action find
entity Q3873500
relation P1532
type Q15617994
And [ANSWER] is played by [ANSWER] under-16 national football team
['Q3873500', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3873500 property:P1532 ?v . ?v rdf:type ontology:Q15617994 }
Norway
And Norway is played by Norway under-16 national football team
Norway
action filter_type
action find
entity Norway under-16 national football team
relation country for sport
type designation for an administrative territorial entity
['Norway under-16 national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Norway_under-16_national_football_team property:country_for_sport ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q20 Q397802 Q183
P530
Q1048835
USER
Is that administrative territory known to have diplomatic connections with Aguada de Baixo and Germany ?
(Q20,P530,Q397802) (Q20,P530,Q183)
action is_in
entity Q20
action intersection
action find_reverse
entity Q397802
relation P530
action find_reverse
entity Q183
relation P530
['Q20', 'P530', 'Q397802'] ['Q20', 'P530', 'Q183']
ASK WHERE { resource:Q20 property:P530 resource:Q397802 . resource:Q20 property:P530 resource:Q183 }
Norway Aguada de Baixo Germany
action is_in
entity Norway
action intersection
action find_reverse
entity Aguada de Baixo
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Norway', 'diplomatic relation', 'Aguada de Baixo'] ['Norway', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Norway property:diplomatic_relation resource:Aguada_de_Baixo . resource:Norway property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q20,P530,Q397802) (Q20,P530,Q183)
action is_in
entity Q20
action intersection
action find_reverse
entity Q397802
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q20', 'P530', 'Q397802'] ['Q20', 'P530', 'Q183']
ASK WHERE { resource:Q20 property:P530 resource:Q397802 . resource:Q20 property:P530 resource:Q183 }
NO and YES respectively
action is_in
entity Norway
action intersection
action find_reverse
entity Aguada de Baixo
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Norway', 'diplomatic relation', 'Aguada de Baixo'] ['Norway', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Norway property:diplomatic_relation resource:Aguada_de_Baixo . resource:Norway property:diplomatic_relation resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9618616 Q1320975
P27
Q15617994
USER
Which administrative territories do András Tihanyi or António Amorim de Vasconcelos Porto belong to ?
OR((Q1320975,P27,c(Q15617994)), (Q9618616,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1320975
relation P27
action find
entity Q9618616
relation P27
type Q15617994
{'OR': [['Q1320975', 'P27', {'concept': 'Q15617994'}], ['Q9618616', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?l ) { ( resource:Q9618616 ) ( resource:Q1320975 ) } . ?l property:P27 ?b } . ?b rdf:type ontology:Q15617994 }
António Amorim de Vasconcelos Porto András Tihanyi
action filter_type
action union
action find
entity András Tihanyi
relation country of citizenship
action find
entity António Amorim de Vasconcelos Porto
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['András Tihanyi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['António Amorim de Vasconcelos Porto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?l ) { ( resource:António_Amorim_de_Vasconcelos_Porto ) ( resource:András_Tihanyi ) } . ?l property:country_of_citizenship ?b } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q45
SYSTEM
Hungary, Portugal
Q28 Q45
OR((Q1320975,P27,c(Q15617994)), (Q9618616,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1320975
relation P27
action find
entity Q9618616
relation P27
type Q15617994
[ANSWERS] András Tihanyi or António Amorim de Vasconcelos Porto belong to
{'OR': [['Q1320975', 'P27', {'concept': 'Q15617994'}], ['Q9618616', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?l ) { ( resource:Q9618616 ) ( resource:Q1320975 ) } . ?l property:P27 ?b } . ?b rdf:type ontology:Q15617994 }
Hungary Portugal
Hungary and Portugal András Tihanyi or António Amorim de Vasconcelos Porto belong to
Hungary Portugal
action filter_type
action union
action find
entity András Tihanyi
relation country of citizenship
action find
entity António Amorim de Vasconcelos Porto
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['András Tihanyi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['António Amorim de Vasconcelos Porto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?l ) { ( resource:António_Amorim_de_Vasconcelos_Porto ) ( resource:András_Tihanyi ) } . ?l property:country_of_citizenship ?b } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q871301
P27
Q502895
USER
Are Endre Csekonics a native of those administrative territories ?
(Q871301,P27,Q28) (Q871301,P27,Q45)
action is_in
entity prev_answer
action find
entity Q871301
relation P27
['Q871301', 'P27', 'Q28'] ['Q871301', 'P27', 'Q45']
ASK WHERE { VALUES ( ?t ) { ( resource:Q28 ) ( resource:Q45 ) } . resource:Q871301 property:P27 ?t }
Endre Csekonics
action is_in
entity prev_answer
action find
entity Endre Csekonics
relation country of citizenship
['Endre Csekonics', 'country of citizenship', 'Hungary'] ['Endre Csekonics', 'country of citizenship', 'Portugal']
ASK WHERE { VALUES ( ?t ) { ( resource:Hungary ) ( resource:Portugal ) } . resource:Endre_Csekonics property:country_of_citizenship ?t }
[]
common name
SYSTEM
YES
(Q871301,P27,Q28) (Q871301,P27,Q45)
action is_in
entity prev_answer
action find
entity Q871301
relation P27
[ANSWER]
['Q871301', 'P27', 'Q28'] ['Q871301', 'P27', 'Q45']
ASK WHERE { VALUES ( ?t ) { ( resource:Q28 ) ( resource:Q45 ) } . resource:Q871301 property:P27 ?t }
Yes
action is_in
entity prev_answer
action find
entity Endre Csekonics
relation country of citizenship
['Endre Csekonics', 'country of citizenship', 'Hungary'] ['Endre Csekonics', 'country of citizenship', 'Portugal']
ASK WHERE { VALUES ( ?t ) { ( resource:Hungary ) ( resource:Portugal ) } . resource:Endre_Csekonics property:country_of_citizenship ?t }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q407325 Q397802
P17
Q15617994
USER
Which administrative territories are Aguada de Baixo or Alfatar situated in ?
OR((Q397802,P17,c(Q15617994)), (Q407325,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q397802
relation P17
action find
entity Q407325
relation P17
type Q15617994
{'OR': [['Q397802', 'P17', {'concept': 'Q15617994'}], ['Q407325', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?v ) { ( resource:Q397802 ) ( resource:Q407325 ) } . ?v property:P17 ?l } . ?l rdf:type ontology:Q15617994 }
Alfatar Aguada de Baixo
action filter_type
action union
action find
entity Aguada de Baixo
relation country
action find
entity Alfatar
relation country
type designation for an administrative territorial entity
{'OR': [['Aguada de Baixo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Alfatar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?v ) { ( resource:Aguada_de_Baixo ) ( resource:Alfatar ) } . ?v property:country ?l } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219 Q45
SYSTEM
Bulgaria, Portugal
Q219 Q45
OR((Q397802,P17,c(Q15617994)), (Q407325,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q397802
relation P17
action find
entity Q407325
relation P17
type Q15617994
Aguada de Baixo or Alfatar are situated in [ANSWERS]
{'OR': [['Q397802', 'P17', {'concept': 'Q15617994'}], ['Q407325', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?v ) { ( resource:Q397802 ) ( resource:Q407325 ) } . ?v property:P17 ?l } . ?l rdf:type ontology:Q15617994 }
Bulgaria Portugal
Aguada de Baixo or Alfatar are situated in Bulgaria and Portugal
Bulgaria Portugal
action filter_type
action union
action find
entity Aguada de Baixo
relation country
action find
entity Alfatar
relation country
type designation for an administrative territorial entity
{'OR': [['Aguada de Baixo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Alfatar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?v ) { ( resource:Aguada_de_Baixo ) ( resource:Alfatar ) } . ?v property:country ?l } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have atmost 2 holidays and people as their patron saint ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action atmost
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 2
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { FILTER ( ?l <= 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?l ) WHERE { { ?i property:P417 ?o . ?o rdf:type ontology:Q1445650 . ?i rdf:type ontology:Q15617994 } UNION { ?i property:P417 ?o . ?i rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q502895 } } GROUP BY ?i } }
action count
action atmost
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { FILTER ( ?l <= 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?l ) WHERE { { ?i property:patron_saint ?o . ?o rdf:type ontology:holiday . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i property:patron_saint ?o . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:common_name } } GROUP BY ?i } }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
827
Q102547 Q51179 Q103832 Q265483 Q18339 Q46304 Q268902 Q124005 Q55000 Q55009 Q43005 Q43000 Q22497 Q39633 Q56075 Q103572 Q42950 Q386898 Q490936 Q20203 Q328037 Q9525 Q9520 Q20208 Q18022 Q53164 Q18348 Q99937 Q283857 Q112226 Q18029 Q391326 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q206966 Q41058 Q53524 Q10212 Q9044 Q155 Q42896 Q52085 Q47342 Q45 Q52244 Q25198 Q111113 Q101067 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q80554 Q267241 Q42974 Q112143 Q42972 Q17674 Q390108 Q51207 Q13470 Q9148 Q51202 Q54751 Q54742 Q295538 Q9000 Q13378 Q34742 Q58890 Q51370 Q42110 Q101526 Q224813 Q10307 Q112131 Q52019 Q10302 Q252343 Q94644 Q17313 Q17312 Q103999 Q52624 Q9400 Q50134 Q117368 Q390854 Q243371 Q478277 Q223504 Q34603 Q17822 Q17821 Q188499 Q54585 Q95069 Q54587 Q19277 Q186538 Q294805 Q42977 Q34360 Q18075 Q283697 Q39263 Q100404 Q40379 Q9569 Q285089 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q42476 Q39835 Q20247 Q53124 Q46357 Q34684 Q111800 Q18206 Q111415 Q48114 Q95095 Q128060 Q111966 Q39701 Q56048 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q490412 Q157673 Q53235 Q48027 Q18377 Q53339 Q39910 Q101651 Q176292 Q72728 Q340610 Q22170 Q22173 Q58719 Q55852 Q490907 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q265588 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q244048 Q40127 Q100829 Q94779 Q104653 Q17862 Q17861 Q477537 Q286808 Q53946 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q10234 Q10231 Q10339 Q53492 Q53496 Q40336 Q17321 Q19918 Q53886 Q53881 Q295289 Q53883 Q34324 Q42300 Q13649 Q53284 Q25179 Q42306 Q279247 Q25175 Q267183 Q53288 Q17816 Q52110 Q17811 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q50165 Q18080 Q104963 Q489881 Q265498 Q18088 Q40937 Q1465 Q51349 Q270578 Q53835 Q100973 Q478925 Q285110 Q430988 Q35220 Q34423 Q91160 Q53177 Q242139 Q18400 Q22655 Q111602 Q242710 Q216853 Q46168 Q51288 Q55104 Q123941 Q58461 Q9432 Q20353 Q9435 Q270058 Q20056 Q20435 Q51442 Q17777 Q123540 Q117471 Q36471 Q217391 Q17779 Q111972 Q33 Q265651 Q53304 Q37 Q94588 Q17350 Q25056 Q101057 Q38 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q53909 Q271011 Q23632 Q53903 Q18382 Q100365 Q51851 Q42167 Q20128 Q23285 Q20122 Q56210 Q9489 Q56063 Q52026 Q72272 Q80883 Q58844 Q117211 Q54521 Q42343 Q326968 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q42266 Q50128 Q42260 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q10200 Q23662 Q219641 Q24896 Q10208 Q10209 Q53874 Q53876 Q53877 Q207395 Q18040 Q53879 Q103768 Q81755 Q20244 Q39985 Q46746 Q42580 Q50157 Q47671 Q42744 Q123763 Q73218 Q495734 Q42466 Q34406 Q100094 Q241780 Q53136 Q2107 Q46320 Q298424 Q51405 Q20405 Q83083 Q493482 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q39912 Q22182 Q42513 Q42512 Q52191 Q340908 Q55890 Q9508 Q34386 Q53225 Q72732 Q101648 Q391349 Q42752 Q51274 Q54708 Q52132 Q54701 Q59234 Q105142 Q54705 Q91228 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q53355 Q9447 Q10338 Q72036 Q36198 Q52102 Q17741 Q53957 Q54673 Q54672 Q477423 Q23226 Q23224 Q72146 Q101187 Q42963 Q101182 Q47093 Q91096 Q389292 Q80574 Q124979 Q218027 Q53686 Q19209 Q22468 Q47500 Q200925 Q18394 Q25216 Q52282 Q72712 Q53884 Q17290 Q101269 Q10328 Q23706 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q20530 Q42318 Q39862 Q50059 Q53882 Q54516 Q34545 Q42259 Q17804 Q53511 Q493491 Q20431 Q54685 Q20184 Q160262 Q283554 Q100199 Q270968 Q9451 Q99962 Q477618 Q99969 Q46673 Q51358 Q81622 Q81151 Q20284 Q39227 Q47371 Q40985 Q128134 Q48092 Q48090 Q42413 Q8983 Q42553 Q100125 Q42557 Q53995 Q56081 Q56086 Q56085 Q94754 Q53260 Q56088 Q101423 Q17796 Q18388 Q41077 Q18385 Q55053 Q55054 Q80655 Q51435 Q168670 Q42379 Q52146 Q40851 Q53508 Q278952 Q40913 Q39884 Q25187 Q53313 Q17666 Q25189 Q52227 Q168551 Q49605 Q9167 Q54736 Q22216 Q9048 Q268291 Q101251 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q9493 Q42986 Q17695 Q20036 Q10284 Q52661 Q286671 Q390646 Q82755 Q10281 Q17409 Q278199 Q52133 Q23592 Q52038 Q51861 Q18380 Q17404 Q51867 Q17691 Q23178 Q117342 Q244185 Q266630 Q267134 Q56207 Q288273 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q54643 Q53961 Q496978 Q46968 Q9194 Q19279 Q10211 Q19925 Q17244 Q24883 Q16337 Q326780 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q100070 Q34579 Q22039 Q42757 Q20503 Q20507 Q267032 Q382482 Q46334 Q55017 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q51360 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q43037 Q9050 Q53212 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q185748 Q51460 Q47341 Q20170 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q102781 Q58433 Q52179 Q72009 Q391241 Q17757 Q17753 Q58549 Q101205 Q9017 Q51926 Q40539 Q23232 Q116573 Q42629 Q54636 Q101194 Q101759 Q496936 Q82766 Q105325 Q46870 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q91243 Q51812 Q390160 Q42812 Q40036 Q72708 Q40033 Q100135 Q40216 Q270613 Q19937 Q42241 Q390865 Q17371 Q54500 Q54503 Q42249 Q42367 Q223513 Q52959 Q54699 Q17833 Q20425 Q59225 Q42397 Q20197 Q54591 Q20191 Q46833 Q42391 Q23607 Q386350 Q46935 Q17378 Q58898 Q432678 Q116404 Q581 Q111906 Q42565 Q47046 Q59236 Q19948 Q53852 Q19944 Q207448 Q9363 Q40690 Q13619 Q20551 Q341096 Q382223 Q40699 Q53397 Q22626 Q42403 Q214691 Q56091 Q56090 Q55097 Q53159 Q53152 Q254139 Q39070 Q55042 Q101382 Q54035 Q80851 Q123965 Q101388 Q54034 Q128057 Q46693 Q51423 Q269788 Q103297 Q43040 Q339993 Q43049 Q120399 Q40967 Q40964 Q40965 Q390609 Q34598 Q112019 Q39933 Q101702 Q17654 Q55284 Q224176 Q54723 Q257357 Q477800 Q47835 Q72221 Q269943 Q55958 Q19915 Q46282 Q10361 Q51258 Q13320 Q34440 Q53732 Q34791 Q117621 Q20386 Q111888 Q20028 Q9467 Q20389 Q71832 Q10364 Q52125 Q59269 Q266259 Q157720 Q50148 Q101148 Q59265 Q388325 Q20585 Q496878 Q42208 Q17877 Q53824 Q9028 Q100141 Q34638 Q58901 Q243022 Q270299 Q478346 Q40094 Q6662 Q34703 Q34702 Q42366 Q42192 Q23648 Q9187 Q95090 Q20095 Q10226 Q111147 Q42298 Q488240 Q9298 Q271236 Q49603 Q100044 Q100040 Q17749 Q52953 Q24918 Q177713 Q47125 Q20299 Q39849 Q34568 Q13657 Q50079 Q9428 Q42680 Q42723 Q491724 Q20517 Q9336 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action atmost
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { FILTER ( ?l <= 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?l ) WHERE { { ?i property:P417 ?o . ?o rdf:type ontology:Q1445650 . ?i rdf:type ontology:Q15617994 } UNION { ?i property:P417 ?o . ?i rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q502895 } } GROUP BY ?i } }
Abetone Altino, Abruzzo Castelcovati Campomorone Aisone Foza Diano Castello Falconara Marittima Ariano Irpino Cairano Sesto San Giovanni Lomagna Meina Cairate Monsampolo del Tronto Borgosatollo San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Villa Lagarina Osasio Orio Canavese Monterosso Grana Bioglio Clauzetto Bagnasco Cesenatico Decimoputzu Vobarno Callabiana Pozzomaggiore Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Gabicce Mare Galliavola Gagliato Quassolo Barone Canavese Brazil Albairate Marciano della Chiana Arzignano Portugal Zeri Olgiate Olona Brescello Foppolo Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Alfano Favale di Malvaro Cesano Boscone Urago d'Oglio Cusano Milanino Solonghello Anela Civitella Messer Raimondo Barletta Candiolo Castiglione Messer Marino Zaccanopoli Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Rovetta Lampedusa e Linosa Sparone Trenzano Manduria Sestriere Eppan an der Weinstraße Casalfiumanese Casal Cermelli Cartosio Chiari Noepoli Ingria Rocca di Botte Sgurgola Ittireddu San Polo dei Cavalieri Castiglione di Sicilia Casperia Abano Terme Mombaruzzo Mombaldone Castel del Piano Calanna Antegnate Campo Calabro Cerignola Arzachena Gadoni Zelo Buon Persico Cartura Graglia Burcei Sernio Comun Nuovo Siziano Pianezza Sestu Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Cappella de' Picenardi Bianzone Narzole Cormons Breganze Battaglia Terme Cattolica Castelmagno Polpenazze del Garda Thiene Codigoro Campodimele Torriana Mello Castorano Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Priolo Gargallo Bibbona Carlino Legnago Bosia Rigolato Azzio Terno d'Isola Lucito Tufino Talana Cavaglio d'Agogna Cavallirio Mondragone Baselice Scillato Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Crocefieschi Meleti Pombia Agugliano Colfelice Spinete Lierna Argegno Gerola Alta Langhirano Castel San Pietro Terme Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Fiavè Rende Banchette Satriano Belluno Valprato Soana Varisella Valgioie Rocca Canavese Rivoli Venaria Reale Andali Belcastro Gravellona Lomellina Cassine Castiglione Falletto Grimaldi, Calabria Fiumefreddo Bruzio Noragugume Frascineto Pozzonovo Comazzo Nuoro Moggio Udinese Quarona Bertonico Macchiagodena Postua Carasco Mortegliano Isola d'Asti Alessano Frinco Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Trasacco Massazza Leno Santa Marina Salina Ceranesi Mottalciata Zeme Feltre Cappelle sul Tavo Calizzano Belmonte Calabro Valmozzola Trecastagni Seulo Alessandria della Rocca Montjovet Castelbaldo Cetona Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Rezzato Guidonia Montecelio Camaiore Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Camigliano Lombriasco Piobesi d'Alba Lugnacco Brugnato Frabosa Soprana Sale delle Langhe Colledara Castel Rocchero Arcevia Trevi nel Lazio Pompei Giuncugnano Castellero Verucchio Finland Cavedine Pasian di Prato Lithuania Borgo Tossignano Cremolino Fobello Fiorano al Serio Italy Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Mangone Osiglia Massiola Malito Bra Chiuduno Santeramo in Colle Dovera Magliano Alpi Cannero Riviera Lisio Regalbuto Montanaro Folignano Montemesola Monte di Procida Conca dei Marini San Gregorio Matese Roccasecca Scandale Guidizzolo Tenno, Trentino Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Cervignano d'Adda Prata d'Ansidonia Montevecchia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Porte Omegna San Romano in Garfagnana Borgo d'Ale Prascorsano Pratiglione Dipignano Domanico Fagnano Castello Montecopiolo Candelo Figline Vegliaturo Capriano del Colle Torre Orsaia Murello Brugherio Susegana Dairago Sulmona Citta' Mezzane di Sotto Spino d'Adda Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana San Felice sul Panaro Bellegra Romans d'Isonzo Wuppertal Chiampo Pergine Valsugana Tocco da Casauria Roascio Monte San Giusto Librizzi San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Usmate Velate Colazza Liscate Vizzolo Predabissi Sannicola Luogosanto Castelvenere Nomaglio Trebaseleghe Bertiolo Vico Equense Telgate Santa Maria Coghinas Crotta d'Adda Roccamontepiano Filandari Collepasso Cessaniti Magliano di Tenna Manerba del Garda Drapia Monteriggioni Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro San Giorgio di Nogaro Lusigliè Vauda Canavese Cicciano Siligo Subbiano Agliano Terme San Cosmo Albanese Sinopoli Siderno Campofranco Baceno Aurano Liveri Lallio Senna Lodigiana Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Serra San Quirico Zoagli San Floro Caprauna Grignasco Dolcè Lona-Lases Canale Varallo Sesia Cirigliano Torre Annunziata Fuscaldo Brignano-Frascata Nembro Usseglio Trasquera Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Verduno Terranova dei Passerini Menarola Campo di Giove Francavilla Marittima San Mauro Marchesato Vò Corte Palasio Cortiglione Conflenti Castel di Lucio Rossana Terranova Sappo Minulio Monasterolo Casotto Caprarola Armungia Cenate Sopra Noli Marentino Barbata Resuttano Blello Spresiano Civitella Casanova Sant'Egidio del Monte Albino Ogliastro Cilento Paesana Ronco Briantino Tarzo Rocca Pietore Ponza, Lazio Cologna Veneta Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Pandino Saracena Montegallo Ripatransone Palmiano Castel Guelfo di Bologna Flaibano Roccafluvione Ponte Nossa Cisterna d'Asti Brossasco Lavena Ponte Tresa Briga Alta Mercogliano Mirabella Eclano Bellizzi Castiglione Messer Raimondo Maccastorna Crespiatica Guagnano Garlasco Cerva Castel del Giudice Caiolo Albuzzano Rimella Povoletto Sardigliano Riva Valdobbia Aulla Caselle Landi Montecatini Terme Caprie San Gregorio d'Ippona Dormelletto Beinasco Carpasio Montello, Lombardy Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Monteu da Po Grezzago Villadeati Envie Sangano San Costantino Albanese Santadi Cargeghe Londa, Tuscany San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Gurro Statte Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Bisceglie Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Serrenti Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto Roghudi San Demetrio Corone Roccapalumba Noale Casalborgone Aversa Quagliuzzo Cavallerleone Acqui Terme Borgo Vercelli Novi Ligure Strigno Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Montefiorino Arre Ameno San Martino del Lago Sommariva del Bosco Torre Bormida Santo Stefano d'Aveto Aidomaggiore Camisano Vicentino Casalbore Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Corvara Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Annone di Brianza Bibiana Aiello del Friuli Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Sant'Elia a Pianisi Pietracamela Laglio Martiniana Po Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Gragnano Trebbiense Alife, Campania Porto Cesareo Casoria Perfugas Bubbio Berzano di San Pietro Castel Campagnano Lurano Balangero Faeto Agrate Brianza Bannio Anzino Casalattico Parabiago Platì Lenna, Lombardy Villa d'Adda Sciara Montelupo Fiorentino Nuvolento Bardolino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Monteroni d'Arbia Alberobello Banari Capralba Tromello Terzigno Cesiomaggiore Canonica d'Adda Sappada Celle Ligure Cerretto Langhe Morimondo Ittiri Gremiasco Cerenzia Cotronei Mulazzano Valera Fratta Castel di Tora Bagnara di Romagna Brognaturo Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Caraffa del Bianco Monforte d'Alba Albettone Airuno Macugnaga Masullas Lazise Malvicino Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Oggiono Silea Monsampietro Morico Chiusa di Pesio Casole Bruzio Ceva Monreale Forno Canavese Forcola Cosenza Vezza d'Alba Trinità d'Agultu e Vignola Romana, Sardinia Sesto Calende Villa Vicentina Sillavengo Acquanegra Cremonese Magliano in Toscana Venarotta Spinetoli San Sossio Baronia Cavasso Nuovo Azzano Decimo Levanto, Liguria Andalo Valtellino Guardia Lombardi Piario Verbicaro Celle di Bulgheria Corinaldo Piazza Brembana Vaccarizzo Albanese Bassiano Caprino Veronese Bellante Santo Stefano al Mare Vicopisano Secugnago Jerzu Esino Lario Carloforte Civo Rogolo Romagnese Bultei Stienta Sirmione Cadrezzate Valbrembo Rocca Grimalda Sedini Longone Sabino Nardodipace Caldonazzo Vallelunga Pratameno Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Castellino Tanaro Castel d'Azzano Vinovo Palena, Abruzzo Savona Villafranca Padovana Tiriolo Aymavilles Viticuso Castel Ritaldi Riccione Entracque Meugliano Montemurlo Bacoli Vische Casarano Montelparo Tiglieto Capoliveri Scanno, Abruzzo Gorno Montefalcone Appennino Siamaggiore Villanova Mondovì Capaci Malagnino Vesime Alessandria del Carretto Balme Capriate San Gervasio Arquà Petrarca Sparanise Morlupo Rocchetta di Vara Licodia Eubea Morbegno Cesena Torreglia Tribano Livraga San Donato Milanese Montecrestese Carmagnola Argenta, Emilia–Romagna Barasso Rivarolo Canavese Carpineti Codogno Lentini Coazze Spotorno Ponte Buggianese Castelnuovo Rangone Camposanto Azzano d'Asti Alfonsine Campertogno San Lorenzo Nuovo Avezzano Paroldo Robbio Melara Lanusei Celano Locana Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Druento Montanaso Lombardo Asigliano Veneto Limbiate Lodi
827
action count
action atmost
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { FILTER ( ?l <= 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?l ) WHERE { { ?i property:patron_saint ?o . ?o rdf:type ontology:holiday . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i property:patron_saint ?o . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:common_name } } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q114
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with more number of administrative territories than Kenya ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q114
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?j ) WHERE { ?x property:P530 ?e . ?x rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q114 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?j > ?t ) }
Kenya
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?j ) WHERE { ?x property:diplomatic_relation ?e . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Kenya property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j > ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q801 Q159 Q155 Q38 Q230 Q184 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q114
relation P530
type Q15617994
[ANSWERS] have tactful political relations with more number of administrative territories than Kenya
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?j ) WHERE { ?x property:P530 ?e . ?x rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q114 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?j > ?t ) }
Israel Russia Brazil Italy Georgia Belarus Zambia
Italy, Brazil and Georgia have tactful political relations with more number of administrative territories than Kenya
Italy Brazil Georgia
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?j ) WHERE { ?x property:diplomatic_relation ?e . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Kenya property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j > ?t ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q230
P17
Q43229
USER
Which organizations are located in Italy, Brazil and Georgia ?
(c(Q43229),P17,Q38) (c(Q43229),P17,Q155) (c(Q43229),P17,Q230)
action union
action filter_type
action find_reverse
entity Q38
relation P17
type Q43229
action filter_type
action find_reverse
entity Q155
relation P17
type Q43229
action filter_type
action find_reverse
entity Q230
relation P17
type Q43229
[{'concept': 'Q43229'}, 'P17', 'Q38'] [{'concept': 'Q43229'}, 'P17', 'Q155'] [{'concept': 'Q43229'}, 'P17', 'Q230']
SELECT DISTINCT ?a WHERE { { ?a property:P17 resource:Q38 . ?a rdf:type ontology:Q43229 } UNION { ?a property:P17 resource:Q155 . ?a rdf:type ontology:Q43229 } }
Italy Brazil Georgia
action union
action filter_type
action find_reverse
entity Italy
relation country
type organization
action filter_type
action find_reverse
entity Brazil
relation country
type organization
action filter_type
action find_reverse
entity Georgia
relation country
type organization
[{'concept': 'organization'}, 'country', 'Italy'] [{'concept': 'organization'}, 'country', 'Brazil'] [{'concept': 'organization'}, 'country', 'Georgia']
SELECT DISTINCT ?a WHERE { { ?a property:country resource:Italy . ?a rdf:type ontology:organization } UNION { ?a property:country resource:Brazil . ?a rdf:type ontology:organization } }
[]
organization
Q1422 Q5612191 Q128738
SYSTEM
Juventus F.C., Grupo Bandeirantes de Comunicação, Anheuser-Busch InBev
Q782398 Q19262657 Q569273 Q3984527 Q93544 Q23728771 Q324782 Q2222482 Q5615262 Q19885983 Q283754 Q1110899 Q1230520 Q2307257 Q3640368 Q16825116 Q1936257 Q19545342 Q3852972 Q745394 Q929822 Q4011019 Q3747168 Q2932911 Q2932919 Q2454999 Q548005 Q3618642 Q1149018 Q3676872 Q3676873 Q3676870 Q3676874 Q1502774 Q3676869 Q3747148 Q24050253 Q3687413 Q3856064 Q1343118 Q1031614 Q904589 Q1092127 Q3787735 Q2521786 Q5621640 Q2213203 Q921454 Q5045816 Q3965055 Q1092134 Q18590100 Q3734950 Q5364679 Q3155844 Q482539 Q15736003 Q324171 Q865859 Q3902543 Q3399348 Q3648736 Q3747192 Q26823 Q3071105 Q19788324 Q892356 Q3944614 Q806323 Q1494416 Q3944608 Q650467 Q3776892 Q1135494 Q20009979 Q3992632 Q26963651 Q3992600 Q4094497 Q3695922 Q133813 Q1041597 Q969999 Q2865899 Q936025 Q3651034 Q1408048 Q1048204 Q4778465 Q1248729 Q21551978 Q3681880 Q16162585 Q4009599 Q3459824 Q498934 Q3710407 Q7886501 Q16957061 Q5394149 Q16487751 Q18809941 Q3745781 Q5324039 Q2579938 Q3747208 Q3111039 Q17630717 Q2884181 Q173085 Q3929491 Q1327429 Q5971938 Q4033476 Q641671 Q3746693 Q3182693 Q608405 Q692286 Q3828284 Q3676901 Q128356 Q3909455 Q3483550 Q3743281 Q1897596 Q926575 Q23308254 Q1664128 Q13409832 Q3355690 Q4015982 Q27426 Q16536952 Q753256 Q5041455 Q543750 Q3963820 Q46730 Q3968369 Q3997398 Q245992 Q24059098 Q3633493 Q18639450 Q2343891 Q3601097 Q371138 Q21335628 Q931123 Q3612609 Q1407994 Q3979195 Q3671680 Q936563 Q3648471 Q3740902 Q786790 Q27586 Q474739 Q1422 Q27485968 Q1321624 Q3674566 Q2884871 Q1077360 Q35896 Q2524205 Q13211531 Q3070662 Q207770 Q3943636 Q27333 Q3638898 Q1361595 Q2937884 Q1187723 Q27325 Q530666 Q3676942 Q1617516 Q583247 Q3601261 Q3601265 Q1408050 Q17020270 Q3070443 Q16536357 Q3676925 Q3676921 Q3676928 Q3676929 Q45568 Q934858 Q3747137 Q1093218 Q20725204 Q263096 Q3676936 Q3676931 Q3676930 Q17102646 Q3685523 Q3687385 Q3845396 Q3736741 Q841263 Q3943803 Q3949801 Q1302956 Q14791510 Q3071884 Q568068 Q952641 Q3752400 Q913903 Q3850740 Q3662013 Q652063 Q769786 Q3665606 Q3943406 Q764169 Q426892 Q19903251 Q3880025 Q15138907 Q2843227 Q3676982 Q27253840 Q3676889 Q3676883 Q3676882 Q3676881 Q3676886 Q3629844 Q17014555 Q21452026 Q1428656 Q1516327 Q17080592 Q1617472 Q10378958 Q10342091 Q16484839 Q5440925 Q6427985 Q210047 Q20800189 Q10300984 Q5155379 Q18483116 Q10372347 Q5155383 Q1538731 Q5508997 Q7453019 Q10384192 Q5612191 Q18481412 Q23727572 Q4836470 Q20059687 Q15936526 Q5323633 Q2216591 Q3347733 Q10315203 Q4381995 Q1424293 Q3339570 Q10269857 Q9641762 Q1053346 Q4958705 Q5058741 Q5058742 Q2079243 Q20059505 Q20059957 Q5222458 Q5058735 Q5058737 Q3676953 Q128738 Q1060336 Q18482980 Q6105785 Q25449709 Q2591548 Q10266739 Q3512525 Q26988702 Q4669542 Q5445445 Q6882114 Q4764337 Q644625 Q144235 Q3690918 Q3240300 Q10382946 Q2448675 Q80146 Q6732495 Q3646611 Q4793209 Q1195746
(c(Q43229),P17,Q38) (c(Q43229),P17,Q155) (c(Q43229),P17,Q230)
action union
action filter_type
action find_reverse
entity Q38
relation P17
type Q43229
action filter_type
action find_reverse
entity Q155
relation P17
type Q43229
action filter_type
action find_reverse
entity Q230
relation P17
type Q43229
[ANSWERS] are located in Italy, Brazil and Georgia
[{'concept': 'Q43229'}, 'P17', 'Q38'] [{'concept': 'Q43229'}, 'P17', 'Q155'] [{'concept': 'Q43229'}, 'P17', 'Q230']
SELECT DISTINCT ?a WHERE { { ?a property:P17 resource:Q38 . ?a rdf:type ontology:Q43229 } UNION { ?a property:P17 resource:Q155 . ?a rdf:type ontology:Q43229 } }
Fontanelle cemetery 2i Rete Gas Treni Regionali Ticino Lombardia Terra Modena Monumental Cemetery of Staglieno insistema Beretta Sanpellegrino S.p.A. Guglielmo coffee Cimitero Storico Italdesign Giugiaro Pinarello Divella Bticino Peroni Anfatis Minarelli Consorzio Trasporti Pubblici Insubria Mausoleo Schilizzi Gilera Tatuus Vianini Lavori FareFuturo Caffè Cova Caffè Gambrinus, Naples Candy Azienda del Consorzio Trasporti Veneziano Old English Cemetery, Livorno Moto Guzzi Cimitero Maggiore di Milano Cemetery Sangro River Firenze Jewish cemetery Canadian war cemetery of Ortona Massimo Zanetti Cimitero Flaminio Fondazione Bruno Kessler Emilio Mauri S.p.A. Consip Miani e Silvestri Intesa Sanpaolo Camposanto Monumentale Breda Cimitero acattolico di Capri 3 Italy De Agostini Gustobene Saipem Gaggia Carpigiani Sorelle Fontana English Cemetery, Florence Fondital Eurostazioni Elledi Italferr Fila, Inc. Cemetery of San Felice a Ema Benelli italie Peroni Brewery Picchio Racing Cars Porto Ravenna Volley CINECA Fondazione Magnani-Rocca Abarth Voiello Polli Bonfiglioli Riduttori Sacrario militare di Pocol Bandini Automobili F.lli Saclà Asiago War Memorial Wind Telecomunicazioni Grom B Engineering Menowatt Rock-cut tombs of San Liberatore Giovanni Milani & Nipoti Brion Cemetery Lima Corporate Cotton Mill Cantoni Federazione Anarchica Italiana Indesit Illy Artsana Treno Alta Velocità Caltagirone Ferrovie della Sardegna Cassa Depositi e Prestiti Anzio War Cemetery Brazilian Military Cemetery of Pistoia Francesco Paolo Michetti Foundation Vodafone Automotive Aeronautica Sicula Veneto Strade SNIA S.p.A. Redipuglia Marzadro Distillery Union of Anarchist Communist of Italy Group 70 Ernesto Coppola & Figli Alcantara Cavallini-Sgarbi Foundation Fiocchi Munizioni ERG Renew Coppola Foods Fondazione Prada MCS (Fashion Brand) Fopponino di Porta Vercellina (Milan) Carrozzeria Barbi De Tomaso Rai Cinema Fincantieri IMA Life S.r.l Aeromere/Capriolo Arenaways Florence War Cemetery Polistil Cimitero Monumentale di Milano Menarini LeNORD Sicily–Rome American Cemetery and Memorial Thales Alenia Space PosteMobile Sigma-Tau Ferrovia Adriatico Sangritana Mariella Burani Fashion Group Fendi Our Land Innocenti Sterilgarda Bracco Vodafone Italy Campo Verano Carlo Erba Atala Carlo Barbera Lavazza Società europea tubifici e acciaierie Banca Monte dei Paschi di Siena Starhotels Tramvie Elettriche Bergamasche Healthcare in Italy Elemento Tango Balocco Argenta Gap War Cemetery Bellasi APAM Piccolo Teatro Salvatore Romano Foundation De Cecco Allocchio Bacchini Ferrotramviaria Syracuse Commonwealth War Graves Commission Cemetery Certosa di Bologna Borsa Italiana CAMP Italian Explorers Federation Autogrill Ferrari Loacker Juventus F.C. EP Produzione Saeco Chiesi Farmaceutici S.p.A. Barovier & Toso Ferrovie Emilia Romagna Lancia Fiera Milano Speed Up Lazzaroni Pirelli SIA S.p.A. Campo Santo Teutonico Bertagni Erreà Carapelli Protestant Cemetery Bertone Cimitero degli Allori San Michele Cemetery San Carlo Snam ASF Autolinee ASM Brescia Ferrovie del Sud Est Hacking Team Cirio Cantieri navali Odero Cemetery of the 366 Fossae, Naples Mojazza Cemetery Cimitero delle Porte Sante Monumental Cemetery of Bonaria UniCredit Cemetery of Poggioreale, Naples Fondazione Antonino Caponnetto Cisitalia Sueglio cemetery La Molisana Rifredi Cemetery Cemetery Lambrate Monumental cemetery of Brescia Zambon Nuovi Orizzonti Provincial Council in Italy Marca Corona FBT Piaggio SOGIN Sanctuary of Montenero Hupac Digital Bros Vicenzi Moleskine Florence American Cemetery and Memorial Fratelli Rossetti Italian Red Cross Maserati Cassino War Cemetery Colnago English Cemetery, Naples Cesena War Cemetery SAMET Polish Cemetery at Monte Cassino Iso Rivolta Energica Motor Company Nòverca Veolia Cargo Amica Chips Monumental Cemetery of Turin Henry Cotton’s Busto Arsizio monumental cemetery Polish Cemetery at Loreto Polish Cemetery at Casamassima Polish Cemetery at Bologna German Military Cemetery in Merano Auricchio Protestant Cemetery, São Paulo Samarco Vivo Rede Ferroviária Federal S.A. Odebrecht Foundation Cemitério do Morumbi Pernambuco Lovers' Theatre Companhia de Teatro Os Satyros Ação Popular Federação das Sociedades de Biologia Experimental Kolynos Petrobras Semco Iguatemi Empresa de Shopping Centers Companhia Zaffari Cemitério dos Ingleses Sky+DirectTV Algar Telecom Oi São Paulo Research Foundation Sercomtel Transparência Brasil Grupo Bandeirantes de Comunicação Grupo Camargo de Comunicação Scania Latin America BR Malls Vivo TV Cemitério da Consolação EMS Ricardo Brennand Institute OSX Lacta Telebras Itaú Unibanco Caju Cemetery ETH Bioenergia Ação Popular Socialista Municipal Cemetery of Braço do Norte Brazilian Antarctic Program Cemitério São João Batista Cemitério dos Ingleses TIM Brasil Telefônica Vivo Coca-Cola Norsa Dardo Cemitério Morada da Paz Cemitério Municipal de Santana Cemitério de Vila Formosa Anheuser-Busch InBev TAM Cargo Gethsêmani Cemetery J. G. Estudio Eco101 Saci DirecTV Brasil TVA Laramara Abril Radiodifusão Ferrous Resources Cemitério São João Batista Anhanguera Educacional Schincariol Fábrica Nacional de Motores Copag Brazilian Esperanto League Toledo do Brasil Didube Pantheon Saburtalo Pantheon MagtiCom Geocell Armenian Pantheon of Tbilisi Mtatsminda Pantheon
Juventus F.C., Grupo Bandeirantes de Comunicação and Anheuser-Busch InBev are located in Italy, Brazil and Georgia
Juventus F.C. Grupo Bandeirantes de Comunicação Anheuser-Busch InBev
action union
action filter_type
action find_reverse
entity Italy
relation country
type organization
action filter_type
action find_reverse
entity Brazil
relation country
type organization
action filter_type
action find_reverse
entity Georgia
relation country
type organization
[{'concept': 'organization'}, 'country', 'Italy'] [{'concept': 'organization'}, 'country', 'Brazil'] [{'concept': 'organization'}, 'country', 'Georgia']
SELECT DISTINCT ?a WHERE { { ?a property:country resource:Italy . ?a rdf:type ontology:organization } UNION { ?a property:country resource:Brazil . ?a rdf:type ontology:organization } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5612191
P750
Q15416
USER
Who is that organization a distributor of ?
(c(Q15416),P750,Q5612191)
action filter_type
action find_reverse
entity Q5612191
relation P750
type Q15416
[{'concept': 'Q15416'}, 'P750', 'Q5612191']
SELECT DISTINCT ?h WHERE { ?h property:P750 resource:Q5612191 . ?h rdf:type ontology:Q15416 }
Grupo Bandeirantes de Comunicação
action filter_type
action find_reverse
entity Grupo Bandeirantes de Comunicação
relation distributor
type television program
[{'concept': 'television program'}, 'distributor', 'Grupo Bandeirantes de Comunicação']
SELECT DISTINCT ?h WHERE { ?h property:distributor resource:Grupo_Bandeirantes_de_Comunicação . ?h rdf:type ontology:television_program }
[]
television program
Clarification for simple ques.
Q128738
SYSTEM
Did you mean Anheuser-Busch InBev ?
Q1422 Q5612191 Q128738
(c(Q15416),P750,Q1422) (c(Q15416),P750,Q5612191) (c(Q15416),P750,Q128738)
[ANSWER]
[{'concept': 'Q15416'}, 'P750', 'Q1422'] [{'concept': 'Q15416'}, 'P750', 'Q5612191'] [{'concept': 'Q15416'}, 'P750', 'Q128738']
SELECT DISTINCT ?h WHERE { ?h property:P750 resource:Q5612191 . ?h rdf:type ontology:Q15416 }
Juventus F.C. Grupo Bandeirantes de Comunicação Anheuser-Busch InBev
Did you mean Anheuser-Busch InBev ?
Anheuser-Busch InBev
[{'concept': 'television program'}, 'distributor', 'Juventus F.C.'] [{'concept': 'television program'}, 'distributor', 'Grupo Bandeirantes de Comunicação'] [{'concept': 'television program'}, 'distributor', 'Anheuser-Busch InBev']
SELECT DISTINCT ?h WHERE { ?h property:distributor resource:Grupo_Bandeirantes_de_Comunicação . ?h rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
USER
No, I meant Grupo Bandeirantes de Comunicação. Could you tell me the answer for that?
(c(Q15416),P750,Q5612191)
Q5612191
[{'concept': 'Q15416'}, 'P750', 'Q5612191']
[{'concept': 'television program'}, 'distributor', 'Grupo Bandeirantes de Comunicação']
[]
Q7264081
SYSTEM
Pânico na Band
Q7264081
(c(Q15416),P750,Q5612191)
action filter_type
action find_reverse
entity Q5612191
relation P750
type Q15416
That organization a distributor of is [ANSWER]
[{'concept': 'Q15416'}, 'P750', 'Q5612191']
SELECT DISTINCT ?h WHERE { ?h property:P750 resource:Q5612191 . ?h rdf:type ontology:Q15416 }
Pânico na Band
That organization a distributor of is Pânico na Band
Pânico na Band
action filter_type
action find_reverse
entity Grupo Bandeirantes de Comunicação
relation distributor
type television program
[{'concept': 'television program'}, 'distributor', 'Grupo Bandeirantes de Comunicação']
SELECT DISTINCT ?h WHERE { ?h property:distributor resource:Grupo_Bandeirantes_de_Comunicação . ?h rdf:type ontology:television_program }
[]