Simple Question (Direct)
Simple Question
Q210695
P54
Q12973014
USER
What is Mary Pierce a member of ?
(Q210695,P54,c(Q12973014))
action filter_type
action find
entity Q210695
relation P54
type Q12973014
['Q210695', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12973014 . resource:Q210695 property:P54 ?b }
Mary Pierce
action filter_type
action find
entity Mary Pierce
relation member of sports team
type sports team
['Mary Pierce', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sports_team . resource:Mary_Pierce property:member_of_sports_team ?b }
[]
sports team
Q1450563
SYSTEM
France Fed Cup team
Q1450563
(Q210695,P54,c(Q12973014))
action filter_type
action find
entity Q210695
relation P54
type Q12973014
Mary Pierce a member of is [ANSWER]
['Q210695', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12973014 . resource:Q210695 property:P54 ?b }
France Fed Cup team
Mary Pierce a member of is France Fed Cup team
France Fed Cup team
action filter_type
action find
entity Mary Pierce
relation member of sports team
type sports team
['Mary Pierce', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sports_team . resource:Mary_Pierce property:member_of_sports_team ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1450563
P641
Q349
USER
Which sport was that sports team a part of ?
(Q1450563,P641,c(Q349))
action filter_type
action find
entity Q1450563
relation P641
type Q349
['Q1450563', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q1450563 property:P641 ?o . ?o rdf:type ontology:Q349 }
France Fed Cup team
action filter_type
action find
entity France Fed Cup team
relation sport
type sport
['France Fed Cup team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:France_Fed_Cup_team property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q847
SYSTEM
tennis
Q847
(Q1450563,P641,c(Q349))
action filter_type
action find
entity Q1450563
relation P641
type Q349
The [ANSWER] was that sports team a part of
['Q1450563', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q1450563 property:P641 ?o . ?o rdf:type ontology:Q349 }
tennis
The tennis was that sports team a part of
tennis
action filter_type
action find
entity France Fed Cup team
relation sport
type sport
['France Fed Cup team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:France_Fed_Cup_team property:sport ?o . ?o rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q12973014 Q22348500 Q15991303
USER
How many sports teams participated in atmost 5 cycling race classes and association football leagues ?
(c(Q22348500)|c(Q15991303),P1923,c(Q12973014))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
value 5
[[{'concept': 'Q22348500'}, {'concept': 'Q15991303'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?l WHERE { VALUES ( ?w ) { ( ontology:Q22348500 ) ( ontology:Q15991303 ) } . ?f rdf:type ?w } GROUP BY ?l } . FILTER ( ?s <= 5 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type cycling race class defined by the International Cycling Union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
value 5
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'association football league'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?l WHERE { VALUES ( ?w ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:association_football_league ) } . ?f rdf:type ?w } GROUP BY ?l } . FILTER ( ?s <= 5 ) }
[]
sports team cycling race class defined by the International Cycling Union association football league
SYSTEM
152
Q23674523 Q27146481 Q27146483 Q27146485 Q27146486 Q3421766 Q16295654 Q1981530 Q23887716 Q27147065 Q27147067 Q27660052 Q27146793 Q27159856 Q22956606 Q23674434 Q12872831 Q20725930 Q3500017 Q661160 Q461595 Q22132404 Q2254900 Q604617 Q22939728 Q27146762 Q27147077 Q21520147 Q22955635 Q26722120 Q27146296 Q27146511 Q747368 Q213417 Q17483961 Q812812 Q834461 Q799663 Q1342530 Q27146479 Q27146478 Q27146475 Q27146772 Q27147044 Q27147041 Q27147111 Q26722119 Q22956043 Q384639 Q750016 Q645934 Q3217856 Q1090946 Q670376 Q1107477 Q27147052 Q27147054 Q27146294 Q27147108 Q1772900 Q2177038 Q27146507 Q27146508 Q27159842 Q27147107 Q23887469 Q966632 Q15809074 Q1988831 Q957525 Q22939172 Q27146320 Q23953473 Q18171104 Q27147026 Q27147020 Q23664286 Q653772 Q27146510 Q23887753 Q22958235 Q23979109 Q23681177 Q27146516 Q721134 Q27147134 Q23663718 Q27147131 Q1395532 Q27147139 Q1723502 Q1107146 Q5461394 Q2072673 Q1265173 Q27146526 Q27146525 Q334634 Q27146522 Q27147126 Q27146520 Q27146519 Q22117386 Q27146529 Q335169 Q650855 Q23664320 Q27146543 Q22978787 Q16331496 Q22978783 Q15742001 Q27146539 Q372930 Q27146304 Q22940028 Q27146301 Q27146500 Q27147245 Q27146531 Q23900171 Q815514 Q27146788 Q2473436 Q19826622 Q23815600 Q27146307 Q22950181 Q27146496 Q27146494 Q899152 Q27146490 Q19599054 Q27146783 Q21772601 Q27146310 Q27146313 Q27146314 Q15293849 Q27146317 Q27147016 Q1270077 Q652879 Q16883477 Q491924 Q27147099 Q27147140 Q15733441 Q27146782 Q15623981 Q27146786 Q27147093
(c(Q22348500)|c(Q15991303),P1923,c(Q12973014))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
value 5
[ANSWER]
[[{'concept': 'Q22348500'}, {'concept': 'Q15991303'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?l WHERE { VALUES ( ?w ) { ( ontology:Q22348500 ) ( ontology:Q15991303 ) } . ?f rdf:type ?w } GROUP BY ?l } . FILTER ( ?s <= 5 ) }
Cheng-Tung-Panciatici Hungary national badminton team Iceland national badminton team Israel national badminton team Italy national badminton team Rebellion Racing Australia national badminton team New Zealand national badminton team Gulf Racing Suriname national badminton team Trinidad and Tobago national badminton team Northern Ireland national badminton team Sri Lanka national badminton team Jersey badminton team Lotterer-Tréluyer-Fässler ByKolles AEZ Zakakiou G-Drive Racing Strakka Racing Netherlands men's national field hockey team Atlanta Braves Manor Racing Sweden national badminton team Spain men's national field hockey team Bernhard-Webber-Hartley Brunei national badminton team Botswana national badminton team AMEK Kapsalou di Grassi-Duval-Jarvis Bulgaria national badminton team Austria national badminton team Romania national badminton team Germany men's national field hockey team New York Yankees Singapore national badminton team Be Pink Germany national badminton team GDR national badminton team England national badminton team Greenland national badminton team Greece national badminton team Gibraltar national badminton team Kazakhstan national badminton team Guatemala national badminton team Falkland Islands national badminton team Seychelles national badminton team Ireland national badminton team Toyota Gazoo Racing China national badminton team Aston Martin Racing Argentina men's national field hockey team Larbre Compétition Japan national badminton team Arizona Diamondbacks Malaysia national badminton team Jamaica national badminton team Mexico national badminton team Armenia national badminton team Morocco national badminton team Nigeria national badminton team Russia national badminton team Norway national badminton team Poland national badminton team Guernsey badminton team Mauritius national badminton team RGR Sport by Morand Taiwan national badminton team Extreme Speed Motorsports AF Corse Netherlands national badminton team Porsche Team Finland national badminton team EAS Ayios Dhometios Scotland national badminton team Chile national badminton team Barbados national badminton team Ford Chip Ganassi Team UK Pittsburgh Pirates Portugal national badminton team Abu Dhabi-Proton Racing Conway-Sarrazin-Wurz Atlas Aglandjias Signatech #36 Slovakia national badminton team San Diego Padres Fiji national badminton team Audi Sport Team Joest Zimbabwe national badminton team Thailand national badminton team Norfolk Island national badminton team Canada national badminton team Indonesia national badminton team Florida Gators football Peru national badminton team India national badminton team Wales national badminton team Turkey national badminton team Los Angeles Dodgers Switzerland national badminton team Uganda national badminton team Spain national badminton team Slovenia national badminton team UniSA-Australia 2016 Vietnam national badminton team Chicago White Sox Detroit Tigers Dempsey-Proton Racing Yugoslavia national badminton team G-Drive Racing #28 Elpida Astromeriti G-Drive Racing #26 North Korea national badminton team Czechoslovakia national badminton team United States national badminton team Belgium national badminton team Dumas-Jani-Lieb Belarus national badminton team Malta national badminton team Isle of Man national badminton team USSR national badminton team Parnassos Strovolou Belgium men's national field hockey team Pakistan national badminton team Fortec Motorsport Ukraine national badminton team France national badminton team Croatia national badminton team Davidson-Buemi-Nakajima Luxembourg national badminton team Lithuania national badminton team Brazil national badminton team Latvia national badminton team KC Motorgroup Mongolia national badminton team Thiella Dromolaxia Cyprus national badminton team Czech national badminton team Estonia national badminton team Hong Kong national badminton team Faroe Islands national badminton team Argentina national badminton team Denmark national badminton team Miami Marlins SMP Racing South Korea national badminton team Kenya national badminton team Samoa national badminton team Philippines national badminton team Maldives national badminton team South Africa national badminton team Nepal national badminton team Ghana national badminton team
152
action count
action atmost
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type cycling race class defined by the International Cycling Union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
value 5
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'association football league'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?l WHERE { VALUES ( ?w ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:association_football_league ) } . ?f rdf:type ?w } GROUP BY ?l } . FILTER ( ?s <= 5 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q1450563
P54 P27
Q502895
USER
Which people plays for France Fed Cup team and are a citizen of France ?
AND((c(Q502895),P54,Q1450563), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q1450563
relation P54
action find_reverse
entity Q142
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q1450563'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?q WHERE { ?q property:P54 resource:Q1450563 . ?q property:P27 resource:Q142 . ?q rdf:type ontology:Q502895 }
France France Fed Cup team
action filter_type
action intersection
action find_reverse
entity France Fed Cup team
relation member of sports team
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'France Fed Cup team'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?q WHERE { ?q property:member_of_sports_team resource:France_Fed_Cup_team . ?q property:country_of_citizenship resource:France . ?q rdf:type ontology:common_name }
[]
common name
Q210695 Q263134
SYSTEM
Mary Pierce, Françoise Dürr
Q210695 Q263134
AND((c(Q502895),P54,Q1450563), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q1450563
relation P54
action find_reverse
entity Q142
relation P27
type Q502895
[ANSWERS] play for France Fed Cup team and are a citizen of France
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q1450563'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?q WHERE { ?q property:P54 resource:Q1450563 . ?q property:P27 resource:Q142 . ?q rdf:type ontology:Q502895 }
Mary Pierce Françoise Dürr
Mary Pierce and Françoise Dürr play for France Fed Cup team and are a citizen of France
Mary Pierce Françoise Dürr
action filter_type
action intersection
action find_reverse
entity France Fed Cup team
relation member of sports team
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'France Fed Cup team'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?q WHERE { ?q property:member_of_sports_team resource:France_Fed_Cup_team . ?q property:country_of_citizenship resource:France . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have ambassadorial relations with France ?
(c(Q1048835),P530,Q142) (c(Q15617994),P530,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', 'Q142'] [{'concept': 'Q15617994'}, 'P530', 'Q142']
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
21
Q225 Q38 Q159 Q222 Q40 Q145 Q155 Q184 Q183 Q228 Q948 Q32 Q17 Q408 Q399 Q27 Q403 Q929 Q801 Q1011 Q711
(c(Q1048835),P530,Q142) (c(Q15617994),P530,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q142'] [{'concept': 'Q15617994'}, 'P530', 'Q142']
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Bosnia and Herzegovina Italy Russia Albania Austria United Kingdom Brazil Belarus Germany Andorra Tunisia Luxembourg Japan Australia Armenia Ireland Serbia Central African Republic Israel Cape Verde Mongolia
21
action count
action union
action filter_type
action find_reverse
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q210695
P551
Q56061
USER
Which administrative territory was Mary Pierce a resident of ?
(Q210695,P551,c(Q56061))
action filter_type
action find
entity Q210695
relation P551
type Q56061
['Q210695', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q210695 property:P551 ?k . ?k rdf:type ontology:Q56061 }
Mary Pierce
action filter_type
action find
entity Mary Pierce
relation residence
type administrative territorial entity
['Mary Pierce', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mary_Pierce property:residence ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q491540
SYSTEM
Sarasota
Q491540
(Q210695,P551,c(Q56061))
action filter_type
action find
entity Q210695
relation P551
type Q56061
The [ANSWER] was Mary Pierce a resident of
['Q210695', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q210695 property:P551 ?k . ?k rdf:type ontology:Q56061 }
Sarasota
The Sarasota was Mary Pierce a resident of
Sarasota
action filter_type
action find
entity Mary Pierce
relation residence
type administrative territorial entity
['Mary Pierce', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mary_Pierce property:residence ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q491540
P190
Q56061
USER
How many administrative territories are sister towns of Sarasota ?
(Q491540,P190,c(Q56061))
action count
action filter_type
action find
entity Q491540
relation P190
type Q56061
['Q491540', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q491540 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Sarasota
action count
action filter_type
action find
entity Sarasota
relation sister city
type administrative territorial entity
['Sarasota', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Sarasota property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q133116 Q34820
(Q491540,P190,c(Q56061))
action count
action filter_type
action find
entity Q491540
relation P190
type Q56061
[ANSWER]
['Q491540', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q491540 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Hamilton Santo Domingo
2
action count
action filter_type
action find
entity Sarasota
relation sister city
type administrative territorial entity
['Sarasota', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Sarasota property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q103209
Q56061
USER
And how about Ponsacco?
(Q103209,P190,c(Q56061))
action count
action filter_type
action find
entity Q103209
relation P190
type Q56061
['Q103209', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q103209 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Ponsacco
action count
action filter_type
action find
entity Ponsacco
relation sister city
type administrative territorial entity
['Ponsacco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Ponsacco property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
(Q103209,P190,c(Q56061))
action count
action filter_type
action find
entity Q103209
relation P190
type Q56061
[ANSWER]
['Q103209', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q103209 property:P190 ?a . ?a rdf:type ontology:Q56061 }
2
action count
action filter_type
action find
entity Ponsacco
relation sister city
type administrative territorial entity
['Ponsacco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Ponsacco property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q491540
P190
Q20667921 Q56061
USER
How many french administrative divisions and administrative territories are sister towns of Sarasota ?
(Q491540,P190,c(Q20667921)) (Q491540,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q491540
relation P190
type Q20667921
action filter_type
action find
entity Q491540
relation P190
type Q56061
['Q491540', 'P190', {'concept': 'Q20667921'}] ['Q491540', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } }
Sarasota
action count
action union
action filter_type
action find
entity Sarasota
relation sister city
type type of french administrative division
action filter_type
action find
entity Sarasota
relation sister city
type administrative territorial entity
['Sarasota', 'sister city', {'concept': 'type of french administrative division'}] ['Sarasota', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } }
[]
type of french administrative division administrative territorial entity
SYSTEM
1 french administrative divisions and 2 administrative territories
Q34820 Q133116 Q6730
(Q491540,P190,c(Q20667921)) (Q491540,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q491540
relation P190
type Q20667921
action filter_type
action find
entity Q491540
relation P190
type Q56061
[ANSWER]
['Q491540', 'P190', {'concept': 'Q20667921'}] ['Q491540', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } }
Santo Domingo Hamilton Perpignan
1 french administrative divisions and 2 administrative territories
action count
action union
action filter_type
action find
entity Sarasota
relation sister city
type type of french administrative division
action filter_type
action find
entity Sarasota
relation sister city
type administrative territorial entity
['Sarasota', 'sister city', {'concept': 'type of french administrative division'}] ['Sarasota', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q491540
P740
Q2088357
USER
What were formed at that administrative territory ?
action filter_type
action find_reverse
entity Q491540
relation P740
type Q2088357
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q491540 . ?r rdf:type ontology:Q2088357 }
Sarasota
action filter_type
action find_reverse
entity Sarasota
relation location of formation
type musical ensemble
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:Sarasota . ?r rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7562316 Q1584594 Q7735808
SYSTEM
Sons of Hippies, Burden of a Day, The Garbage-Men
Q7562316 Q7735808 Q5648066 Q7457523 Q1584594
action filter_type
action find_reverse
entity Q491540
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q491540 . ?r rdf:type ontology:Q2088357 }
Sons of Hippies The Garbage-Men Hangman Jury Seven Years Past Burden of a Day
Sons of Hippies, Burden of a Day and The Garbage-Men were formed at that administrative territory
Sons of Hippies Burden of a Day The Garbage-Men
action filter_type
action find_reverse
entity Sarasota
relation location of formation
type musical ensemble
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:Sarasota . ?r rdf:type ontology:musical_ensemble }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q491540
P495 P740
Q2088357
USER
Which musical ensembles originated at Sarasota and are United States of America a country of origin of ?
AND((c(Q2088357),P740,Q491540), (c(Q2088357),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q491540
relation P740
action find_reverse
entity Q30
relation P495
type Q2088357
{'AND': [[{'concept': 'Q2088357'}, 'P740', 'Q491540'], [{'concept': 'Q2088357'}, 'P495', 'Q30']]}
SELECT DISTINCT ?g WHERE { ?g property:P495 resource:Q30 . ?g property:P740 resource:Q491540 . ?g rdf:type ontology:Q2088357 }
United States of America Sarasota
action filter_type
action intersection
action find_reverse
entity Sarasota
relation location of formation
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
{'AND': [[{'concept': 'musical ensemble'}, 'location of formation', 'Sarasota'], [{'concept': 'musical ensemble'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_origin resource:United_States_of_America . ?g property:location_of_formation resource:Sarasota . ?g rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7562316 Q7457523 Q1584594 Q5648066 Q7735808
SYSTEM
Sons of Hippies, Seven Years Past, Burden of a Day, Hangman Jury, The Garbage-Men
Q7562316 Q7457523 Q1584594 Q5648066 Q7735808
AND((c(Q2088357),P740,Q491540), (c(Q2088357),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q491540
relation P740
action find_reverse
entity Q30
relation P495
type Q2088357
[ANSWERS] originated at Sarasota and are United States of America a country of origin of
{'AND': [[{'concept': 'Q2088357'}, 'P740', 'Q491540'], [{'concept': 'Q2088357'}, 'P495', 'Q30']]}
SELECT DISTINCT ?g WHERE { ?g property:P495 resource:Q30 . ?g property:P740 resource:Q491540 . ?g rdf:type ontology:Q2088357 }
Sons of Hippies Seven Years Past Burden of a Day Hangman Jury The Garbage-Men
Sons of Hippies, Seven Years Past, Burden of a Day, Hangman Jury and The Garbage-Men originated at Sarasota and are United States of America a country of origin of
Sons of Hippies Seven Years Past Burden of a Day Hangman Jury The Garbage-Men
action filter_type
action intersection
action find_reverse
entity Sarasota
relation location of formation
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
{'AND': [[{'concept': 'musical ensemble'}, 'location of formation', 'Sarasota'], [{'concept': 'musical ensemble'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_origin resource:United_States_of_America . ?g property:location_of_formation resource:Sarasota . ?g rdf:type ontology:musical_ensemble }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P495
Q15617994
USER
How many administrative territories are the countries of origin of that musical ensemble ?
(Q7735808,P495,c(Q15617994))
['Q7735808', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7735808 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
['The Garbage-Men', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Garbage-Men property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q7735808
SYSTEM
Did you mean The Garbage-Men ?
(Q7562316,P495,c(Q15617994)) (Q7457523,P495,c(Q15617994)) (Q1584594,P495,c(Q15617994)) (Q5648066,P495,c(Q15617994)) (Q7735808,P495,c(Q15617994))
[ANSWER]
['Q7562316', 'P495', {'concept': 'Q15617994'}] ['Q7457523', 'P495', {'concept': 'Q15617994'}] ['Q1584594', 'P495', {'concept': 'Q15617994'}] ['Q5648066', 'P495', {'concept': 'Q15617994'}] ['Q7735808', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7735808 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean The Garbage-Men ?
The Garbage-Men
['Sons of Hippies', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Seven Years Past', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Burden of a Day', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Hangman Jury', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Garbage-Men', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Garbage-Men property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q7735808,P495,c(Q15617994))
['Q7735808', 'P495', {'concept': 'Q15617994'}]
['The Garbage-Men', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q7735808,P495,c(Q15617994))
[ANSWER]
['Q7735808', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7735808 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['The Garbage-Men', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Garbage-Men property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q948442 Q210695
P664 P1346
Q2312410
USER
Which sport disciplines were won by Mary Pierce or were organized by Women's Tennis Association ?
OR((c(Q2312410),P1346,Q210695), (c(Q2312410),P664,Q948442))
action filter_type
action union
action find_reverse
entity Q210695
relation P1346
action find_reverse
entity Q948442
relation P664
type Q2312410
{'OR': [[{'concept': 'Q2312410'}, 'P1346', 'Q210695'], [{'concept': 'Q2312410'}, 'P664', 'Q948442']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P1346 resource:Q210695 } UNION { ?g property:P664 resource:Q948442 } } . ?g rdf:type ontology:Q2312410 }
Women's Tennis Association Mary Pierce
action filter_type
action union
action find_reverse
entity Mary Pierce
relation winner
action find_reverse
entity Women's Tennis Association
relation organizer
type sport discipline
{'OR': [[{'concept': 'sport discipline'}, 'winner', 'Mary Pierce'], [{'concept': 'sport discipline'}, 'organizer', "Women's Tennis Association"]]}
SELECT DISTINCT ?g WHERE { { { ?g property:winner resource:Mary_Pierce } UNION { ?g property:organizer resource:Women's_Tennis_Association } } . ?g rdf:type ontology:sport_discipline }
[]
sport discipline
Q24699203 Q10745133 Q23777932 Q19794269 Q1415699 Q17252764 Q20981205 Q24304351 Q23702860 Q14339900
SYSTEM
Some of them are 2016 Aegon International Eastbourne – Doubles, 2013 BNP Paribas Katowice Open – Singles, 2016 Copa Colsanitas – Doubles, 2015 Copa Colsanitas – Singles, 2012 Citi Open – Women's Doubles, 2014 Aegon International – Women's Doubles, 2015 Citi Open – Women's Singles, 2016 Ricoh Open – Women's Singles, 2016 Katowice Open – Doubles, 2013 Citi Open – Women's Singles
Q18129666 Q3674915 Q3634817 Q19404575 Q2015193 Q23902453 Q20981205 Q19363453 Q20127812 Q3674917 Q18324280 Q16138059 Q3509020 Q20050897 Q23777932 Q19829572 Q1415699 Q18207598 Q19753480 Q17195722 Q14339900 Q23702860 Q2470900 Q19960663 Q17150205 Q19921067 Q18123828 Q24331922 Q3807258 Q3678274 Q23681201 Q3678272 Q24699090 Q19833476 Q10745133 Q18920446 Q24699203 Q13476838 Q421548 Q10745138 Q4001747 Q3634818 Q13476857 Q21041581 Q3674921 Q20747420 Q23844459 Q25927241 Q19799251 Q19794269 Q20197522 Q22962811 Q14948863 Q24304351 Q919066 Q16992711 Q20051646 Q22975438 Q21036081 Q14954613 Q19058045 Q17203192 Q1068835 Q851636 Q19753399 Q25909259 Q17252764 Q19759645 Q16138081 Q782040 Q3908610 Q19758575 Q14340213 Q23867771 Q23774404
OR((c(Q2312410),P1346,Q210695), (c(Q2312410),P664,Q948442))
action filter_type
action union
action find_reverse
entity Q210695
relation P1346
action find_reverse
entity Q948442
relation P664
type Q2312410
[ANSWERS] were won by Mary Pierce or were organized by Women's Tennis Association
{'OR': [[{'concept': 'Q2312410'}, 'P1346', 'Q210695'], [{'concept': 'Q2312410'}, 'P664', 'Q948442']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P1346 resource:Q210695 } UNION { ?g property:P664 resource:Q948442 } } . ?g rdf:type ontology:Q2312410 }
2014 China Open – Women's Doubles 2007 China Open – Women's Doubles 2007 Barcelona KIA – Doubles 2015 Monterrey Open – Doubles 2011 Legg Mason Tennis Classic – Doubles 2016 Grand Prix SAR La Princesse Lalla Meryem – Singles 2015 Citi Open – Women's Singles 2015 Monterrey Open – Singles 2015 Aegon International – Singles 2007 China Open – Women's Singles 2014 Kremlin Cup – Women's Doubles 2014 BNP Paribas Katowice Open – Singles 2008 China Open – Women's Singles 2015 Topshelf Open – Women's Singles 2016 Copa Colsanitas – Doubles 2015 Grand Prix SAR La Princesse Lalla Meryem – Singles 2012 Citi Open – Women's Doubles 2014 Kremlin Cup – Women's Singles 2015 Katowice Open – Singles 2014 Topshelf Open – Women's Doubles 2013 Citi Open – Women's Singles 2016 Katowice Open – Doubles 2011 Legg Mason Tennis Classic – Singles 2015 Internationaux de Strasbourg – Doubles 2014 Aegon International – Women's Singles 2015 Internationaux de Strasbourg – Singles 2014 China Open – Women's Singles 2016 Ricoh Open – Women's Doubles 2005 AIG Japan Open Tennis Championships – Women's Singles 2011 Citi Open – Singles 2016 Katowice Open – Singles 2011 Citi Open – Doubles 2016 Aegon International Eastbourne – Singles 2015 Grand Prix SAR La Princesse Lalla Meryem – Doubles 2013 BNP Paribas Katowice Open – Singles 2015 Diamond Games – Singles 2016 Aegon International Eastbourne – Doubles 2013 Topshelf Open – Women's Singles 2012 Citi Open – Men's Singles 2013 BNP Paribas Katowice Open – Doubles 1989 U.S. Women's Hard Court Championships – Doubles 2007 Barcelona KIA – Singles 2013 Topshelf Open – Women's Doubles 2015 China Open – Women's Doubles 2008 China Open – Women's Doubles 2015 Citi Open – Women's Doubles 2016 İstanbul Cup – Singles 2016 Citi Open – Women's Doubles 2015 Copa Colsanitas – Doubles 2015 Copa Colsanitas – Singles 2015 Aegon International – Doubles 2016 Monterrey Open – Singles 2013 China Open – Women's Singles 2016 Ricoh Open – Women's Singles 2012 Kremlin Cup – Women's Singles 1999 Generali Ladies Linz – Singles 2015 Topshelf Open – Women's Doubles 2016 Monterrey Open – Doubles 2015 China Open – Women's Singles 2013 China Open – Women's Doubles 2015 Diamond Games – Doubles 2014 Topshelf Open – Women's Singles 2000 French Open – Women's Singles 2012 Citi Open – Women's Singles 2015 Family Circle Cup – Singles 2016 Citi Open – Women's Singles 2014 Aegon International – Women's Doubles 2015 Family Circle Cup – Doubles 2014 BNP Paribas Katowice Open – Doubles 1995 Australian Open – Women's Singles 1996 Porsche Tennis Grand Prix – Doubles 2015 Katowice Open – Doubles 2013 Citi Open – Women's Doubles 2016 İstanbul Cup – Doubles 2016 Copa Colsanitas – Singles
2016 Aegon International Eastbourne – Doubles, 2013 BNP Paribas Katowice Open – Singles, 2016 Copa Colsanitas – Doubles, 2015 Copa Colsanitas – Singles, 2012 Citi Open – Women's Doubles, 2014 Aegon International – Women's Doubles, 2015 Citi Open – Women's Singles, 2016 Ricoh Open – Women's Singles, 2016 Katowice Open – Doubles and 2013 Citi Open – Women's Singles were won by Mary Pierce or were organized by Women's Tennis Association
2016 Aegon International Eastbourne – Doubles 2013 BNP Paribas Katowice Open – Singles 2016 Copa Colsanitas – Doubles 2015 Copa Colsanitas – Singles 2012 Citi Open – Women's Doubles 2014 Aegon International – Women's Doubles 2015 Citi Open – Women's Singles 2016 Ricoh Open – Women's Singles 2016 Katowice Open – Doubles 2013 Citi Open – Women's Singles
action filter_type
action union
action find_reverse
entity Mary Pierce
relation winner
action find_reverse
entity Women's Tennis Association
relation organizer
type sport discipline
{'OR': [[{'concept': 'sport discipline'}, 'winner', 'Mary Pierce'], [{'concept': 'sport discipline'}, 'organizer', "Women's Tennis Association"]]}
SELECT DISTINCT ?g WHERE { { { ?g property:winner resource:Mary_Pierce } UNION { ?g property:organizer resource:Women's_Tennis_Association } } . ?g rdf:type ontology:sport_discipline }
[]