Simple Question (Direct)
Simple Question
Q20090546
P641
Q349
USER
What was the sport that Daniel Godoy was a part of ?
(Q20090546,P641,c(Q349))
action filter_type
action find
entity Q20090546
relation P641
type Q349
['Q20090546', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q20090546 property:P641 ?k . ?k rdf:type ontology:Q349 }
Daniel Godoy
action filter_type
action find
entity Daniel Godoy
relation sport
type sport
['Daniel Godoy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Godoy property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q20090546,P641,c(Q349))
action filter_type
action find
entity Q20090546
relation P641
type Q349
The sport that Daniel Godoy was a part of was the [ANSWER]
['Q20090546', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q20090546 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
The sport that Daniel Godoy was a part of was the association football
association football
action filter_type
action find
entity Daniel Godoy
relation sport
type sport
['Daniel Godoy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Godoy property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20090546
P54
Q12973014
USER
What is that person a member of ?
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q20090546
relation P54
type Q12973014
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q20090546 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Daniel Godoy
action filter_type
action find
entity Daniel Godoy
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Daniel_Godoy property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
sports team
Q18151494
SYSTEM
Miami Dade FC
Q18151494
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q20090546
relation P54
type Q12973014
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q20090546 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Miami Dade FC
That person a member of is the Miami Dade FC
Miami Dade FC
action filter_type
action find
entity Daniel Godoy
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Daniel_Godoy property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P54
Q502895
USER
How many people are a member of that sports team ?
(c(Q502895),P54,Q18151494)
action count
action filter_type
action find_reverse
entity Q18151494
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q18151494']
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { ?k rdf:type ontology:Q502895 . ?k property:P54 resource:Q18151494 }
action count
action filter_type
action find_reverse
entity Miami Dade FC
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Miami Dade FC']
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { ?k rdf:type ontology:common_name . ?k property:member_of_sports_team resource:Miami_Dade_FC }
[]
common name
SYSTEM
18
Q667711 Q17113023 Q3938900 Q5274818 Q20090546 Q17037443 Q17037473 Q17015078 Q7155117 Q2931622 Q17078121 Q17015123 Q662464 Q313580 Q5239481 Q17084602 Q5642316 Q17183582
(c(Q502895),P54,Q18151494)
action count
action filter_type
action find_reverse
entity Q18151494
relation P54
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P54', 'Q18151494']
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { ?k rdf:type ontology:Q502895 . ?k property:P54 resource:Q18151494 }
Bryan Arguez Mario Braga Roberto Linck Diego Serna Daniel Godoy Ezequiel Manzano Kaique Negri Tiago Fernandes Sousa Paulinho Le Petit Marcelo Moretto Adrien Sathler Joao Guilherme Garcia Rodrigo Alvim Kerlon David Santamaria Gabriel Hoyos Halili Nagime Rafael Porto
18
action count
action filter_type
action find_reverse
entity Miami Dade FC
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Miami Dade FC']
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { ?k rdf:type ontology:common_name . ?k property:member_of_sports_team resource:Miami_Dade_FC }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18151494
P17
Q15617994
USER
Which administrative territory does Miami Dade FC belong to ?
(Q18151494,P17,c(Q15617994))
action filter_type
action find
entity Q18151494
relation P17
type Q15617994
['Q18151494', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q18151494 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Miami Dade FC
action filter_type
action find
entity Miami Dade FC
relation country
type designation for an administrative territorial entity
['Miami Dade FC', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Miami_Dade_FC property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q18151494,P17,c(Q15617994))
action filter_type
action find
entity Q18151494
relation P17
type Q15617994
Miami Dade FC belongs to [ANSWER]
['Q18151494', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q18151494 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
Miami Dade FC belongs to United States of America
United States of America
action filter_type
action find
entity Miami Dade FC
relation country
type designation for an administrative territorial entity
['Miami Dade FC', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Miami_Dade_FC property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20090546
P27
Q15617994
USER
Which administrative territory is Daniel Godoy an inhabitant of ?
(Q20090546,P27,c(Q15617994))
action filter_type
action find
entity Q20090546
relation P27
type Q15617994
['Q20090546', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q20090546 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Daniel Godoy
action filter_type
action find
entity Daniel Godoy
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Godoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Daniel_Godoy property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q717
SYSTEM
Venezuela
Q717
(Q20090546,P27,c(Q15617994))
action filter_type
action find
entity Q20090546
relation P27
type Q15617994
The [ANSWER] is Daniel Godoy an inhabitant of
['Q20090546', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q20090546 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Venezuela
The Venezuela is Daniel Godoy an inhabitant of
Venezuela
action filter_type
action find
entity Daniel Godoy
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Godoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Daniel_Godoy property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3693322
Q15617994
USER
And what about Coralina Cataldi-Tassoni?
(Q3693322,P27,c(Q15617994))
action filter_type
action find
entity Q3693322
relation P27
type Q15617994
['Q3693322', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3693322 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Coralina Cataldi-Tassoni
action filter_type
action find
entity Coralina Cataldi-Tassoni
relation country of citizenship
type designation for an administrative territorial entity
['Coralina Cataldi-Tassoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Coralina_Cataldi-Tassoni property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q38
SYSTEM
United States of America, Italy
Q30 Q38
(Q3693322,P27,c(Q15617994))
action filter_type
action find
entity Q3693322
relation P27
type Q15617994
[ANSWERS]
['Q3693322', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3693322 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America Italy
United States of America Italy
action filter_type
action find
entity Coralina Cataldi-Tassoni
relation country of citizenship
type designation for an administrative territorial entity
['Coralina Cataldi-Tassoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Coralina_Cataldi-Tassoni property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q38
P740
Q43229
USER
What were formed at United States of America and Italy ?
(c(Q43229),P740,Q30) (c(Q43229),P740,Q38)
action union
action filter_type
action find_reverse
entity Q30
relation P740
type Q43229
action filter_type
action find_reverse
entity Q38
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q30'] [{'concept': 'Q43229'}, 'P740', 'Q38']
SELECT DISTINCT ?y WHERE { { ?y property:P740 resource:Q30 . ?y rdf:type ontology:Q43229 } UNION { ?y property:P740 resource:Q38 . ?y rdf:type ontology:Q43229 } }
United States of America Italy
action union
action filter_type
action find_reverse
entity United States of America
relation location of formation
type organization
action filter_type
action find_reverse
entity Italy
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'United States of America'] [{'concept': 'organization'}, 'location of formation', 'Italy']
SELECT DISTINCT ?y WHERE { { ?y property:location_of_formation resource:United_States_of_America . ?y rdf:type ontology:organization } UNION { ?y property:location_of_formation resource:Italy . ?y rdf:type ontology:organization } }
[]
organization
Q734338 Q6772151 Q2648305
SYSTEM
Verisign, Marmon Group, Allen-Bradley
Q15995297 Q5500667 Q6862278 Q3493657 Q5038187 Q7577594 Q734338 Q7317760 Q7863282 Q6795483 Q6772151 Q191458 Q8045063 Q19359741 Q2648305 Q1075788 Q6546492 Q3504397 Q388180 Q5533825 Q7897909 Q7200860 Q7389913 Q858370 Q7310949 Q5436998 Q5065249 Q4896350 Q5266106 Q4777233 Q17030179 Q17153839
(c(Q43229),P740,Q30) (c(Q43229),P740,Q38)
action union
action filter_type
action find_reverse
entity Q30
relation P740
type Q43229
action filter_type
action find_reverse
entity Q38
relation P740
type Q43229
[ANSWERS] were formed at United States of America and Italy
[{'concept': 'Q43229'}, 'P740', 'Q30'] [{'concept': 'Q43229'}, 'P740', 'Q38']
SELECT DISTINCT ?y WHERE { { ?y property:P740 resource:Q30 . ?y rdf:type ontology:Q43229 } UNION { ?y property:P740 resource:Q38 . ?y rdf:type ontology:Q43229 } }
PlayOn Freedom Yachts Mimobot Splashdown CardRunners Spinner Verisign Revcube U.S. Polo Assn. Maxfli Marmon Group Entertainment Software Rating Board XtreamLok Nowsecure Allen-Bradley Choice Hotels Lightningcast Avirex Premier Rides Genuitec Up4Sale PlanGrid SE Electronics BigChampagne Relegence Fast Track Certified Treasury Professional Bespoke Collection DeucesCracked Antony Morato Vero Software WeWOOD
Verisign, Marmon Group and Allen-Bradley were formed at United States of America and Italy
Verisign Marmon Group Allen-Bradley
action union
action filter_type
action find_reverse
entity United States of America
relation location of formation
type organization
action filter_type
action find_reverse
entity Italy
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'United States of America'] [{'concept': 'organization'}, 'location of formation', 'Italy']
SELECT DISTINCT ?y WHERE { { ?y property:location_of_formation resource:United_States_of_America . ?y rdf:type ontology:organization } UNION { ?y property:location_of_formation resource:Italy . ?y rdf:type ontology:organization } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20788799
P21
Q290
USER
What is the sex of Dick Warwick ?
(Q20788799,P21,c(Q290))
action filter_type
action find
entity Q20788799
relation P21
type Q290
['Q20788799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q20788799 property:P21 ?d . ?d rdf:type ontology:Q290 }
Dick Warwick
action filter_type
action find
entity Dick Warwick
relation gender
type sex
['Dick Warwick', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Dick_Warwick property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20788799,P21,c(Q290))
action filter_type
action find
entity Q20788799
relation P21
type Q290
The sex of Dick Warwick is a [ANSWER]
['Q20788799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q20788799 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of Dick Warwick is a male
male
action filter_type
action find
entity Dick Warwick
relation gender
type sex
['Dick Warwick', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Dick_Warwick property:gender ?d . ?d rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P21
Q11422 Q40231
USER
How many toys and elections are a that sex ?
(c(Q11422),P21,Q6581097) (c(Q40231),P21,Q6581097) (c(Q11422),P21,Q6581097) (c(Q40231),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q11422
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q40231
[{'concept': 'Q11422'}, 'P21', 'Q6581097'] [{'concept': 'Q40231'}, 'P21', 'Q6581097'] [{'concept': 'Q11422'}, 'P21', 'Q6581097'] [{'concept': 'Q40231'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { VALUES ( ?z ) { ( ontology:Q11422 ) ( ontology:Q40231 ) } . ?x rdf:type ?z }
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type toy
action filter_type
action find_reverse
entity male
relation gender
type election
[{'concept': 'toy'}, 'gender', 'male'] [{'concept': 'election'}, 'gender', 'male'] [{'concept': 'toy'}, 'gender', 'male'] [{'concept': 'election'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { VALUES ( ?z ) { ( ontology:toy ) ( ontology:election ) } . ?x rdf:type ?z }
[]
toy election
SYSTEM
2 toys and 1 elections
Q2050852 Q4501942 Q16953733
(c(Q11422),P21,Q6581097) (c(Q40231),P21,Q6581097) (c(Q11422),P21,Q6581097) (c(Q40231),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q11422
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q40231
[ANSWER]
[{'concept': 'Q11422'}, 'P21', 'Q6581097'] [{'concept': 'Q40231'}, 'P21', 'Q6581097'] [{'concept': 'Q11422'}, 'P21', 'Q6581097'] [{'concept': 'Q40231'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { VALUES ( ?z ) { ( ontology:Q11422 ) ( ontology:Q40231 ) } . ?x rdf:type ?z }
Billy Hrusha Brighton by-election, 1905
2 toys and 1 elections
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type toy
action filter_type
action find_reverse
entity male
relation gender
type election
[{'concept': 'toy'}, 'gender', 'male'] [{'concept': 'election'}, 'gender', 'male'] [{'concept': 'toy'}, 'gender', 'male'] [{'concept': 'election'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { VALUES ( ?z ) { ( ontology:toy ) ( ontology:election ) } . ?x rdf:type ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P414
Q43229 Q1269299 Q43229
USER
Which organizations are around 29 business organizations or organizations traded at ?
(c(Q1269299)|c(Q43229),P414,c(Q43229))
action approx
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
value 29
[[{'concept': 'Q1269299'}, {'concept': 'Q43229'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c = 29 ) . { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:P414 ?o . ?o rdf:type ontology:Q43229 . ?v rdf:type ontology:Q1269299 } UNION { ?o rdf:type ontology:Q43229 . ?v rdf:type ontology:Q43229 . ?v property:P414 ?o } } GROUP BY ?o } }
action approx
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
value 29
[[{'concept': 'type of business entity'}, {'concept': 'organization'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c = 29 ) . { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:stock_exchange ?o . ?o rdf:type ontology:organization . ?v rdf:type ontology:type_of_business_entity } UNION { ?o rdf:type ontology:organization . ?v rdf:type ontology:organization . ?v property:stock_exchange ?o } } GROUP BY ?o } }
[]
organization type of business entity organization
Q936563 Q1320224 Q13683
SYSTEM
Borsa Italiana, Osaka Exchange, NYSE Euronext
Q1391676 Q495372 Q1661737 Q1930860 Q732670 Q2888321 Q140388 Q1973019 Q936563 Q1132158 Q891559 Q698535 Q609159 Q1320224 Q8250595 Q13683 Q627019 Q3642744
(c(Q1269299)|c(Q43229),P414,c(Q43229))
action approx
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
value 29
[ANSWERS] are around 29 business organizations or organizations traded at
[[{'concept': 'Q1269299'}, {'concept': 'Q43229'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c = 29 ) . { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:P414 ?o . ?o rdf:type ontology:Q43229 . ?v rdf:type ontology:Q1269299 } UNION { ?o rdf:type ontology:Q43229 . ?v rdf:type ontology:Q43229 . ?v property:P414 ?o } } GROUP BY ?o } }
OTC Bulletin Board Korea Exchange Indonesia Stock Exchange OTC Markets Group Australian Securities Exchange Cyprus Stock Exchange Zagreb Stock Exchange Dubai Financial Market Borsa Italiana Nasdaq Nordic Mexican Stock Exchange Wiener Börse Bolsas y Mercados Españoles Osaka Exchange Bolsa de Valores y Productos de Asunción NYSE Euronext New Zealand Exchange Stock Exchange in Milano
Borsa Italiana, Osaka Exchange and NYSE Euronext are around 29 business organizations or organizations traded at
Borsa Italiana Osaka Exchange NYSE Euronext
action approx
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
value 29
[[{'concept': 'type of business entity'}, {'concept': 'organization'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c = 29 ) . { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:stock_exchange ?o . ?o rdf:type ontology:organization . ?v rdf:type ontology:type_of_business_entity } UNION { ?o rdf:type ontology:organization . ?v rdf:type ontology:organization . ?v property:stock_exchange ?o } } GROUP BY ?o } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q116207 Q20090546
P19 P20
Q515
USER
Which cities were Daniel Godoy born at and did Carlos Morocho Hernández die ?
AND((Q20090546,P19,c(Q515)), (Q116207,P20,c(Q515)))
action filter_type
action intersection
action find
entity Q20090546
relation P19
action find
entity Q116207
relation P20
type Q515
{'AND': [['Q20090546', 'P19', {'concept': 'Q515'}], ['Q116207', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . resource:Q20090546 property:P19 ?n . resource:Q116207 property:P20 ?n }
Carlos Morocho Hernández Daniel Godoy
action filter_type
action intersection
action find
entity Daniel Godoy
relation place of birth
action find
entity Carlos Morocho Hernández
relation place of death
type city
{'AND': [['Daniel Godoy', 'place of birth', {'concept': 'city'}], ['Carlos Morocho Hernández', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . resource:Daniel_Godoy property:place_of_birth ?n . resource:Carlos_Morocho_Hernández property:place_of_death ?n }
[]
city
Q1533
SYSTEM
Caracas
Q1533
AND((Q20090546,P19,c(Q515)), (Q116207,P20,c(Q515)))
action filter_type
action intersection
action find
entity Q20090546
relation P19
action find
entity Q116207
relation P20
type Q515
Daniel Godoy were born die stad [ANSWER]
{'AND': [['Q20090546', 'P19', {'concept': 'Q515'}], ['Q116207', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . resource:Q20090546 property:P19 ?n . resource:Q116207 property:P20 ?n }
Caracas
Daniel Godoy were born die stad Caracas
Caracas
action filter_type
action intersection
action find
entity Daniel Godoy
relation place of birth
action find
entity Carlos Morocho Hernández
relation place of death
type city
{'AND': [['Daniel Godoy', 'place of birth', {'concept': 'city'}], ['Carlos Morocho Hernández', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . resource:Daniel_Godoy property:place_of_birth ?n . resource:Carlos_Morocho_Hernández property:place_of_death ?n }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2471415 Q38
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy or are Royal Theater Heerlen a part of ?
OR((Q38,P530,c(Q15617994)), (Q2471415,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q2471415
relation P17
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q2471415', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q38 property:P530 ?u } UNION { resource:Q2471415 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Royal Theater Heerlen Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Royal Theater Heerlen
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Royal Theater Heerlen', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Italy property:diplomatic_relation ?u } UNION { resource:Royal_Theater_Heerlen property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q403 Q794 Q36 Q218 Q229 Q28 Q801 Q881 Q238
SYSTEM
Some of them are Ukraine, Serbia, Iran, Poland, Romania, Cyprus, Hungary, Israel, Vietnam, San Marino
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q2471415,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q2471415
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Italy or are Royal Theater Heerlen a part of
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q2471415', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q38 property:P530 ?u } UNION { resource:Q2471415 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Ukraine, Serbia, Iran, Poland, Romania, Cyprus, Hungary, Israel, Vietnam and San Marino hold diplomatic relationship with Italy or are Royal Theater Heerlen a part of
Ukraine Serbia Iran Poland Romania Cyprus Hungary Israel Vietnam San Marino
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Royal Theater Heerlen
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Royal Theater Heerlen', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Italy property:diplomatic_relation ?u } UNION { resource:Royal_Theater_Heerlen property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q337567 Q15617994
USER
How many administrative territories are located next to around 4 bodies of water and still waterss ?
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
value 4
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?z ) WHERE { { ?g property:P206 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15324 } UNION { ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q337567 . ?g property:P206 ?k } } GROUP BY ?g } . FILTER ( ?z = 4 ) }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?z ) WHERE { { ?g property:located_next_to_body_of_water ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:body_of_water } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:still_waters . ?g property:located_next_to_body_of_water ?k } } GROUP BY ?g } . FILTER ( ?z = 4 ) }
[]
body of water still waters designation for an administrative territorial entity
SYSTEM
1
Q884
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
value 4
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?z ) WHERE { { ?g property:P206 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15324 } UNION { ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q337567 . ?g property:P206 ?k } } GROUP BY ?g } . FILTER ( ?z = 4 ) }
South Korea
1
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?z ) WHERE { { ?g property:located_next_to_body_of_water ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:body_of_water } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:still_waters . ?g property:located_next_to_body_of_water ?k } } GROUP BY ?g } . FILTER ( ?z = 4 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q34932 Q1533
P190
Q515
USER
Which cities are the sister cities of Caracas or Brisbane ?
OR((Q1533,P190,c(Q515)), (Q34932,P190,c(Q515)))
action filter_type
action union
action find
entity Q1533
relation P190
action find
entity Q34932
relation P190
type Q515
{'OR': [['Q1533', 'P190', {'concept': 'Q515'}], ['Q34932', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q34932 property:P190 ?x } UNION { resource:Q1533 property:P190 ?x } } . ?x rdf:type ontology:Q515 }
Brisbane Caracas
action filter_type
action union
action find
entity Caracas
relation sister city
action find
entity Brisbane
relation sister city
type city
{'OR': [['Caracas', 'sister city', {'concept': 'city'}], ['Brisbane', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Brisbane property:sister_city ?x } UNION { resource:Caracas property:sister_city ?x } } . ?x rdf:type ontology:city }
[]
city
Q20921 Q1519 Q485581 Q3616 Q47916 Q11725
SYSTEM
Daejeon, Abu Dhabi, Aveiro, Tehran, Lucknow, Chongqing
Q20921 Q1519 Q485581 Q3616 Q47916 Q11725
OR((Q1533,P190,c(Q515)), (Q34932,P190,c(Q515)))
action filter_type
action union
action find
entity Q1533
relation P190
action find
entity Q34932
relation P190
type Q515
[ANSWERS] are the sister cities of Caracas or Brisbane
{'OR': [['Q1533', 'P190', {'concept': 'Q515'}], ['Q34932', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q34932 property:P190 ?x } UNION { resource:Q1533 property:P190 ?x } } . ?x rdf:type ontology:Q515 }
Daejeon Abu Dhabi Aveiro Tehran Lucknow Chongqing
Daejeon, Abu Dhabi, Aveiro, Tehran, Lucknow and Chongqing are the sister cities of Caracas or Brisbane
Daejeon Abu Dhabi Aveiro Tehran Lucknow Chongqing
action filter_type
action union
action find
entity Caracas
relation sister city
action find
entity Brisbane
relation sister city
type city
{'OR': [['Caracas', 'sister city', {'concept': 'city'}], ['Brisbane', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Brisbane property:sister_city ?x } UNION { resource:Caracas property:sister_city ?x } } . ?x rdf:type ontology:city }
[]