Simple Question (Direct)
Simple Question
Q7926094
P21
Q290
USER
Which sex does Victor Leyva belong to ?
(Q7926094,P21,c(Q290))
action filter_type
action find
entity Q7926094
relation P21
type Q290
['Q7926094', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7926094 property:P21 ?q . ?q rdf:type ontology:Q290 }
Victor Leyva
action filter_type
action find
entity Victor Leyva
relation gender
type sex
['Victor Leyva', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Victor_Leyva property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7926094,P21,c(Q290))
action filter_type
action find
entity Q7926094
relation P21
type Q290
Victor Leyva belongs to [ANSWER]
['Q7926094', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7926094 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Victor Leyva belongs to male
male
action filter_type
action find
entity Victor Leyva
relation gender
type sex
['Victor Leyva', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Victor_Leyva property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7926094
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q7926094
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q7926094 property:P27 ?o }
Victor Leyva
action filter_type
action find
entity Victor Leyva
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Victor_Leyva property:country_of_citizenship ?o }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q7926094
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q7926094 property:P27 ?o }
Mexico
Mexico is that person a civilian of
Mexico
action filter_type
action find
entity Victor Leyva
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Victor_Leyva property:country_of_citizenship ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7926094
P106
Q12737077
USER
What is the profession of Victor Leyva ?
(Q7926094,P106,c(Q12737077))
action filter_type
action find
entity Q7926094
relation P106
type Q12737077
['Q7926094', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7926094 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Victor Leyva
action filter_type
action find
entity Victor Leyva
relation occupation
type occupation
['Victor Leyva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Victor_Leyva property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q7926094,P106,c(Q12737077))
action filter_type
action find
entity Q7926094
relation P106
type Q12737077
The profession of Victor Leyva is an [ANSWER]
['Q7926094', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7926094 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
American football player
The profession of Victor Leyva is an American football player
American football player
action filter_type
action find
entity Victor Leyva
relation occupation
type occupation
['Victor Leyva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Victor_Leyva property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19204627
P361
Q847017
USER
What is that occupation a component of ?
(Q19204627,P361,c(Q847017))
action filter_type
action find
entity Q19204627
relation P361
type Q847017
['Q19204627', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?d WHERE { resource:Q19204627 property:P361 ?d . ?d rdf:type ontology:Q847017 }
American football player
action filter_type
action find
entity American football player
relation part of
type sports club
['American football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?d WHERE { resource:American_football_player property:part_of ?d . ?d rdf:type ontology:sports_club }
[]
sports club
Q17156793
SYSTEM
American football team
Q17156793
(Q19204627,P361,c(Q847017))
action filter_type
action find
entity Q19204627
relation P361
type Q847017
That occupation a component of is the [ANSWER]
['Q19204627', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?d WHERE { resource:Q19204627 property:P361 ?d . ?d rdf:type ontology:Q847017 }
American football team
That occupation a component of is the American football team
American football team
action filter_type
action find
entity American football player
relation part of
type sports club
['American football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?d WHERE { resource:American_football_player property:part_of ?d . ?d rdf:type ontology:sports_club }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17156793
P641
Q349
USER
What did that sports club participate in ?
(Q17156793,P641,c(Q349))
action filter_type
action find
entity Q17156793
relation P641
type Q349
['Q17156793', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q17156793 property:P641 ?h . ?h rdf:type ontology:Q349 }
American football team
action filter_type
action find
entity American football team
relation sport
type sport
['American football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:American_football_team property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q17156793,P641,c(Q349))
action filter_type
action find
entity Q17156793
relation P641
type Q349
That sports club participated in [ANSWER]
['Q17156793', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q17156793 property:P641 ?h . ?h rdf:type ontology:Q349 }
American football
That sports club participated in American football
American football
action filter_type
action find
entity American football team
relation sport
type sport
['American football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:American_football_team property:sport ?h . ?h rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q96
P463
Q43229
USER
How many organizations were Mexico a member of ?
(Q96,P463,c(Q43229))
action count
action filter_type
action find
entity Q96
relation P463
type Q43229
['Q96', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q96 property:P463 ?o . ?o rdf:type ontology:Q43229 }
Mexico
action count
action filter_type
action find
entity Mexico
relation member of
type organization
['Mexico', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Mexico property:member_of ?o . ?o rdf:type ontology:organization }
[]
organization
SYSTEM
17
Q125761 Q191384 Q1153087 Q309195 Q41550 Q123759 Q689859 Q1045401 Q7825 Q170481 Q1071706 Q656801 Q40970 Q3772571 Q82151 Q7178 Q827525
(Q96,P463,c(Q43229))
action count
action filter_type
action find
entity Q96
relation P463
type Q43229
[ANSWER]
['Q96', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q96 property:P463 ?o . ?o rdf:type ontology:Q43229 }
International Civil Aviation Organization International Bank for Reconstruction and Development Inter-American Development Bank Bank for International Settlements Organisation for Economic Co-operation and Development Organization of American States International Fund for Agricultural Development Community of Latin American and Caribbean States World Trade Organization Asia-Pacific Economic Cooperation International Trade Union Confederation International Finance Corporation International Olympic Committee Caribbean Development Bank Food and Agriculture Organization of the United Nations International Red Cross and Red Crescent Movementsac International Development Association
17
action count
action filter_type
action find
entity Mexico
relation member of
type organization
['Mexico', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Mexico property:member_of ?o . ?o rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1072242
P463
Q43229
USER
And what about Cyprus Broadcasting Corporation?
(Q1072242,P463,c(Q43229))
action count
action filter_type
action find
entity Q1072242
relation P463
type Q43229
['Q1072242', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q1072242 property:P463 ?z . ?z rdf:type ontology:Q43229 }
Cyprus Broadcasting Corporation
action count
action filter_type
action find
entity Cyprus Broadcasting Corporation
relation member of
type organization
['Cyprus Broadcasting Corporation', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Cyprus_Broadcasting_Corporation property:member_of ?z . ?z rdf:type ontology:organization }
[]
organization
SYSTEM
1
Q166400
(Q1072242,P463,c(Q43229))
action count
action filter_type
action find
entity Q1072242
relation P463
type Q43229
[ANSWER]
['Q1072242', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q1072242 property:P463 ?z . ?z rdf:type ontology:Q43229 }
European Broadcasting Union
1
action count
action filter_type
action find
entity Cyprus Broadcasting Corporation
relation member of
type organization
['Cyprus Broadcasting Corporation', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Cyprus_Broadcasting_Corporation property:member_of ?z . ?z rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q754
Q43229
USER
And also tell me about Trinidad and Tobago?
(Q754,P463,c(Q43229))
action count
action filter_type
action find
entity Q754
relation P463
type Q43229
['Q754', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ontology:Q43229 . resource:Q754 property:P463 ?f }
Trinidad and Tobago
action count
action filter_type
action find
entity Trinidad and Tobago
relation member of
type organization
['Trinidad and Tobago', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ontology:organization . resource:Trinidad_and_Tobago property:member_of ?f }
[]
organization
SYSTEM
6
(Q754,P463,c(Q43229))
action count
action filter_type
action find
entity Q754
relation P463
type Q43229
[ANSWER]
['Q754', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ontology:Q43229 . resource:Q754 property:P463 ?f }
6
action count
action filter_type
action find
entity Trinidad and Tobago
relation member of
type organization
['Trinidad and Tobago', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ontology:organization . resource:Trinidad_and_Tobago property:member_of ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q754
P47
Q15617994
USER
Which administrative territory is bordered by that one ?
action filter_type
action find
entity Q754
relation P47
type Q15617994
SELECT DISTINCT ?d WHERE { resource:Q754 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Trinidad and Tobago
action filter_type
action find
entity Trinidad and Tobago
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?d WHERE { resource:Trinidad_and_Tobago property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q717
SYSTEM
Venezuela
Q717
action filter_type
action find
entity Q754
relation P47
type Q15617994
[ANSWER] is bordered by that one
SELECT DISTINCT ?d WHERE { resource:Q754 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Venezuela
Venezuela is bordered by that one
Venezuela
action filter_type
action find
entity Trinidad and Tobago
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?d WHERE { resource:Trinidad_and_Tobago property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q717
P1376
Q515
USER
Which city is the county seat for that administrative territory ?
(c(Q515),P1376,Q717)
action filter_type
action find_reverse
entity Q717
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q717']
SELECT DISTINCT ?d WHERE { ?d property:P1376 resource:Q717 . ?d rdf:type ontology:Q515 }
Venezuela
action filter_type
action find_reverse
entity Venezuela
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Venezuela']
SELECT DISTINCT ?d WHERE { ?d property:capital_of resource:Venezuela . ?d rdf:type ontology:city }
[]
city
Q1533
SYSTEM
Caracas
Q1533
(c(Q515),P1376,Q717)
action filter_type
action find_reverse
entity Q717
relation P1376
type Q515
[ANSWER] is the county seat for that administrative territory
[{'concept': 'Q515'}, 'P1376', 'Q717']
SELECT DISTINCT ?d WHERE { ?d property:P1376 resource:Q717 . ?d rdf:type ontology:Q515 }
Caracas
Caracas is the county seat for that administrative territory
Caracas
action filter_type
action find_reverse
entity Venezuela
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Venezuela']
SELECT DISTINCT ?d WHERE { ?d property:capital_of resource:Venezuela . ?d rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3066319
P206
Q355304 Q15324 Q15617994
USER
Which administrative territories are situated close to more number of watercourses or bodies of water than Fala-Beguets ?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q3066319
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) ?d WHERE { { ?d property:P206 ?h . ?d rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q355304 } UNION { ?d property:P206 ?h . ?d rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15324 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q3066319 property:P206 ?w . { { ?w rdf:type ontology:Q355304 } UNION { ?w rdf:type ontology:Q15324 } } } } . FILTER ( ?i > ?l ) }
Fala-Beguets
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Fala-Beguets
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) ?d WHERE { { ?d property:located_next_to_body_of_water ?h . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:watercourse } UNION { ?d property:located_next_to_body_of_water ?h . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:body_of_water } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Fala-Beguets property:located_next_to_body_of_water ?w . { { ?w rdf:type ontology:watercourse } UNION { ?w rdf:type ontology:body_of_water } } } } . FILTER ( ?i > ?l ) }
[]
watercourse body of water designation for an administrative territorial entity
Q38 Q55 Q36
SYSTEM
Italy, Netherlands, Poland
Q21111 Q446425 Q31872 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q241358 Q525945 Q14859 Q568926 Q1650693 Q214 Q503693 Q4391124 Q884 Q528579 Q493924 Q555609 Q491751 Q10903 Q11343 Q14825 Q532046 Q7496670 Q307508 Q36 Q34 Q38 Q6685 Q252772 Q769680 Q104192 Q255698 Q236 Q1984541 Q20 Q621469 Q28 Q3088406 Q917406 Q548982 Q3038 Q225 Q224 Q222 Q14889 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q213 Q215 Q269010 Q262684 Q573230 Q3923 Q174307 Q522992 Q1009 Q1438 Q522677 Q257859 Q252320 Q251778 Q53742 Q526087 Q7561974 Q2758 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q7942378
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q3066319
relation P206
type Q355304
type Q15324
[ANSWERS] are situated close to more number of watercourses or bodies of water than Fala-Beguets
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) ?d WHERE { { ?d property:P206 ?h . ?d rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q355304 } UNION { ?d property:P206 ?h . ?d rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15324 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q3066319 property:P206 ?w . { { ?w rdf:type ontology:Q355304 } UNION { ?w rdf:type ontology:Q15324 } } } } . FILTER ( ?i > ?l ) }
Corn Islands Altwarp Moosburg an der Isar Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Schleiden Pfofeld Ansbach Maasholm Niamey III Slovakia Riedenburg Rakhlitsy South Korea Wörth an der Isar Pasewalk Magdala Pfatter Finnentrop Wetter (Ruhr) Memmingen Fischen Shillingford Yepifan Poland Sweden Italy Dorfhain Eichstätt Bornholm Kleinmachnow Abensberg Montenegro Niamey II Norway Wennigsen Hungary Front de Seine Niamey V Heidenheim Helgoland Bosnia and Herzegovina Croatia Albania Schwabach Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Czech Republic Slovenia Neustadt an der Donau Füssen Beilngries Bayreuth Essing Braunlage Cameroon Campania Nassenfels Cham Pleinfeld Vohburg Donauwörth Nennslingen Sonning Eye Mönchengladbach Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Voxna
Italy, Netherlands and Poland are situated close to more number of watercourses or bodies of water than Fala-Beguets
Italy Netherlands Poland
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Fala-Beguets
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) ?d WHERE { { ?d property:located_next_to_body_of_water ?h . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:watercourse } UNION { ?d property:located_next_to_body_of_water ?h . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:body_of_water } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Fala-Beguets property:located_next_to_body_of_water ?w . { { ?w rdf:type ontology:watercourse } UNION { ?w rdf:type ontology:body_of_water } } } } . FILTER ( ?i > ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q525900
P206
Q355304 Q15324 Q15617994
USER
And also tell me about Meinheim?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q525900
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?h ) WHERE { { ?m property:P206 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q355304 } UNION { ?m property:P206 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15324 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q525900 property:P206 ?z . { ?z rdf:type ?l . VALUES ( ?l ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } } } . FILTER ( ?h > ?b ) }
Meinheim
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Meinheim
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?h ) WHERE { { ?m property:located_next_to_body_of_water ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:watercourse } UNION { ?m property:located_next_to_body_of_water ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:body_of_water } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Meinheim property:located_next_to_body_of_water ?z . { ?z rdf:type ?l . VALUES ( ?l ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } } } . FILTER ( ?h > ?b ) }
[]
watercourse body of water designation for an administrative territorial entity
Q36 Q801 Q213
SYSTEM
Poland, Israel, Czech Republic
Q801 Q214 Q884 Q36 Q28 Q213 Q3923 Q252320
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q525900
relation P206
type Q355304
type Q15324
[ANSWERS]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?h ) WHERE { { ?m property:P206 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q355304 } UNION { ?m property:P206 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15324 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q525900 property:P206 ?z . { ?z rdf:type ?l . VALUES ( ?l ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } } } . FILTER ( ?h > ?b ) }
Israel Slovakia South Korea Poland Hungary Czech Republic Bayreuth Pleinfeld
Poland Israel Czech Republic
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Meinheim
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?h ) WHERE { { ?m property:located_next_to_body_of_water ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:watercourse } UNION { ?m property:located_next_to_body_of_water ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:body_of_water } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Meinheim property:located_next_to_body_of_water ?z . { ?z rdf:type ?l . VALUES ( ?l ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } } } . FILTER ( ?h > ?b ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7054225
P530
Q15617994
USER
Do North Boone Community Unit School District 200 have diplomatic associations with those ones ?
(Q7054225,P530,Q36) (Q7054225,P530,Q801) (Q7054225,P530,Q213)
action is_in
entity prev_answer
action find
entity Q7054225
relation P530
['Q7054225', 'P530', 'Q36'] ['Q7054225', 'P530', 'Q801'] ['Q7054225', 'P530', 'Q213']
ASK WHERE { VALUES ( ?l ) { ( resource:Q801 ) ( resource:Q214 ) ( resource:Q884 ) } . resource:Q7054225 property:P530 ?l }
North Boone Community Unit School District 200
action is_in
entity prev_answer
action find
entity North Boone Community Unit School District 200
relation diplomatic relation
['North Boone Community Unit School District 200', 'diplomatic relation', 'Poland'] ['North Boone Community Unit School District 200', 'diplomatic relation', 'Israel'] ['North Boone Community Unit School District 200', 'diplomatic relation', 'Czech Republic']
ASK WHERE { VALUES ( ?l ) { ( resource:Israel ) ( resource:Slovakia ) ( resource:South_Korea ) } . resource:North_Boone_Community_Unit_School_District_200 property:diplomatic_relation ?l }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7054225,P530,Q36) (Q7054225,P530,Q801) (Q7054225,P530,Q213)
action is_in
entity prev_answer
action find
entity Q7054225
relation P530
[ANSWER]
['Q7054225', 'P530', 'Q36'] ['Q7054225', 'P530', 'Q801'] ['Q7054225', 'P530', 'Q213']
ASK WHERE { VALUES ( ?l ) { ( resource:Q801 ) ( resource:Q214 ) ( resource:Q884 ) } . resource:Q7054225 property:P530 ?l }
No
action is_in
entity prev_answer
action find
entity North Boone Community Unit School District 200
relation diplomatic relation
['North Boone Community Unit School District 200', 'diplomatic relation', 'Poland'] ['North Boone Community Unit School District 200', 'diplomatic relation', 'Israel'] ['North Boone Community Unit School District 200', 'diplomatic relation', 'Czech Republic']
ASK WHERE { VALUES ( ?l ) { ( resource:Israel ) ( resource:Slovakia ) ( resource:South_Korea ) } . resource:North_Boone_Community_Unit_School_District_200 property:diplomatic_relation ?l }
[]