Simple Question (Direct)
Simple Question
Q3808326
P69
Q159334
USER
Which secondary school was Jim Creighton educated at ?
(Q3808326,P69,c(Q159334))
action filter_type
action find
entity Q3808326
relation P69
type Q159334
['Q3808326', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?h WHERE { resource:Q3808326 property:P69 ?h . ?h rdf:type ontology:Q159334 }
Jim Creighton
action filter_type
action find
entity Jim Creighton
relation educated at
type secondary school
['Jim Creighton', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?h WHERE { resource:Jim_Creighton property:educated_at ?h . ?h rdf:type ontology:secondary_school }
[]
secondary school
Q7055601
SYSTEM
North High School
Q7055601
(Q3808326,P69,c(Q159334))
action filter_type
action find
entity Q3808326
relation P69
type Q159334
[ANSWER]
['Q3808326', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?h WHERE { resource:Q3808326 property:P69 ?h . ?h rdf:type ontology:Q159334 }
North High School
North High School
action filter_type
action find
entity Jim Creighton
relation educated at
type secondary school
['Jim Creighton', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?h WHERE { resource:Jim_Creighton property:educated_at ?h . ?h rdf:type ontology:secondary_school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7055601
P17
Q15617994
USER
Which administrative territory is that secondary school situated in ?
(Q7055601,P17,c(Q15617994))
action filter_type
action find
entity Q7055601
relation P17
type Q15617994
['Q7055601', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q7055601 property:P17 ?a }
North High School
action filter_type
action find
entity North High School
relation country
type designation for an administrative territorial entity
['North High School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:North_High_School property:country ?a }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7055601,P17,c(Q15617994))
action filter_type
action find
entity Q7055601
relation P17
type Q15617994
[ANSWER]
['Q7055601', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q7055601 property:P17 ?a }
United States of America
United States of America
action filter_type
action find
entity North High School
relation country
type designation for an administrative territorial entity
['North High School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:North_High_School property:country ?a }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q12312 Q11896
P6
Q502895
USER
Is Franklin Pierce and Zachary Taylor the head of the goverment of Q30 ?
(Q30,P6,Q12312) (Q30,P6,Q11896)
action is_in
entity Q30
action intersection
action find_reverse
entity Q12312
relation P6
action find_reverse
entity Q11896
relation P6
['Q30', 'P6', 'Q12312'] ['Q30', 'P6', 'Q11896']
ASK WHERE { resource:Q30 property:P6 resource:Q12312 . resource:Q30 property:P6 resource:Q11896 }
United States of America Franklin Pierce Zachary Taylor
action is_in
entity United States of America
action intersection
action find_reverse
entity Franklin Pierce
relation head of government
action find_reverse
entity Zachary Taylor
relation head of government
['United States of America', 'head of government', 'Franklin Pierce'] ['United States of America', 'head of government', 'Zachary Taylor']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Franklin_Pierce . resource:United_States_of_America property:head_of_government resource:Zachary_Taylor }
[]
common name
SYSTEM
YES
(Q30,P6,Q12312) (Q30,P6,Q11896)
action is_in
entity Q30
action intersection
action find_reverse
entity Q12312
relation P6
action find_reverse
entity Q11896
relation P6
[ANSWER]
['Q30', 'P6', 'Q12312'] ['Q30', 'P6', 'Q11896']
ASK WHERE { resource:Q30 property:P6 resource:Q12312 . resource:Q30 property:P6 resource:Q11896 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity Franklin Pierce
relation head of government
action find_reverse
entity Zachary Taylor
relation head of government
['United States of America', 'head of government', 'Franklin Pierce'] ['United States of America', 'head of government', 'Zachary Taylor']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Franklin_Pierce . resource:United_States_of_America property:head_of_government resource:Zachary_Taylor }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with approximately 32 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?w ) WHERE { ?l property:P530 ?i . ?l rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?w = 32 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?w ) WHERE { ?l property:diplomatic_relation ?i . ?l rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?w = 32 ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?w ) WHERE { ?l property:P530 ?i . ?l rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?w = 32 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?w ) WHERE { ?l property:diplomatic_relation ?i . ?l rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?w = 32 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35 Q16 Q40
P1532
Q6979593
USER
Which national association football teams play for those political territories ?
(c(Q6979593),P1532,Q35) (c(Q6979593),P1532,Q16) (c(Q6979593),P1532,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q35'] [{'concept': 'Q6979593'}, 'P1532', 'Q16'] [{'concept': 'Q6979593'}, 'P1532', 'Q40']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q6979593 . VALUES ( ?o ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . ?a property:P1532 ?o }
Denmark Canada Austria
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Denmark'] [{'concept': 'national association football team'}, 'country for sport', 'Canada'] [{'concept': 'national association football team'}, 'country for sport', 'Austria']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:national_association_football_team . VALUES ( ?o ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . ?a property:country_for_sport ?o }
[]
national association football team
Q499946 Q514498 Q23013935
SYSTEM
Canada women's national soccer team, Denmark women's national football team, Denmark women's national under-19 football team
Q514498 Q23013935 Q16581708 Q5029539 Q5029537 Q499946 Q3873967 Q303070
(c(Q6979593),P1532,Q35) (c(Q6979593),P1532,Q16) (c(Q6979593),P1532,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q6979593
[ANSWERS]
[{'concept': 'Q6979593'}, 'P1532', 'Q35'] [{'concept': 'Q6979593'}, 'P1532', 'Q16'] [{'concept': 'Q6979593'}, 'P1532', 'Q40']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q6979593 . VALUES ( ?o ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . ?a property:P1532 ?o }
Denmark women's national football team Denmark women's national under-19 football team Denmark Olympic football team Canada women's national under-20 soccer team Canada women's national under-17 soccer team Canada women's national soccer team Canada Olympic soccer team Austria women's national football team
Canada women's national soccer team Denmark women's national football team Denmark women's national under-19 football team
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Denmark'] [{'concept': 'national association football team'}, 'country for sport', 'Canada'] [{'concept': 'national association football team'}, 'country for sport', 'Austria']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:national_association_football_team . VALUES ( ?o ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . ?a property:country_for_sport ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q514498
P54
Q502895
USER
Which people play for the team named that one ?
(c(Q502895),P54,Q514498)
action filter_type
action find_reverse
entity Q514498
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q514498']
SELECT DISTINCT ?x WHERE { ?x property:P54 resource:Q514498 . ?x rdf:type ontology:Q502895 }
Denmark women's national football team
action filter_type
action find_reverse
entity Denmark women's national football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Denmark women's national football team"]
SELECT DISTINCT ?x WHERE { ?x property:member_of_sports_team resource:Denmark_women's_national_football_team . ?x rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q499946
SYSTEM
Did you mean Canada women's national soccer team ?
Q499946 Q514498 Q23013935
(c(Q502895),P54,Q499946) (c(Q502895),P54,Q514498) (c(Q502895),P54,Q23013935)
[ANSWER]
[{'concept': 'Q502895'}, 'P54', 'Q499946'] [{'concept': 'Q502895'}, 'P54', 'Q514498'] [{'concept': 'Q502895'}, 'P54', 'Q23013935']
SELECT DISTINCT ?x WHERE { ?x property:P54 resource:Q514498 . ?x rdf:type ontology:Q502895 }
Canada women's national soccer team Denmark women's national football team Denmark women's national under-19 football team
Did you mean Canada women's national soccer team ?
Canada women's national soccer team
[{'concept': 'common name'}, 'member of sports team', "Canada women's national soccer team"] [{'concept': 'common name'}, 'member of sports team', "Denmark women's national football team"] [{'concept': 'common name'}, 'member of sports team', "Denmark women's national under-19 football team"]
SELECT DISTINCT ?x WHERE { ?x property:member_of_sports_team resource:Denmark_women's_national_football_team . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Denmark women's national football team. Could you tell me the answer for that?
(c(Q502895),P54,Q514498)
Q514498
[{'concept': 'Q502895'}, 'P54', 'Q514498']
[{'concept': 'common name'}, 'member of sports team', "Denmark women's national football team"]
[]
Q7617387 Q524829 Q527005
SYSTEM
Stina Lykke Petersen, Katrine Pedersen, Julie Rydahl Bukh
Q5110750 Q13977491 Q6762245 Q537418 Q7169410 Q18720672 Q4991194 Q20993000 Q18922018 Q6963799 Q6522393 Q6743085 Q524829 Q6762871 Q526375 Q6827096 Q4768281 Q12313927 Q531727 Q6438327 Q1682883 Q14343774 Q14184711 Q6762765 Q14343539 Q6762153 Q19956365 Q1926545 Q525887 Q5283717 Q4898614 Q5299000 Q1594325 Q679420 Q10529997 Q3242511 Q7617387 Q3978279 Q6522664 Q20908746 Q13612093 Q3836595 Q1817524 Q1029065 Q6031971 Q6819059 Q967172 Q7648763 Q16227767 Q7617396 Q1826367 Q13976976 Q14950046 Q14950043 Q3129848 Q127500 Q12329010 Q14950044 Q5565152 Q1604238 Q12310009 Q527005
(c(Q502895),P54,Q514498)
action filter_type
action find_reverse
entity Q514498
relation P54
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P54', 'Q514498']
SELECT DISTINCT ?x WHERE { ?x property:P54 resource:Q514498 . ?x rdf:type ontology:Q502895 }
Christina Bonde Sofie Junge Pedersen Marianne Løvendorf Cathrine Paaske-Sørensen Pernille Harder Nina Frausing Pedersen Christina Ørntoft Luna Nørgaard Gewitz Camilla Kur Larsen Nanna Christiansen Lene Terp Malene Olsen Katrine Pedersen Marie Herping Tine Cederkvist Mia Bak Pedersen Anne Dot Eggers Nielsen Gitte Krogh Nadia Nadim Kristine Pedersen Janne Madsen Cecilie Sandvej Line Jensen Marie Bjerg Karoline Smidt Nielsen Mariann Gajhede Simone Boye Sørensen Mia Brogaard Maiken Pape Ditte Larsen Bettina Falk Dorte Dalum Jensen Heidi Johansen Katrine Veje Julie Hauge Andersson Lise Munk Stina Lykke Petersen Susanne Augustesen Sanne Troelsgaard Nielsen Julie Tavlo Petersson Janni Arnth Lone Smidt Nielsen Lene Jensen Camilla Sand Andersen Inge Hindkjær Merete Pedersen Louise Hansen Susanne Graversen Cecilie Sørensen Stine Dimun Line Røddik Hansen Theresa Nielsen Gitte Pedersen Sine Hovesen Helle Jensen Johanna Rasmussen Nils Nielsen Susan Mackensie Gitte Andersen Mette V. Jensen Emma Madsen Julie Rydahl Bukh
Stina Lykke Petersen Katrine Pedersen Julie Rydahl Bukh
action filter_type
action find_reverse
entity Denmark women's national football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Denmark women's national football team"]
SELECT DISTINCT ?x WHERE { ?x property:member_of_sports_team resource:Denmark_women's_national_football_team . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1460
P180
Q15617994 Q11060274 Q2342494
USER
Which administrative territories are depicted in around the same number of prints and collectables as Sicily ?
(c(Q11060274)|c(Q2342494),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1460
relation P180
type Q11060274
type Q2342494
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q11060274 . ?s property:P180 ?m } UNION { ?s rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q15617994 . ?s property:P180 ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P180 resource:Q1460 . { { ?g rdf:type ontology:Q11060274 } UNION { ?g rdf:type ontology:Q2342494 } } } } . FILTER ( ?z = ?r ) }
Sicily
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Sicily
relation depicts
type print
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:print . ?s property:depicts ?m } UNION { ?s rdf:type ontology:collectable . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:depicts ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:depicts resource:Sicily . { { ?g rdf:type ontology:print } UNION { ?g rdf:type ontology:collectable } } } } . FILTER ( ?z = ?r ) }
[]
designation for an administrative territorial entity print collectable
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q2342494),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1460
relation P180
type Q11060274
type Q2342494
[ANSWERS]
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q11060274 . ?s property:P180 ?m } UNION { ?s rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q15617994 . ?s property:P180 ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P180 resource:Q1460 . { { ?g rdf:type ontology:Q11060274 } UNION { ?g rdf:type ontology:Q2342494 } } } } . FILTER ( ?z = ?r ) }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Drenthe horn Libya Tuscany Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy Brazil Russia
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Sicily
relation depicts
type print
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:print . ?s property:depicts ?m } UNION { ?s rdf:type ontology:collectable . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:depicts ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:depicts resource:Sicily . { { ?g rdf:type ontology:print } UNION { ?g rdf:type ontology:collectable } } } } . FILTER ( ?z = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q42288
P180
Q15617994 Q11060274 Q2342494
USER
And what about Asola?
(c(Q11060274)|c(Q2342494),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q42288
relation P180
type Q11060274
type Q2342494
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P180 resource:Q42288 . { { ?s rdf:type ontology:Q2342494 } UNION { ?s rdf:type ontology:Q11060274 } } } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?m WHERE { { ?g property:P180 ?m . ?m rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2342494 } UNION { ?g property:P180 ?m . ?g rdf:type ontology:Q11060274 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } }
Asola
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Asola
relation depicts
type print
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:depicts resource:Asola . { { ?s rdf:type ontology:collectable } UNION { ?s rdf:type ontology:print } } } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?m WHERE { { ?g property:depicts ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:collectable } UNION { ?g property:depicts ?m . ?g rdf:type ontology:print . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } }
[]
designation for an administrative territorial entity print collectable
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q2342494),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q42288
relation P180
type Q11060274
type Q2342494
[ANSWERS]
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P180 resource:Q42288 . { { ?s rdf:type ontology:Q2342494 } UNION { ?s rdf:type ontology:Q11060274 } } } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?m WHERE { { ?g property:P180 ?m . ?m rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2342494 } UNION { ?g property:P180 ?m . ?g rdf:type ontology:Q11060274 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Drenthe horn Libya Tuscany Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy Brazil Russia
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Asola
relation depicts
type print
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:depicts resource:Asola . { { ?s rdf:type ontology:collectable } UNION { ?s rdf:type ontology:print } } } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?m WHERE { { ?g property:depicts ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:collectable } UNION { ?g property:depicts ?m . ?g rdf:type ontology:print . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have diplomatic associations with those ones ?
(Q184,P530,Q38) (Q184,P530,Q155) (Q184,P530,Q159)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q159']
ASK WHERE { resource:Q184 property:P530 ?m . VALUES ( ?m ) { ( resource:Q3883 ) ( resource:Q1256 ) ( resource:Q1462 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Belarus property:diplomatic_relation ?m . VALUES ( ?m ) { ( resource:Catanzaro ) ( resource:Liguria ) ( resource:Sardinia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q38) (Q184,P530,Q155) (Q184,P530,Q159)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q159']
ASK WHERE { resource:Q184 property:P530 ?m . VALUES ( ?m ) { ( resource:Q3883 ) ( resource:Q1256 ) ( resource:Q1462 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Belarus property:diplomatic_relation ?m . VALUES ( ?m ) { ( resource:Catanzaro ) ( resource:Liguria ) ( resource:Sardinia ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q23013935 Q35 Q984583
P1532
Q1048835
USER
Does Denmark women's national under-19 football team play for Denmark and La Puebla de Castro ?
(Q23013935,P1532,Q35) (Q23013935,P1532,Q984583)
action is_in
entity Q23013935
action intersection
action find_reverse
entity Q35
relation P1532
action find_reverse
entity Q984583
relation P1532
['Q23013935', 'P1532', 'Q35'] ['Q23013935', 'P1532', 'Q984583']
ASK WHERE { resource:Q23013935 property:P1532 resource:Q35 . resource:Q23013935 property:P1532 resource:Q984583 }
Denmark women's national under-19 football team Denmark La Puebla de Castro
action is_in
entity Denmark women's national under-19 football team
action intersection
action find_reverse
entity Denmark
relation country for sport
action find_reverse
entity La Puebla de Castro
relation country for sport
["Denmark women's national under-19 football team", 'country for sport', 'Denmark'] ["Denmark women's national under-19 football team", 'country for sport', 'La Puebla de Castro']
ASK WHERE { resource:Denmark_women's_national_under-19_football_team property:country_for_sport resource:Denmark . resource:Denmark_women's_national_under-19_football_team property:country_for_sport resource:La_Puebla_de_Castro }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q23013935,P1532,Q35) (Q23013935,P1532,Q984583)
action is_in
entity Q23013935
action intersection
action find_reverse
entity Q35
relation P1532
action find_reverse
entity Q984583
relation P1532
[ANSWER]
['Q23013935', 'P1532', 'Q35'] ['Q23013935', 'P1532', 'Q984583']
ASK WHERE { resource:Q23013935 property:P1532 resource:Q35 . resource:Q23013935 property:P1532 resource:Q984583 }
YES and NO respectively
action is_in
entity Denmark women's national under-19 football team
action intersection
action find_reverse
entity Denmark
relation country for sport
action find_reverse
entity La Puebla de Castro
relation country for sport
["Denmark women's national under-19 football team", 'country for sport', 'Denmark'] ["Denmark women's national under-19 football team", 'country for sport', 'La Puebla de Castro']
ASK WHERE { resource:Denmark_women's_national_under-19_football_team property:country_for_sport resource:Denmark . resource:Denmark_women's_national_under-19_football_team property:country_for_sport resource:La_Puebla_de_Castro }
[]