Simple Question (Direct)
Simple Question
Q3838649
P641
Q349
USER
What did Luciano Masiero participate in ?
(Q3838649,P641,c(Q349))
action filter_type
action find
entity Q3838649
relation P641
type Q349
['Q3838649', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3838649 property:P641 ?e . ?e rdf:type ontology:Q349 }
Luciano Masiero
action filter_type
action find
entity Luciano Masiero
relation sport
type sport
['Luciano Masiero', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Luciano_Masiero property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3838649,P641,c(Q349))
action filter_type
action find
entity Q3838649
relation P641
type Q349
Luciano Masiero participated in [ANSWER]
['Q3838649', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3838649 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Luciano Masiero participated in association football
association football
action filter_type
action find
entity Luciano Masiero
relation sport
type sport
['Luciano Masiero', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Luciano_Masiero property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3838649
P106
Q12737077
USER
What is the profession of Luciano Masiero ?
(Q3838649,P106,c(Q12737077))
action filter_type
action find
entity Q3838649
relation P106
type Q12737077
['Q3838649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3838649 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Luciano Masiero
action filter_type
action find
entity Luciano Masiero
relation occupation
type occupation
['Luciano Masiero', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Luciano_Masiero property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3838649,P106,c(Q12737077))
action filter_type
action find
entity Q3838649
relation P106
type Q12737077
The profession of Luciano Masiero is an [ANSWER]
['Q3838649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3838649 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
The profession of Luciano Masiero is an association football player
association football player
action filter_type
action find
entity Luciano Masiero
relation occupation
type occupation
['Luciano Masiero', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Luciano_Masiero property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19408631 Q3838649
P27 P17
Q15617994
USER
Which administrative territories are Luciano Masiero a civilian of or are Patriarchstraat a part of ?
OR((Q3838649,P27,c(Q15617994)), (Q19408631,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3838649
relation P27
action find
entity Q19408631
relation P17
type Q15617994
{'OR': [['Q3838649', 'P27', {'concept': 'Q15617994'}], ['Q19408631', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3838649 property:P27 ?q } UNION { resource:Q19408631 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Patriarchstraat Luciano Masiero
action filter_type
action union
action find
entity Luciano Masiero
relation country of citizenship
action find
entity Patriarchstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Luciano Masiero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Patriarchstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Luciano_Masiero property:country_of_citizenship ?q } UNION { resource:Patriarchstraat property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q55
SYSTEM
Italy, Netherlands
Q38 Q55
OR((Q3838649,P27,c(Q15617994)), (Q19408631,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3838649
relation P27
action find
entity Q19408631
relation P17
type Q15617994
[ANSWERS] are Luciano Masiero a civilian of or are Patriarchstraat a part of
{'OR': [['Q3838649', 'P27', {'concept': 'Q15617994'}], ['Q19408631', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3838649 property:P27 ?q } UNION { resource:Q19408631 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Italy Netherlands
Italy and Netherlands are Luciano Masiero a civilian of or are Patriarchstraat a part of
Italy Netherlands
action filter_type
action union
action find
entity Luciano Masiero
relation country of citizenship
action find
entity Patriarchstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Luciano Masiero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Patriarchstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Luciano_Masiero property:country_of_citizenship ?q } UNION { resource:Patriarchstraat property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3448059
P47
Q811979
USER
Which architectural structure does rue Galilée share a border with ?
(c(Q811979),P47,Q3448059)
action filter_type
action find
entity Q3448059
relation P47
type Q811979
[{'concept': 'Q811979'}, 'P47', 'Q3448059']
SELECT DISTINCT ?g WHERE { resource:Q3448059 property:P47 ?g . ?g rdf:type ontology:Q811979 }
rue Galilée
action filter_type
action find
entity rue Galilée
relation shares border with
type architectural structure
[{'concept': 'architectural structure'}, 'shares border with', 'rue Galilée']
SELECT DISTINCT ?g WHERE { resource:rue_Galilée property:shares_border_with ?g . ?g rdf:type ontology:architectural_structure }
[]
architectural structure
Q3390556
SYSTEM
place des États-Unis
Q3390556
(c(Q811979),P47,Q3448059)
action filter_type
action find
entity Q3448059
relation P47
type Q811979
Rue Galilée shares a border with une [ANSWER]
[{'concept': 'Q811979'}, 'P47', 'Q3448059']
SELECT DISTINCT ?g WHERE { resource:Q3448059 property:P47 ?g . ?g rdf:type ontology:Q811979 }
place des États-Unis
Rue Galilée shares a border with une place des États-Unis
place des États-Unis
action filter_type
action find
entity rue Galilée
relation shares border with
type architectural structure
[{'concept': 'architectural structure'}, 'shares border with', 'rue Galilée']
SELECT DISTINCT ?g WHERE { resource:rue_Galilée property:shares_border_with ?g . ?g rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3448059
P669
Q41176
USER
Which buildings are located on that road ?
(c(Q41176),P669,Q3390556)
action filter_type
action find_reverse
entity Q3448059
relation P669
type Q41176
[{'concept': 'Q41176'}, 'P669', 'Q3390556']
SELECT DISTINCT ?m WHERE { ?m property:P669 resource:Q3448059 . ?m rdf:type ontology:Q41176 }
rue Galilée
action filter_type
action find_reverse
entity rue Galilée
relation located on street
type building
[{'concept': 'building'}, 'located on street', 'place des États-Unis']
SELECT DISTINCT ?m WHERE { ?m property:located_on_street resource:rue_Galilée . ?m rdf:type ontology:building }
[]
building
Q25271762 Q3588067
SYSTEM
9, rue Galilée, Hotel Elysee Palace
Q25271762 Q3588067
(c(Q41176),P669,Q3390556)
action filter_type
action find_reverse
entity Q3448059
relation P669
type Q41176
[ANSWERS] are located on that road
[{'concept': 'Q41176'}, 'P669', 'Q3390556']
SELECT DISTINCT ?m WHERE { ?m property:P669 resource:Q3448059 . ?m rdf:type ontology:Q41176 }
9, rue Galilée Hotel Elysee Palace
9, rue Galilée and Hotel Elysee Palace are located on that road
9, rue Galilée Hotel Elysee Palace
action filter_type
action find_reverse
entity rue Galilée
relation located on street
type building
[{'concept': 'building'}, 'located on street', 'place des États-Unis']
SELECT DISTINCT ?m WHERE { ?m property:located_on_street resource:rue_Galilée . ?m rdf:type ontology:building }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3448059
P47
Q34442 Q79007
USER
How many roads or streets have an adjacent border with rue Galilée ?
(c(Q34442),P47,Q3448059) (c(Q79007),P47,Q3448059)
action count
action union
action filter_type
action find_reverse
entity Q3448059
relation P47
type Q34442
action filter_type
action find_reverse
entity Q3448059
relation P47
type Q79007
[{'concept': 'Q34442'}, 'P47', 'Q3448059'] [{'concept': 'Q79007'}, 'P47', 'Q3448059']
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q34442 ) ( ontology:Q79007 ) } }
rue Galilée
action count
action union
action filter_type
action find_reverse
entity rue Galilée
relation shares border with
type road
action filter_type
action find_reverse
entity rue Galilée
relation shares border with
type street
[{'concept': 'road'}, 'shares border with', 'rue Galilée'] [{'concept': 'street'}, 'shares border with', 'rue Galilée']
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:road ) ( ontology:street ) } }
[]
road street
SYSTEM
9
Q2873902 Q550 Q3448666 Q3447860 Q2873767 Q790578 Q3451188 Q3450288 Q3448475
(c(Q34442),P47,Q3448059) (c(Q79007),P47,Q3448059)
action count
action union
action filter_type
action find_reverse
entity Q3448059
relation P47
type Q34442
action filter_type
action find_reverse
entity Q3448059
relation P47
type Q79007
[ANSWER]
[{'concept': 'Q34442'}, 'P47', 'Q3448059'] [{'concept': 'Q79007'}, 'P47', 'Q3448059']
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q34442 ) ( ontology:Q79007 ) } }
avenue d'Iéna avenue des Champs-Élysées rue Kepler rue Euler avenue Marceau avenue Kléber rue de l'Amiral-Hamelin rue Vernet rue Jean-Giraudoux
9
action count
action union
action filter_type
action find_reverse
entity rue Galilée
relation shares border with
type road
action filter_type
action find_reverse
entity rue Galilée
relation shares border with
type street
[{'concept': 'road'}, 'shares border with', 'rue Galilée'] [{'concept': 'street'}, 'shares border with', 'rue Galilée']
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:road ) ( ontology:street ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3448059 Q3126387
P47
Q34442
USER
How many roads are adjacent to rue Galilée or hameau Michel-Ange ?
(Q3448059,P47,c(Q34442)) (Q3126387,P47,c(Q34442))
action count
action union
action filter_type
action find
entity Q3448059
relation P47
type Q34442
action filter_type
action find
entity Q3126387
relation P47
type Q34442
['Q3448059', 'P47', {'concept': 'Q34442'}] ['Q3126387', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?n property:P47 ?f . VALUES ( ?n ) { ( resource:Q3448059 ) ( resource:Q3126387 ) } }
rue Galilée hameau Michel-Ange
action count
action union
action filter_type
action find
entity rue Galilée
relation shares border with
type road
action filter_type
action find
entity hameau Michel-Ange
relation shares border with
type road
['rue Galilée', 'shares border with', {'concept': 'road'}] ['hameau Michel-Ange', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?n property:shares_border_with ?f . VALUES ( ?n ) { ( resource:rue_Galilée ) ( resource:hameau_Michel-Ange ) } }
[]
road
SYSTEM
6
Q3448666 Q3447860 Q3449373 Q3451188 Q3450288 Q3448475
(Q3448059,P47,c(Q34442)) (Q3126387,P47,c(Q34442))
action count
action union
action filter_type
action find
entity Q3448059
relation P47
type Q34442
action filter_type
action find
entity Q3126387
relation P47
type Q34442
[ANSWER]
['Q3448059', 'P47', {'concept': 'Q34442'}] ['Q3126387', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?n property:P47 ?f . VALUES ( ?n ) { ( resource:Q3448059 ) ( resource:Q3126387 ) } }
rue Kepler rue Euler rue Parent-de-Rosan rue de l'Amiral-Hamelin rue Vernet rue Jean-Giraudoux
6
action count
action union
action filter_type
action find
entity rue Galilée
relation shares border with
type road
action filter_type
action find
entity hameau Michel-Ange
relation shares border with
type road
['rue Galilée', 'shares border with', {'concept': 'road'}] ['hameau Michel-Ange', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?n property:shares_border_with ?f . VALUES ( ?n ) { ( resource:rue_Galilée ) ( resource:hameau_Michel-Ange ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3448059
P138
Q502895
USER
Which person is the origin of that road ?
action filter_type
action find
entity Q3448059
relation P138
type Q502895
SELECT DISTINCT ?p WHERE { resource:Q3448059 property:P138 ?p . ?p rdf:type ontology:Q502895 }
rue Galilée
action filter_type
action find
entity rue Galilée
relation named after
type common name
SELECT DISTINCT ?p WHERE { resource:rue_Galilée property:named_after ?p . ?p rdf:type ontology:common_name }
[]
common name
Q307
SYSTEM
Galileo Galilei
Q307
action filter_type
action find
entity Q3448059
relation P138
type Q502895
[ANSWER] is the origin of that road
SELECT DISTINCT ?p WHERE { resource:Q3448059 property:P138 ?p . ?p rdf:type ontology:Q502895 }
Galileo Galilei
Galileo Galilei is the origin of that road
Galileo Galilei
action filter_type
action find
entity rue Galilée
relation named after
type common name
SELECT DISTINCT ?p WHERE { resource:rue_Galilée property:named_after ?p . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2235514
P180
Q41176 Q15709879 Q3305213
USER
Which buildings are demonstrated in around the same number of artwork series or paintings as Sentry box ?
(c(Q15709879)|c(Q3305213),P180,c(Q41176))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q41176
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q2235514
relation P180
type Q15709879
type Q3305213
[[{'concept': 'Q15709879'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P180 resource:Q2235514 . { { ?f rdf:type ontology:Q3305213 } UNION { ?f rdf:type ontology:Q15709879 } } } } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?s WHERE { VALUES ( ?y ) { ( ontology:Q3305213 ) ( ontology:Q15709879 ) } . ?z rdf:type ?y } GROUP BY ?s } }
Sentry box
action approx
action union
action find_reverse_tuple_counts
relation depicts
type building
type artwork series
action find_reverse_tuple_counts
relation depicts
type building
type painting
action count
action filter_multi_types
action find_reverse
entity Sentry box
relation depicts
type artwork series
type painting
[[{'concept': 'artwork series'}, {'concept': 'painting'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:depicts resource:Sentry_box . { { ?f rdf:type ontology:painting } UNION { ?f rdf:type ontology:artwork_series } } } } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?s WHERE { VALUES ( ?y ) { ( ontology:painting ) ( ontology:artwork_series ) } . ?z rdf:type ?y } GROUP BY ?s } }
[]
building artwork series painting
Q1075988 Q9188 Q717105
SYSTEM
Louvre Palace, Empire State Building, Arvfurstens palats
Q131295 Q2956656 Q62408 Q717105 Q15979526 Q1526555 Q210999 Q274393 Q15199454 Q18378847 Q559698 Q17742736 Q756098 Q750444 Q151030 Q979494 Q683343 Q11579153 Q165044 Q133215 Q2854543 Q1075988 Q940733 Q961082 Q17743002 Q123256 Q5043203 Q12020836 Q867143 Q2080521 Q2050495 Q329852 Q13126550 Q1244860 Q7162062 Q57821 Q2235514 Q234364 Q17743977 Q170495 Q1424583 Q5137179 Q957551 Q1072510 Q482852 Q543654 Q747484 Q13164546 Q15979336 Q456817 Q1267721 Q855747 Q27686 Q11303 Q477157 Q131263 Q212198 Q859247 Q3377026 Q9188 Q939883 Q121635 Q1439379 Q15979201 Q28077 Q1265593 Q3395336
(c(Q15709879)|c(Q3305213),P180,c(Q41176))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q41176
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q2235514
relation P180
type Q15709879
type Q3305213
[ANSWERS] are demonstrated in around the same number of artwork series or paintings as Sentry box
[[{'concept': 'Q15709879'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P180 resource:Q2235514 . { { ?f rdf:type ontology:Q3305213 } UNION { ?f rdf:type ontology:Q15709879 } } } } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?s WHERE { VALUES ( ?y ) { ( ontology:Q3305213 ) ( ontology:Q15709879 ) } . ?z rdf:type ?y } GROUP BY ?s } }
brothel Notre-Dame-du-Mûrier Palace of Westminster Arvfurstens palats St. Govan's Chapel temple of Janus psychiatric hospital bakery Bishop's Palace Glangwili General Hospital Rialto Theatre St. David's Cathedral Hall (formerly Chapel Of St.mary's College) & Attached Cloister Ruins,the Cathe Royal Castle Stockholm Palace Moulin Rouge Waag, Haarlem chicken coop Towatari Shrine greenhouse casino Catherine Palace Louvre Palace Christiansborg Palace gazebo Chapel And Remains Of Nave Of Former Friary At Christ College Palais du Trocadéro Carmarthen Public Rooms timber framed house Roman temple market hall De Duif Luxembourg Palace Tabernacle Chapel general store Pen-y-Fal Hospital fortification Sentry box Tuileries Palace Capel Gwynfil Topkapı Palace sepulchral chapel Clytha Castle Ca' Foscari Chapultepec Castle Changgyeonggung city hall Ancient theatre of Taormina butcher shop St Davids Bishops Palace Amer Fort Palazzo Ducale Egyptian temple hotel skyscraper Changdeokgung barracks pub lazaretto Hôtel du Petit-Bourbon Empire State Building Pitié-Salpêtrière Hospital Théâtre du Gymnase Marie Bell Tintern Abbey North Wales Hospital Turkish bath Ca' Vendramin Calergi Gwrych Castle
Louvre Palace, Empire State Building and Arvfurstens palats are demonstrated in around the same number of artwork series or paintings as Sentry box
Louvre Palace Empire State Building Arvfurstens palats
action approx
action union
action find_reverse_tuple_counts
relation depicts
type building
type artwork series
action find_reverse_tuple_counts
relation depicts
type building
type painting
action count
action filter_multi_types
action find_reverse
entity Sentry box
relation depicts
type artwork series
type painting
[[{'concept': 'artwork series'}, {'concept': 'painting'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:depicts resource:Sentry_box . { { ?f rdf:type ontology:painting } UNION { ?f rdf:type ontology:artwork_series } } } } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?s WHERE { VALUES ( ?y ) { ( ontology:painting ) ( ontology:artwork_series ) } . ?z rdf:type ?y } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q747484
P180
Q41176 Q15709879 Q3305213
USER
And also tell me about Ancient theatre of Taormina?
(c(Q15709879)|c(Q3305213),P180,c(Q41176))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q41176
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q747484
relation P180
type Q15709879
type Q3305213
[[{'concept': 'Q15709879'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P180 resource:Q747484 . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15709879 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?g = ?t ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?a WHERE { { ?n property:P180 ?a . ?n rdf:type ontology:Q15709879 . ?a rdf:type ontology:Q41176 } UNION { ?n property:P180 ?a . ?n rdf:type ontology:Q3305213 . ?a rdf:type ontology:Q41176 } } GROUP BY ?a } }
Ancient theatre of Taormina
action approx
action union
action find_reverse_tuple_counts
relation depicts
type building
type artwork series
action find_reverse_tuple_counts
relation depicts
type building
type painting
action count
action filter_multi_types
action find_reverse
entity Ancient theatre of Taormina
relation depicts
type artwork series
type painting
[[{'concept': 'artwork series'}, {'concept': 'painting'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:depicts resource:Ancient_theatre_of_Taormina . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:artwork_series ) ( ontology:painting ) } } } } . FILTER ( ?g = ?t ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?a WHERE { { ?n property:depicts ?a . ?n rdf:type ontology:artwork_series . ?a rdf:type ontology:building } UNION { ?n property:depicts ?a . ?n rdf:type ontology:painting . ?a rdf:type ontology:building } } GROUP BY ?a } }
[]
building artwork series painting
Q1075988 Q9188 Q717105
SYSTEM
Louvre Palace, Empire State Building, Arvfurstens palats
Q131295 Q2956656 Q62408 Q717105 Q15979526 Q1526555 Q210999 Q274393 Q15199454 Q18378847 Q559698 Q17742736 Q756098 Q750444 Q151030 Q979494 Q683343 Q11579153 Q165044 Q133215 Q2854543 Q1075988 Q940733 Q961082 Q17743002 Q123256 Q5043203 Q12020836 Q867143 Q2080521 Q2050495 Q329852 Q13126550 Q1244860 Q7162062 Q57821 Q2235514 Q234364 Q17743977 Q170495 Q1424583 Q5137179 Q957551 Q1072510 Q482852 Q543654 Q747484 Q13164546 Q15979336 Q456817 Q1267721 Q855747 Q27686 Q11303 Q477157 Q131263 Q212198 Q859247 Q3377026 Q9188 Q939883 Q121635 Q1439379 Q15979201 Q28077 Q1265593 Q3395336
(c(Q15709879)|c(Q3305213),P180,c(Q41176))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q41176
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q747484
relation P180
type Q15709879
type Q3305213
[ANSWERS]
[[{'concept': 'Q15709879'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P180 resource:Q747484 . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15709879 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?g = ?t ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?a WHERE { { ?n property:P180 ?a . ?n rdf:type ontology:Q15709879 . ?a rdf:type ontology:Q41176 } UNION { ?n property:P180 ?a . ?n rdf:type ontology:Q3305213 . ?a rdf:type ontology:Q41176 } } GROUP BY ?a } }
brothel Notre-Dame-du-Mûrier Palace of Westminster Arvfurstens palats St. Govan's Chapel temple of Janus psychiatric hospital bakery Bishop's Palace Glangwili General Hospital Rialto Theatre St. David's Cathedral Hall (formerly Chapel Of St.mary's College) & Attached Cloister Ruins,the Cathe Royal Castle Stockholm Palace Moulin Rouge Waag, Haarlem chicken coop Towatari Shrine greenhouse casino Catherine Palace Louvre Palace Christiansborg Palace gazebo Chapel And Remains Of Nave Of Former Friary At Christ College Palais du Trocadéro Carmarthen Public Rooms timber framed house Roman temple market hall De Duif Luxembourg Palace Tabernacle Chapel general store Pen-y-Fal Hospital fortification Sentry box Tuileries Palace Capel Gwynfil Topkapı Palace sepulchral chapel Clytha Castle Ca' Foscari Chapultepec Castle Changgyeonggung city hall Ancient theatre of Taormina butcher shop St Davids Bishops Palace Amer Fort Palazzo Ducale Egyptian temple hotel skyscraper Changdeokgung barracks pub lazaretto Hôtel du Petit-Bourbon Empire State Building Pitié-Salpêtrière Hospital Théâtre du Gymnase Marie Bell Tintern Abbey North Wales Hospital Turkish bath Ca' Vendramin Calergi Gwrych Castle
Louvre Palace Empire State Building Arvfurstens palats
action approx
action union
action find_reverse_tuple_counts
relation depicts
type building
type artwork series
action find_reverse_tuple_counts
relation depicts
type building
type painting
action count
action filter_multi_types
action find_reverse
entity Ancient theatre of Taormina
relation depicts
type artwork series
type painting
[[{'concept': 'artwork series'}, {'concept': 'painting'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:depicts resource:Ancient_theatre_of_Taormina . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:artwork_series ) ( ontology:painting ) } } } } . FILTER ( ?g = ?t ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?a WHERE { { ?n property:depicts ?a . ?n rdf:type ontology:artwork_series . ?a rdf:type ontology:building } UNION { ?n property:depicts ?a . ?n rdf:type ontology:painting . ?a rdf:type ontology:building } } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1075988 Q9188 Q717105
P17
Q15617994
USER
Which administrative territories are Louvre Palace, Empire State Building and Arvfurstens palats a part of ?
(Q1075988,P17,c(Q15617994)) (Q9188,P17,c(Q15617994)) (Q717105,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1075988
relation P17
type Q15617994
action filter_type
action find
entity Q9188
relation P17
type Q15617994
action filter_type
action find
entity Q717105
relation P17
type Q15617994
['Q1075988', 'P17', {'concept': 'Q15617994'}] ['Q9188', 'P17', {'concept': 'Q15617994'}] ['Q717105', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?i ) { ( resource:Q9188 ) ( resource:Q1075988 ) } . ?i property:P17 ?c }
Louvre Palace Empire State Building Arvfurstens palats
action union
action filter_type
action find
entity Louvre Palace
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Empire State Building
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Arvfurstens palats
relation country
type designation for an administrative territorial entity
['Louvre Palace', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Empire State Building', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Arvfurstens palats', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?i ) { ( resource:Empire_State_Building ) ( resource:Louvre_Palace ) } . ?i property:country ?c }
[]
designation for an administrative territorial entity
Q142 Q30 Q34
SYSTEM
France, United States of America, Sweden
Q142 Q30 Q34
(Q1075988,P17,c(Q15617994)) (Q9188,P17,c(Q15617994)) (Q717105,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1075988
relation P17
type Q15617994
action filter_type
action find
entity Q9188
relation P17
type Q15617994
action filter_type
action find
entity Q717105
relation P17
type Q15617994
Louvre Palace , Empire State Building and Arvfurstens palats a part of are in [ANSWERS]
['Q1075988', 'P17', {'concept': 'Q15617994'}] ['Q9188', 'P17', {'concept': 'Q15617994'}] ['Q717105', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?i ) { ( resource:Q9188 ) ( resource:Q1075988 ) } . ?i property:P17 ?c }
France United States of America Sweden
Louvre Palace , Empire State Building and Arvfurstens palats a part of are in France, United States of America and Sweden
France United States of America Sweden
action union
action filter_type
action find
entity Louvre Palace
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Empire State Building
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Arvfurstens palats
relation country
type designation for an administrative territorial entity
['Louvre Palace', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Empire State Building', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Arvfurstens palats', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?i ) { ( resource:Empire_State_Building ) ( resource:Louvre_Palace ) } . ?i property:country ?c }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q30 Q34
P47
Q15617994
USER
Which administrative territories share border with France, United States of America and Sweden ?
(c(Q15617994),P47,Q142) (c(Q15617994),P47,Q30) (c(Q15617994),P47,Q34)
action union
action filter_type
action find_reverse
entity Q142
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q34
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q15617994'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q34']
SELECT DISTINCT ?v WHERE { { ?v property:P47 resource:Q142 . ?v rdf:type ontology:Q15617994 } UNION { ?v property:P47 resource:Q34 . ?v rdf:type ontology:Q15617994 } }
France United States of America Sweden
action union
action filter_type
action find_reverse
entity France
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sweden']
SELECT DISTINCT ?v WHERE { { ?v property:shares_border_with resource:France . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:shares_border_with resource:Sweden . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q730 Q228 Q32 Q29999 Q145 Q155 Q31 Q39 Q38 Q29 Q717 Q241 Q159 Q717 Q96 Q804 Q33 Q20
(c(Q15617994),P47,Q142) (c(Q15617994),P47,Q30) (c(Q15617994),P47,Q34)
action union
action filter_type
action find_reverse
entity Q142
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q34
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P47
type Q15617994
[ANSWERS] share border with France, United States of America and Sweden
[{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q15617994'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q34']
SELECT DISTINCT ?v WHERE { { ?v property:P47 resource:Q142 . ?v rdf:type ontology:Q15617994 } UNION { ?v property:P47 resource:Q34 . ?v rdf:type ontology:Q15617994 } }
Suriname Andorra Luxembourg Kingdom of the Netherlands United Kingdom Brazil Belgium Switzerland Italy Spain Venezuela Cuba Russia Venezuela Mexico Panama Finland Norway
Italy, Brazil and Russia share border with France, United States of America and Sweden
Italy Brazil Russia
action union
action filter_type
action find_reverse
entity France
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sweden']
SELECT DISTINCT ?v WHERE { { ?v property:shares_border_with resource:France . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:shares_border_with resource:Sweden . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q159
P530
Q15617994
USER
Which administrative territories have ambassadorial relations with Italy, Brazil and Russia ?
(c(Q15617994),P530,Q38) (c(Q15617994),P530,Q155) (c(Q15617994),P530,Q159)
action union
action filter_type
action find_reverse
entity Q38
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q155
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q159
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q38'] [{'concept': 'Q15617994'}, 'P530', 'Q155'] [{'concept': 'Q15617994'}, 'P530', 'Q159']
SELECT DISTINCT ?y WHERE { ?y property:P530 ?g . VALUES ( ?g ) { ( resource:Q38 ) ( resource:Q155 ) } }
Italy Brazil Russia
action union
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Russia']
SELECT DISTINCT ?y WHERE { ?y property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Italy ) ( resource:Brazil ) } }
[]
designation for an administrative territorial entity
Q38 Q38 Q155
SYSTEM
Brazil for 3rd, Italy for 1st, 2nd
Q869 Q222 Q796 Q794 Q45 Q889 Q884 Q881 Q948 Q928 Q739 Q347 Q1016 Q236 Q230 Q238 Q227 Q225 Q224 Q221 Q229 Q228 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q419 Q414 Q403 Q33 Q32 Q30 Q37 Q34 Q252 Q258 Q399 Q423 Q142 Q145 Q148 Q159 Q155 Q114 Q668 Q184 Q31 Q36 Q39 Q191 Q20 Q27 Q28 Q29 Q17 Q79 Q77 Q298 Q55 Q43 Q41 Q96 Q189 Q805 Q801 Q233 Q822 Q733 Q843 Q1045 Q790 Q796 Q794 Q983 Q45 Q962 Q750 Q958 Q917 Q916 Q739 Q734 Q736 Q574 Q1029 Q1033 Q1016 Q1011 Q230 Q212 Q213 Q419 Q414 Q403 Q30 Q252 Q258 Q241 Q244 Q399 Q423 Q142 Q145 Q148 Q159 Q953 Q668 Q184 Q36 Q38 Q29 Q17 Q717 Q79 Q77 Q298 Q43 Q41 Q96 Q801 Q800 Q822 Q733 Q843 Q1049 Q783 Q884 Q881 Q948 Q711 Q1011 Q212 Q414 Q403 Q30 Q252 Q241 Q142 Q148 Q155 Q953 Q668 Q929 Q184 Q38 Q27 Q17 Q717 Q79 Q43 Q805 Q801 Q858
(c(Q15617994),P530,Q38) (c(Q15617994),P530,Q155) (c(Q15617994),P530,Q159)
action union
action filter_type
action find_reverse
entity Q38
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q155
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q159
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', 'Q38'] [{'concept': 'Q15617994'}, 'P530', 'Q155'] [{'concept': 'Q15617994'}, 'P530', 'Q159']
SELECT DISTINCT ?y WHERE { ?y property:P530 ?g . VALUES ( ?g ) { ( resource:Q38 ) ( resource:Q155 ) } }
Thailand Albania Iraq Iran Portugal Afghanistan South Korea Vietnam Tunisia Philippines Colombia Liechtenstein Libya Montenegro Georgia San Marino Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Cyprus Andorra Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Peru Argentina Serbia Finland Luxembourg United States of America Lithuania Sweden Indonesia South Africa Armenia North Korea France United Kingdom People's Republic of China Russia Brazil Kenya India Belarus Belgium Poland Switzerland Estonia Norway Ireland Hungary Spain Japan Egypt Uruguay Chile Netherlands Turkey Greece Mexico Iceland Yemen Israel Malta Lebanon Paraguay Pakistan Somalia Haiti Iraq Iran Equatorial Guinea Portugal Benin Bolivia South Sudan Bhutan Angola Colombia Guyana Ecuador East Timor Mozambique Nigeria Libya Cape Verde Georgia Ukraine Czech Republic Peru Argentina Serbia United States of America Indonesia South Africa Cuba Barbados Armenia North Korea France United Kingdom People's Republic of China Russia Zambia India Belarus Poland Italy Spain Japan Venezuela Egypt Uruguay Chile Turkey Greece Mexico Israel Costa Rica Lebanon Paraguay Pakistan Sudan Honduras South Korea Vietnam Tunisia Mongolia Cape Verde Ukraine Argentina Serbia United States of America Indonesia Cuba France People's Republic of China Brazil Zambia India Central African Republic Belarus Italy Ireland Japan Venezuela Egypt Turkey Yemen Israel Syria
Italy, Italy and Brazil have ambassadorial relations with Italy, Brazil and Russia
Italy Italy Brazil
action union
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Russia']
SELECT DISTINCT ?y WHERE { ?y property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Italy ) ( resource:Brazil ) } }
[]