Simple Question (Direct)
Simple Question
Q3932455
P21
Q290
USER
Which sex does Remo Bianco have ?
(Q3932455,P21,c(Q290))
action filter_type
action find
entity Q3932455
relation P21
type Q290
['Q3932455', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3932455 property:P21 ?i . ?i rdf:type ontology:Q290 }
Remo Bianco
action filter_type
action find
entity Remo Bianco
relation gender
type sex
['Remo Bianco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Remo_Bianco property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3932455,P21,c(Q290))
action filter_type
action find
entity Q3932455
relation P21
type Q290
Remo Bianco has a [ANSWER]
['Q3932455', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3932455 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Remo Bianco has a male
male
action filter_type
action find
entity Remo Bianco
relation gender
type sex
['Remo Bianco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Remo_Bianco property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3932455
P69
Q3914
USER
Which school is Remo Bianco an alumni of ?
(Q3932455,P69,c(Q3914))
action filter_type
action find
entity Q3932455
relation P69
type Q3914
['Q3932455', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q3932455 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Remo Bianco
action filter_type
action find
entity Remo Bianco
relation educated at
type school
['Remo Bianco', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:Remo_Bianco property:educated_at ?v . ?v rdf:type ontology:school }
[]
school
Q338472
SYSTEM
Brera Academy
Q338472
(Q3932455,P69,c(Q3914))
action filter_type
action find
entity Q3932455
relation P69
type Q3914
[ANSWER] is Remo Bianco an alumni of
['Q3932455', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q3932455 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Brera Academy
Brera Academy is Remo Bianco an alumni of
Brera Academy
action filter_type
action find
entity Remo Bianco
relation educated at
type school
['Remo Bianco', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:Remo_Bianco property:educated_at ?v . ?v rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q338472
P17
Q15617994
USER
Which administrative territory is that school present in ?
(Q338472,P17,c(Q15617994))
action filter_type
action find
entity Q338472
relation P17
type Q15617994
['Q338472', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q338472 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Brera Academy
action filter_type
action find
entity Brera Academy
relation country
type designation for an administrative territorial entity
['Brera Academy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Brera_Academy property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q338472,P17,c(Q15617994))
action filter_type
action find
entity Q338472
relation P17
type Q15617994
That school is in [ANSWER]
['Q338472', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q338472 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Italy
That school is in Italy
Italy
action filter_type
action find
entity Brera Academy
relation country
type designation for an administrative territorial entity
['Brera Academy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Brera_Academy property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q2031291
USER
How many administrative territories are the countries of origin of more number of literary works and releases than that administrative territory ?
(c(Q7725634)|c(Q2031291),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q38
relation P495
type Q7725634
type Q2031291
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P495 resource:Q38 . { VALUES ( ?q ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } . ?l rdf:type ?q } } } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q7725634 . ?h property:P495 ?k } UNION { ?h property:P495 ?k . ?k rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2031291 } } GROUP BY ?k } }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Italy
relation country of origin
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:country_of_origin resource:Italy . { VALUES ( ?q ) { ( ontology:release ) ( ontology:literary_work ) } . ?l rdf:type ?q } } } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:literary_work . ?h property:country_of_origin ?k } UNION { ?h property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:release } } GROUP BY ?k } }
[]
designation for an administrative territorial entity literary work release
SYSTEM
3
Q142 Q30 Q34
(c(Q7725634)|c(Q2031291),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q38
relation P495
type Q7725634
type Q2031291
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P495 resource:Q38 . { VALUES ( ?q ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } . ?l rdf:type ?q } } } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q7725634 . ?h property:P495 ?k } UNION { ?h property:P495 ?k . ?k rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2031291 } } GROUP BY ?k } }
France United States of America Sweden
3
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Italy
relation country of origin
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:country_of_origin resource:Italy . { VALUES ( ?q ) { ( ontology:release ) ( ontology:literary_work ) } . ?l rdf:type ?q } } } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:literary_work . ?h property:country_of_origin ?k } UNION { ?h property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:release } } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P137
Q3084961
USER
Which product lining was operated by Italy ?
(c(Q3084961),P137,Q38)
action filter_type
action find_reverse
entity Q38
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q38']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q38 . ?g rdf:type ontology:Q3084961 }
Italy
action filter_type
action find_reverse
entity Italy
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Italy']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Italy . ?g rdf:type ontology:product_lining }
[]
product lining
Q151384
SYSTEM
Typhoon
Q151384
(c(Q3084961),P137,Q38)
action filter_type
action find_reverse
entity Q38
relation P137
type Q3084961
[ANSWER] was operated by Italy
[{'concept': 'Q3084961'}, 'P137', 'Q38']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q38 . ?g rdf:type ontology:Q3084961 }
Typhoon
Typhoon was operated by Italy
Typhoon
action filter_type
action find_reverse
entity Italy
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Italy']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Italy . ?g rdf:type ontology:product_lining }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P437
Q82799
USER
Which name was distributed as Italy ?
(c(Q82799),P437,Q38)
action filter_type
action find_reverse
entity Q38
relation P437
type Q82799
[{'concept': 'Q82799'}, 'P437', 'Q38']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q82799 . ?f property:P437 resource:Q38 }
Italy
action filter_type
action find_reverse
entity Italy
relation distribution
type name
[{'concept': 'name'}, 'distribution', 'Italy']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:name . ?f property:distribution resource:Italy }
[]
name
Q19891513
SYSTEM
Fonseca
Q19891513
(c(Q82799),P437,Q38)
action filter_type
action find_reverse
entity Q38
relation P437
type Q82799
Italy [ANSWER] was distributed as Italy
[{'concept': 'Q82799'}, 'P437', 'Q38']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q82799 . ?f property:P437 resource:Q38 }
Fonseca
Italy Fonseca was distributed as Italy
Fonseca
action filter_type
action find_reverse
entity Italy
relation distribution
type name
[{'concept': 'name'}, 'distribution', 'Italy']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:name . ?f property:distribution resource:Italy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P159
Q4830453
USER
Which business enterprises have HQ at Italy ?
(c(Q4830453),P159,Q38)
action filter_type
action find_reverse
entity Q38
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q38']
SELECT DISTINCT ?b WHERE { ?b property:P159 resource:Q38 . ?b rdf:type ontology:Q4830453 }
Italy
action filter_type
action find_reverse
entity Italy
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Italy']
SELECT DISTINCT ?b WHERE { ?b property:headquarters_location resource:Italy . ?b rdf:type ontology:business_enterprise }
[]
business enterprise
Q3502873 Q355626 Q1331424
SYSTEM
Telepace, Adem, Elka
Q355626 Q3502873 Q20009912 Q1331424
(c(Q4830453),P159,Q38)
action filter_type
action find_reverse
entity Q38
relation P159
type Q4830453
[ANSWERS] have HQ at Italy
[{'concept': 'Q4830453'}, 'P159', 'Q38']
SELECT DISTINCT ?b WHERE { ?b property:P159 resource:Q38 . ?b rdf:type ontology:Q4830453 }
Adem Telepace Society of Trusts and Investments Elka
Telepace, Adem and Elka have HQ at Italy
Telepace Adem Elka
action filter_type
action find_reverse
entity Italy
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Italy']
SELECT DISTINCT ?b WHERE { ?b property:headquarters_location resource:Italy . ?b rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P1532
Q502895
USER
Who represent Italy ?
(c(Q502895),P1532,Q38)
action filter_type
action find_reverse
entity Q38
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q38']
SELECT DISTINCT ?t WHERE { ?t property:P1532 resource:Q38 . ?t rdf:type ontology:Q502895 }
Italy
action filter_type
action find_reverse
entity Italy
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Italy']
SELECT DISTINCT ?t WHERE { ?t property:country_for_sport resource:Italy . ?t rdf:type ontology:common_name }
[]
common name
Q3110622 Q1045901 Q25820084
SYSTEM
Gonzalo Garcia, Carter Trevisani, Yusneysi Santiusti
Q22703869 Q22246777 Q9345554 Q22137004 Q1045901 Q25336604 Q21034233 Q25820084 Q20016855 Q22137017 Q21600834 Q24287413 Q5041564 Q22988707 Q22137011 Q3878312 Q22949274 Q22136991 Q25201549 Q22137023 Q21855004 Q22137020 Q3110622 Q2026418 Q22911603 Q23036908
(c(Q502895),P1532,Q38)
action filter_type
action find_reverse
entity Q38
relation P1532
type Q502895
The [ANSWERS] represent Italy
[{'concept': 'Q502895'}, 'P1532', 'Q38']
SELECT DISTINCT ?t WHERE { ?t property:P1532 resource:Q38 . ?t rdf:type ontology:Q502895 }
Dries van Schalkwyk Elisa Rea Stefano Braga Johanelis Herrera Abreu Carter Trevisani Filippo Tortu Enrico Casella Yusneysi Santiusti Stefanie Horn Federica Putti Héctor De Marco Luca Pizzini Carlo Occhiena Giuseppe Leonardi Eugenio Meloni Norbert Bonvecchio Osama Zoghlami Virginia Troiani Livio Sciandra Alice Mangione Federica Curiazzi Martina Lorenzetto Gonzalo Garcia Dario Cerrato Sergio Chiesa Daniele Corsa
The Gonzalo Garcia, Carter Trevisani and Yusneysi Santiusti represent Italy
Gonzalo Garcia Carter Trevisani Yusneysi Santiusti
action filter_type
action find_reverse
entity Italy
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Italy']
SELECT DISTINCT ?t WHERE { ?t property:country_for_sport resource:Italy . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P532
Q2235308
USER
Which ship type has Italy as its registry harbour ?
(c(Q2235308),P532,Q38)
action filter_type
action find_reverse
entity Q38
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q38']
SELECT DISTINCT ?k WHERE { ?k property:P532 resource:Q38 . ?k rdf:type ontology:Q2235308 }
Italy
action filter_type
action find_reverse
entity Italy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Italy']
SELECT DISTINCT ?k WHERE { ?k property:port_of_registry resource:Italy . ?k rdf:type ontology:ship_type }
[]
ship type
Q190542
SYSTEM
Costa Concordia
Q190542
(c(Q2235308),P532,Q38)
action filter_type
action find_reverse
entity Q38
relation P532
type Q2235308
[ANSWER] has Italy as its registry harbour
[{'concept': 'Q2235308'}, 'P532', 'Q38']
SELECT DISTINCT ?k WHERE { ?k property:P532 resource:Q38 . ?k rdf:type ontology:Q2235308 }
Costa Concordia
Costa Concordia has Italy as its registry harbour
Costa Concordia
action filter_type
action find_reverse
entity Italy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Italy']
SELECT DISTINCT ?k WHERE { ?k property:port_of_registry resource:Italy . ?k rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19891513
P734
Q502895
USER
Which people have Fonseca as family name ?
(c(Q502895),P734,Q19891513)
action filter_type
action find_reverse
entity Q19891513
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q19891513']
SELECT DISTINCT ?e WHERE { ?e property:P734 resource:Q19891513 . ?e rdf:type ontology:Q502895 }
Fonseca
action filter_type
action find_reverse
entity Fonseca
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Fonseca']
SELECT DISTINCT ?e WHERE { ?e property:family_name resource:Fonseca . ?e rdf:type ontology:common_name }
[]
common name
Q362144 Q462842 Q4888873
SYSTEM
Francisco Fonseca, Daniel Fonseca, Gregorio Fonseca
Q5829666 Q5394172 Q505947 Q4888873 Q362144 Q462842 Q6099627
(c(Q502895),P734,Q19891513)
action filter_type
action find_reverse
entity Q19891513
relation P734
type Q502895
As [ANSWERS] have Fonseca as family name
[{'concept': 'Q502895'}, 'P734', 'Q19891513']
SELECT DISTINCT ?e WHERE { ?e property:P734 resource:Q19891513 . ?e rdf:type ontology:Q502895 }
Elizabeth Fonseca Corrales Ernesto Sanchez Carrillo Del Semen Adriana Fonseca Gregorio Fonseca Francisco Fonseca Daniel Fonseca Ramón Fonseca Mora
As Francisco Fonseca, Daniel Fonseca and Gregorio Fonseca have Fonseca as family name
Francisco Fonseca Daniel Fonseca Gregorio Fonseca
action filter_type
action find_reverse
entity Fonseca
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Fonseca']
SELECT DISTINCT ?e WHERE { ?e property:family_name resource:Fonseca . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q362144 Q462842 Q4888873
P54
Q1194951
USER
Which national sports teams are Francisco Fonseca, Daniel Fonseca and Gregorio Fonseca a member of ?
(Q362144,P54,c(Q1194951)) (Q462842,P54,c(Q1194951)) (Q4888873,P54,c(Q1194951))
action union
action filter_type
action find
entity Q362144
relation P54
type Q1194951
action filter_type
action find
entity Q462842
relation P54
type Q1194951
action filter_type
action find
entity Q4888873
relation P54
type Q1194951
['Q362144', 'P54', {'concept': 'Q1194951'}] ['Q462842', 'P54', {'concept': 'Q1194951'}] ['Q4888873', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { { resource:Q462842 property:P54 ?e . ?e rdf:type ontology:Q1194951 } UNION { resource:Q362144 property:P54 ?e . ?e rdf:type ontology:Q1194951 } }
Francisco Fonseca Daniel Fonseca Gregorio Fonseca
action union
action filter_type
action find
entity Francisco Fonseca
relation member of sports team
type national sports team
action filter_type
action find
entity Daniel Fonseca
relation member of sports team
type national sports team
action filter_type
action find
entity Gregorio Fonseca
relation member of sports team
type national sports team
['Francisco Fonseca', 'member of sports team', {'concept': 'national sports team'}] ['Daniel Fonseca', 'member of sports team', {'concept': 'national sports team'}] ['Gregorio Fonseca', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { { resource:Daniel_Fonseca property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team } UNION { resource:Francisco_Fonseca property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team } }
[]
national sports team
Q164089 Q134916 Q42267
SYSTEM
Mexico national football team, Uruguay national football team, Spain national football team
Q164089 Q134916 Q42267
(Q362144,P54,c(Q1194951)) (Q462842,P54,c(Q1194951)) (Q4888873,P54,c(Q1194951))
action union
action filter_type
action find
entity Q362144
relation P54
type Q1194951
action filter_type
action find
entity Q462842
relation P54
type Q1194951
action filter_type
action find
entity Q4888873
relation P54
type Q1194951
The [ANSWERS] are Francisco Fonseca, Daniel Fonseca and Gregorio Fonseca a member of
['Q362144', 'P54', {'concept': 'Q1194951'}] ['Q462842', 'P54', {'concept': 'Q1194951'}] ['Q4888873', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { { resource:Q462842 property:P54 ?e . ?e rdf:type ontology:Q1194951 } UNION { resource:Q362144 property:P54 ?e . ?e rdf:type ontology:Q1194951 } }
Mexico national football team Uruguay national football team Spain national football team
The Mexico national football team, Uruguay national football team and Spain national football team are Francisco Fonseca, Daniel Fonseca and Gregorio Fonseca a member of
Mexico national football team Uruguay national football team Spain national football team
action union
action filter_type
action find
entity Francisco Fonseca
relation member of sports team
type national sports team
action filter_type
action find
entity Daniel Fonseca
relation member of sports team
type national sports team
action filter_type
action find
entity Gregorio Fonseca
relation member of sports team
type national sports team
['Francisco Fonseca', 'member of sports team', {'concept': 'national sports team'}] ['Daniel Fonseca', 'member of sports team', {'concept': 'national sports team'}] ['Gregorio Fonseca', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { { resource:Daniel_Fonseca property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team } UNION { resource:Francisco_Fonseca property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team } }
[]