Simple Question (Direct)
Simple Question
Q434449
P21
Q290
USER
Which sex does Laura Österberg Kalmari have ?
(Q434449,P21,c(Q290))
action filter_type
action find
entity Q434449
relation P21
type Q290
['Q434449', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q434449 property:P21 ?u . ?u rdf:type ontology:Q290 }
Laura Österberg Kalmari
action filter_type
action find
entity Laura Österberg Kalmari
relation gender
type sex
['Laura Österberg Kalmari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Laura_Österberg_Kalmari property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q434449,P21,c(Q290))
action filter_type
action find
entity Q434449
relation P21
type Q290
Laura Österberg Kalmari has a [ANSWER]
['Q434449', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q434449 property:P21 ?u . ?u rdf:type ontology:Q290 }
female
Laura Österberg Kalmari has a female
female
action filter_type
action find
entity Laura Österberg Kalmari
relation gender
type sex
['Laura Österberg Kalmari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Laura_Österberg_Kalmari property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q434449
P54
Q6979593
USER
What is Laura Österberg Kalmari a member of ?
(Q434449,P54,c(Q6979593))
action filter_type
action find
entity Q434449
relation P54
type Q6979593
['Q434449', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?k WHERE { resource:Q434449 property:P54 ?k . ?k rdf:type ontology:Q6979593 }
Laura Österberg Kalmari
action filter_type
action find
entity Laura Österberg Kalmari
relation member of sports team
type national association football team
['Laura Österberg Kalmari', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?k WHERE { resource:Laura_Österberg_Kalmari property:member_of_sports_team ?k . ?k rdf:type ontology:national_association_football_team }
[]
national association football team
Q847121
SYSTEM
Finland women's national football team
Q847121
(Q434449,P54,c(Q6979593))
action filter_type
action find
entity Q434449
relation P54
type Q6979593
Laura Österberg Kalmari of the [ANSWER]
['Q434449', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?k WHERE { resource:Q434449 property:P54 ?k . ?k rdf:type ontology:Q6979593 }
Finland women's national football team
Laura Österberg Kalmari of the Finland women's national football team
Finland women's national football team
action filter_type
action find
entity Laura Österberg Kalmari
relation member of sports team
type national association football team
['Laura Österberg Kalmari', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?k WHERE { resource:Laura_Österberg_Kalmari property:member_of_sports_team ?k . ?k rdf:type ontology:national_association_football_team }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q434449
Q847017
USER
And which sports club?
(Q434449,P54,c(Q847017))
action filter_type
action find
entity Q434449
relation P54
type Q847017
['Q434449', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q847017 . resource:Q434449 property:P54 ?d }
Laura Österberg Kalmari
action filter_type
action find
entity Laura Österberg Kalmari
relation member of sports team
type sports club
['Laura Österberg Kalmari', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sports_club . resource:Laura_Österberg_Kalmari property:member_of_sports_team ?d }
[]
sports club
Q7231995 Q20792292
SYSTEM
Portland Pilots, Umeå IK
Q7231995 Q20792292
(Q434449,P54,c(Q847017))
action filter_type
action find
entity Q434449
relation P54
type Q847017
[ANSWERS]
['Q434449', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q847017 . resource:Q434449 property:P54 ?d }
Portland Pilots Umeå IK
Portland Pilots Umeå IK
action filter_type
action find
entity Laura Österberg Kalmari
relation member of sports team
type sports club
['Laura Österberg Kalmari', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sports_club . resource:Laura_Österberg_Kalmari property:member_of_sports_team ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24201944
P1923
Q847017 Q13406554
USER
How many sport competitions did more number of sports clubs compete in than Spain v Czech Republic ?
(c(Q13406554),P1923,c(Q847017))
action count
action greater
action find_tuple_counts
relation P1923
type Q13406554
type Q847017
action count
action filter_type
action find
entity Q24201944
relation P1923
type Q13406554
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q847017'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?c ) WHERE { ?i property:P1923 ?y . ?i rdf:type ontology:Q13406554 . ?y rdf:type ontology:Q847017 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q24201944 property:P1923 ?v . ?v rdf:type ontology:Q13406554 } } . FILTER ( ?c > ?u ) }
Spain v Czech Republic
action count
action greater
action find_tuple_counts
relation participating teams
type sport competition
type sports club
action count
action filter_type
action find
entity Spain v Czech Republic
relation participating teams
type sport competition
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'sports club'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?c ) WHERE { ?i property:participating_teams ?y . ?i rdf:type ontology:sport_competition . ?y rdf:type ontology:sports_club } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Spain_v_Czech_Republic property:participating_teams ?v . ?v rdf:type ontology:sport_competition } } . FILTER ( ?c > ?u ) }
[]
sports club sport competition
SYSTEM
39
Q27654491 Q27654490 Q27654493 Q27654495 Q27654494 Q27654497 Q27654496 Q27654499 Q27654498 Q20653751 Q27657462 Q12871817 Q20664397 Q20664326 Q23901021 Q20656308 Q27654487 Q27654488 Q27654489 Q27654503 Q27654502 Q27654504 Q27654507 Q20664273 Q27654505 Q11827903 Q27654508 Q27654516 Q20667125 Q27654511 Q23931122 Q20059854 Q27654514 Q27654515 Q27654517 Q27654510 Q27654513 Q27654500 Q23901086
(c(Q13406554),P1923,c(Q847017))
action count
action greater
action find_tuple_counts
relation P1923
type Q13406554
type Q847017
action count
action filter_type
action find
entity Q24201944
relation P1923
type Q13406554
[ANSWER]
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q847017'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?c ) WHERE { ?i property:P1923 ?y . ?i rdf:type ontology:Q13406554 . ?y rdf:type ontology:Q847017 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q24201944 property:P1923 ?v . ?v rdf:type ontology:Q13406554 } } . FILTER ( ?c > ?u ) }
1981-1982 Cyprus Volleyball Division 1 1980-1981 Cyprus Volleyball Division 1 1982-1983 Cyprus Volleyball Division 1 1984-1985 Cyprus Volleyball Division 1 1983-1984 Cyprus Volleyball Division 1 1986-1987 Cyprus Volleyball Division 1 1985-1986 Cyprus Volleyball Division 1 1988-1989 Cyprus Volleyball Division 1 1987-1988 Cyprus Volleyball Division 1 2013-14 Cyprus Volleyball Division 1 2002-03 Cyprus Volleyball Division 2 2012-13 Cyprus Volleyball Division 1 2007-08 Cyprus Volleyball Division 1 2008-09 Cyprus Volleyball Division 1 2015-16 Cypriot Men's Volleyball Cup 2011-12 Cyprus Volleyball Division 1 1978 Cyprus Volleyball Division 1 1978-1979 Cyprus Volleyball Division 1 1979-1980 Cyprus Volleyball Division 1 1991-1992 Cyprus Volleyball Division 1 1990-1991 Cyprus Volleyball Division 1 1992-1993 Cyprus Volleyball Division 1 1994-1995 Cyprus Volleyball Division 1 2010-11 Cyprus Volleyball Division 1 1993-1994 Cyprus Volleyball Division 1 2009-10 Cyprus Volleyball Division 1 1995-1996 Cyprus Volleyball Division 1 2001-2002 Cyprus Volleyball Division 1 2006-07 Cyprus Volleyball Division 1 1997-1998 Cyprus Volleyball Division 1 2015-16 Cyprus Volleyball Division 2 2014-15 Cyprus Volleyball Division 1 1999-2000 Cyprus Volleyball Division 1 2000-2001 Cyprus Volleyball Division 1 2002-2003 Cyprus Volleyball Division 1 1996-1997 Cyprus Volleyball Division 1 1998-1999 Cyprus Volleyball Division 1 1989-1990 Cyprus Volleyball Division 1 2015-16 Cyprus Volleyball Division 1
39
action count
action greater
action find_tuple_counts
relation participating teams
type sport competition
type sports club
action count
action filter_type
action find
entity Spain v Czech Republic
relation participating teams
type sport competition
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'sports club'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?c ) WHERE { ?i property:participating_teams ?y . ?i rdf:type ontology:sport_competition . ?y rdf:type ontology:sports_club } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Spain_v_Czech_Republic property:participating_teams ?v . ?v rdf:type ontology:sport_competition } } . FILTER ( ?c > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24201791
P1923
Q847017 Q13406554
USER
And also tell me about Romania v Albania?
(c(Q13406554),P1923,c(Q847017))
action count
action greater
action find_tuple_counts
relation P1923
type Q13406554
type Q847017
action count
action filter_type
action find
entity Q24201791
relation P1923
type Q13406554
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q847017'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?v ) WHERE { ?j rdf:type ontology:Q13406554 . ?y rdf:type ontology:Q847017 . ?j property:P1923 ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q24201791 property:P1923 ?l . ?l rdf:type ontology:Q13406554 } } . FILTER ( ?v > ?w ) }
Romania v Albania
action count
action greater
action find_tuple_counts
relation participating teams
type sport competition
type sports club
action count
action filter_type
action find
entity Romania v Albania
relation participating teams
type sport competition
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'sports club'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?v ) WHERE { ?j rdf:type ontology:sport_competition . ?y rdf:type ontology:sports_club . ?j property:participating_teams ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Romania_v_Albania property:participating_teams ?l . ?l rdf:type ontology:sport_competition } } . FILTER ( ?v > ?w ) }
[]
sports club sport competition
SYSTEM
39
Q27654491 Q27654490 Q27654493 Q27654495 Q27654494 Q27654497 Q27654496 Q27654499 Q27654498 Q20653751 Q27657462 Q12871817 Q20664397 Q20664326 Q23901021 Q20656308 Q27654487 Q27654488 Q27654489 Q27654503 Q27654502 Q27654504 Q27654507 Q20664273 Q27654505 Q11827903 Q27654508 Q27654516 Q20667125 Q27654511 Q23931122 Q20059854 Q27654514 Q27654515 Q27654517 Q27654510 Q27654513 Q27654500 Q23901086
(c(Q13406554),P1923,c(Q847017))
action count
action greater
action find_tuple_counts
relation P1923
type Q13406554
type Q847017
action count
action filter_type
action find
entity Q24201791
relation P1923
type Q13406554
[ANSWER]
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q847017'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?v ) WHERE { ?j rdf:type ontology:Q13406554 . ?y rdf:type ontology:Q847017 . ?j property:P1923 ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q24201791 property:P1923 ?l . ?l rdf:type ontology:Q13406554 } } . FILTER ( ?v > ?w ) }
1981-1982 Cyprus Volleyball Division 1 1980-1981 Cyprus Volleyball Division 1 1982-1983 Cyprus Volleyball Division 1 1984-1985 Cyprus Volleyball Division 1 1983-1984 Cyprus Volleyball Division 1 1986-1987 Cyprus Volleyball Division 1 1985-1986 Cyprus Volleyball Division 1 1988-1989 Cyprus Volleyball Division 1 1987-1988 Cyprus Volleyball Division 1 2013-14 Cyprus Volleyball Division 1 2002-03 Cyprus Volleyball Division 2 2012-13 Cyprus Volleyball Division 1 2007-08 Cyprus Volleyball Division 1 2008-09 Cyprus Volleyball Division 1 2015-16 Cypriot Men's Volleyball Cup 2011-12 Cyprus Volleyball Division 1 1978 Cyprus Volleyball Division 1 1978-1979 Cyprus Volleyball Division 1 1979-1980 Cyprus Volleyball Division 1 1991-1992 Cyprus Volleyball Division 1 1990-1991 Cyprus Volleyball Division 1 1992-1993 Cyprus Volleyball Division 1 1994-1995 Cyprus Volleyball Division 1 2010-11 Cyprus Volleyball Division 1 1993-1994 Cyprus Volleyball Division 1 2009-10 Cyprus Volleyball Division 1 1995-1996 Cyprus Volleyball Division 1 2001-2002 Cyprus Volleyball Division 1 2006-07 Cyprus Volleyball Division 1 1997-1998 Cyprus Volleyball Division 1 2015-16 Cyprus Volleyball Division 2 2014-15 Cyprus Volleyball Division 1 1999-2000 Cyprus Volleyball Division 1 2000-2001 Cyprus Volleyball Division 1 2002-2003 Cyprus Volleyball Division 1 1996-1997 Cyprus Volleyball Division 1 1998-1999 Cyprus Volleyball Division 1 1989-1990 Cyprus Volleyball Division 1 2015-16 Cyprus Volleyball Division 1
39
action count
action greater
action find_tuple_counts
relation participating teams
type sport competition
type sports club
action count
action filter_type
action find
entity Romania v Albania
relation participating teams
type sport competition
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'sports club'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?v ) WHERE { ?j rdf:type ontology:sport_competition . ?y rdf:type ontology:sports_club . ?j property:participating_teams ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Romania_v_Albania property:participating_teams ?l . ?l rdf:type ontology:sport_competition } } . FILTER ( ?v > ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q434449
P106
Q12737077
USER
Which occupation has Laura Österberg Kalmari as his/her 's career ?
(Q434449,P106,c(Q12737077))
action filter_type
action find
entity Q434449
relation P106
type Q12737077
['Q434449', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q434449 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Laura Österberg Kalmari
action filter_type
action find
entity Laura Österberg Kalmari
relation occupation
type occupation
['Laura Österberg Kalmari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Laura_Österberg_Kalmari property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q434449,P106,c(Q12737077))
action filter_type
action find
entity Q434449
relation P106
type Q12737077
As [ANSWER] has Laura Österberg Kalmari as his/her 's career
['Q434449', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q434449 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football player
As association football player has Laura Österberg Kalmari as his/her 's career
association football player
action filter_type
action find
entity Laura Österberg Kalmari
relation occupation
type occupation
['Laura Österberg Kalmari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Laura_Österberg_Kalmari property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q434449
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q434449
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q434449 property:P641 ?e . ?e rdf:type ontology:Q349 }
Laura Österberg Kalmari
action filter_type
action find
entity Laura Österberg Kalmari
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Laura_Österberg_Kalmari property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q434449
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q434449 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Laura Österberg Kalmari
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Laura_Österberg_Kalmari property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q434449
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q434449
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q434449 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Laura Österberg Kalmari
action filter_type
action find
entity Laura Österberg Kalmari
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Laura_Österberg_Kalmari property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q434449
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q434449 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Finland
The Finland is that person an inhabitant of
Finland
action filter_type
action find
entity Laura Österberg Kalmari
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Laura_Österberg_Kalmari property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q33 Q176665
P85
Q484692
USER
Is Hymn to Liberty the anthem for that administrative territory ?
(Q33,P85,Q176665)
action is_in
entity Q176665
action find
entity Q33
relation P85
['Q33', 'P85', 'Q176665']
ASK WHERE { resource:Q33 property:P85 resource:Q176665 }
Finland Hymn to Liberty
action is_in
entity Hymn to Liberty
action find
entity Finland
relation anthem
['Finland', 'anthem', 'Hymn to Liberty']
ASK WHERE { resource:Finland property:anthem resource:Hymn_to_Liberty }
[]
hymn
SYSTEM
NO
(Q33,P85,Q176665)
action is_in
entity Q176665
action find
entity Q33
relation P85
[ANSWER]
['Q33', 'P85', 'Q176665']
ASK WHERE { resource:Q33 property:P85 resource:Q176665 }
No
action is_in
entity Hymn to Liberty
action find
entity Finland
relation anthem
['Finland', 'anthem', 'Hymn to Liberty']
ASK WHERE { resource:Finland property:anthem resource:Hymn_to_Liberty }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q20792292 Q34
P17
Q15617994
USER
Does that sports club belong to Sweden ?
(Q20792292,P17,Q34)
action is_in
entity Q34
action find
entity Q20792292
relation P17
['Q20792292', 'P17', 'Q34']
ASK WHERE { resource:Q20792292 property:P17 resource:Q34 }
Umeå IK Sweden
action is_in
entity Sweden
action find
entity Umeå IK
relation country
['Umeå IK', 'country', 'Sweden']
ASK WHERE { resource:Umeå_IK property:country resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q20792292,P17,Q34)
action is_in
entity Q34
action find
entity Q20792292
relation P17
[ANSWER]
['Q20792292', 'P17', 'Q34']
ASK WHERE { resource:Q20792292 property:P17 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Umeå IK
relation country
['Umeå IK', 'country', 'Sweden']
ASK WHERE { resource:Umeå_IK property:country resource:Sweden }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with atleast 52 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 52
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?m ) WHERE { ?b property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?m >= 52 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 52
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?m ) WHERE { ?b property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?m >= 52 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 52
[ANSWERS] hold diplomatic relationship with atleast 52 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?m ) WHERE { ?b property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?m >= 52 ) }
Germany Australia
Germany and Australia hold diplomatic relationship with atleast 52 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 52
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?m ) WHERE { ?b property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?m >= 52 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1041
P530
Q15617994
USER
Do Senegal have diplomatic relations with those political territories ?
(Q1041,P530,Q183) (Q1041,P530,Q408)
action is_in
entity prev_answer
action find
entity Q1041
relation P530
['Q1041', 'P530', 'Q183'] ['Q1041', 'P530', 'Q408']
ASK WHERE { resource:Q1041 property:P530 ?g . VALUES ( ?g ) { ( resource:Q183 ) ( resource:Q408 ) } }
Senegal
action is_in
entity prev_answer
action find
entity Senegal
relation diplomatic relation
['Senegal', 'diplomatic relation', 'Germany'] ['Senegal', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Senegal property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Germany ) ( resource:Australia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1041,P530,Q183) (Q1041,P530,Q408)
action is_in
entity prev_answer
action find
entity Q1041
relation P530
[ANSWER]
['Q1041', 'P530', 'Q183'] ['Q1041', 'P530', 'Q408']
ASK WHERE { resource:Q1041 property:P530 ?g . VALUES ( ?g ) { ( resource:Q183 ) ( resource:Q408 ) } }
Yes
action is_in
entity prev_answer
action find
entity Senegal
relation diplomatic relation
['Senegal', 'diplomatic relation', 'Germany'] ['Senegal', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Senegal property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Germany ) ( resource:Australia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q33 Q148
P530
Q1048835
USER
How many political territories are known to have diplomatic connections with Finland and People's Republic of China ?
(c(Q1048835),P530,Q33) (c(Q1048835),P530,Q148)
action count
action intersection
action filter_type
action find_reverse
entity Q33
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q148
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q33'] [{'concept': 'Q1048835'}, 'P530', 'Q148']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:P530 resource:Q33 . ?t rdf:type ontology:Q1048835 . ?t property:P530 resource:Q148 . ?t rdf:type ontology:Q1048835 }
Finland People's Republic of China
action count
action intersection
action filter_type
action find_reverse
entity Finland
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Finland'] [{'concept': 'political territorial entity'}, 'diplomatic relation', "People's Republic of China"]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:diplomatic_relation resource:Finland . ?t rdf:type ontology:political_territorial_entity . ?t property:diplomatic_relation resource:People's_Republic_of_China . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q33) (c(Q1048835),P530,Q148)
action count
action intersection
action filter_type
action find_reverse
entity Q33
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q148
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q33'] [{'concept': 'Q1048835'}, 'P530', 'Q148']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:P530 resource:Q33 . ?t rdf:type ontology:Q1048835 . ?t property:P530 resource:Q148 . ?t rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Finland
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Finland'] [{'concept': 'political territorial entity'}, 'diplomatic relation', "People's Republic of China"]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:diplomatic_relation resource:Finland . ?t rdf:type ontology:political_territorial_entity . ?t property:diplomatic_relation resource:People's_Republic_of_China . ?t rdf:type ontology:political_territorial_entity }
[]